Conditional Formating For a Date

D

Dan

I would like to set a conditional format for a date, day-month-2 digit year.
If I enter any give date in a cell, and once that date exceeds 2 yrs, then I
would like the text or the cell to be highted to a color.
Thanks
 
S

Sheeloo

Use the following formula in FORMULA is
=(A1-Today())>730

assuming your dates are in Col A
 
D

Dan

Will this still work even if they are not todays dates. Some of these dates
go back a yaer or so.
 
S

Sheeloo

Yes. Today() gives you the today's date and then compares it with the date in
A1

NOTE: I gave you the wrong direction.
Pl. use
=(Today() - A1)>730

Use 731 Iinstead of 730) if you want to take care of leap year...
 

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

Top