I have a medical cache data set that includes expiration dates for some items, other items have “none”. I used a nested IFstatement to check that a non-blank entry existed (so there is no ambiguity of whether it is missing or not) and then used a named variable LeadTime (integer in days) to calculate an expiration flag for ordering replacements in a timely manner. I now would like to suppress the #Value error that occurs when the value is none so I can just extend the equation throughout the column for the flag. I currently only use the equation on rows that have vaiid dates because of this error message. The equation I am using is:
=IF(E7,(IF(E7<TODAY()+LeadTime,"T","")),"") which works perfectly as long as the referenced cell has a valid date. I will need to pass this workbook on to a less experienced user for maintenance, so I was trying to keep everything as simple as possible.
Thanks for any help,
Gloria
-
IF F’n Date logic (Win2000&up; MacOSX)
- This topic has 8 replies, 3 voices, and was last updated 20 years, 4 months ago.
AuthorViewing 3 reply threadsAuthorViewing 3 reply threads