I am tracking expiration dates on medications. I set up an Expiration flag column using a LeadTime variable and this equation: =IF(ISNUMBER(H22),(IF(H22<TODAY()+LeadTime,"T","")),"") that works fine. Now I have a complication of having eight identical packs with possibility of differing expiration dates. I don't want to add 7 columns for the Expiration flags, so I thought of using conditional formatting. I guess I must be messing up the date arithmetic. I tried to replace the LeadTime variable with 3 conditions using numeric values … ExpDate<60 days, between 60 and 120 and between 120 and 180 days out. This is not quite as flexible as a variable, but would give good visibility if I could color code the date differently for these 3 conditions. I tried both Cell value and Formula, but seem to go in circles with the Cell Value returning only the first condition, regardless of whether it is true or not, and error messages on all the formulas I entered when using Formula is. Any thoughts would be appreciated!
Thanks
-
Conditional Format – Dates (Exel 2000-2004)
- This topic has 4 replies, 3 voices, and was last updated 20 years ago.
AuthorViewing 0 reply threadsAuthorViewing 0 reply threads