If formula current/expired/blank

  • Thread starter Thread starter Warren Jo
  • Start date Start date
W

Warren Jo

I'm using this formula to return a 'current' or 'expired' value depending on
the date in column B (expiry after one year). Because I want to autofill
rows that don't yet have data, I require some extra criteria so that no value
is returned if B is still blank. Comprehend??

=IF((TODAY()-B4>365), "EXPIRED", "CURRENT")

It may be a bit clumsy, so comments on this base formula would also be
appreciated.
 
I'm using this formula to return a 'current' or 'expired' value dependingon
the date in column B (expiry after one year).  Because I want to autofill
rows that don't yet have data, I require some extra criteria so that no value
is returned if B is still blank.  Comprehend??

=IF((TODAY()-B4>365), "EXPIRED", "CURRENT")

Maybe something like this would help:
=IF(B4="","",IF((TODAY()-B4>365), "EXPIRED", "CURRENT"))
 
Hi Warren,

Try the following.

=IF(B4="","",IF((TODAY()-B4>365), "EXPIRED", "CURRENT"))
 
I'm using this formula to return a 'current' or 'expired' value depending on
the date in column B (expiry after one year). Because I want to autofill
rows that don't yet have data, I require some extra criteria so that no value
is returned if B is still blank. Comprehend??

=IF((TODAY()-B4>365), "EXPIRED", "CURRENT")

It may be a bit clumsy, so comments on this base formula would also be
appreciated.

Hi. Another option:

=IF(ISBLANK(B4),"",IF(EDATE(B4,12) > TODAY(),"Expired","Current"))


= = = = = = =
HTH :>)
Dana DeLouis
 
Back
Top