IF formula to flag exp dates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I use the IF formula to display "DUE" 30 days prior to a date in excel?
 
Assuming that cell A1 contains a date, the following formula in B1 will place
"DUE" in B1 if the A1 date is exactly 30 days from today's date.

=IF(A1-TODAY()=30,"DUE","")

You might consider changing the formula to -

=IF(A1-TODAY()<=30,"Due","")

i.e. less than or equal to 30 days.

HTH
 
THANK YOU SO MUCH! I was inputting the formula incorrectly. IT WORKS!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top