Am using the following formula to show highlight expired records (Over certain date rance), & otherwise show how many days are left to expiry
=IF(DATEDIF(TODAY(),M15,"d")<=0,"Expired",(DATEDIF(TODAY(),M15,"d")))
Colum M contains the expiry date. If =DATEDIF returns less then or equal to 0 days, I want the cell to show "Expired" & otherwise show how many days are left to expiry
It's worked fine for records which haven't yet expired but returns #NUM! for all expired records instead of "Expired"
What have I done wrong???
Bookmarks