Formula for conditioning a cell

W

Wiglog

If I am wanting to take a date in Cell B3" (20081231) and make it
automatically change to red if it is past that date, what formula or process
would I have to do?

If that same date is within 30 days out, would it be the same process?
 
B

Bernard Liengme

Use Format | Conditional Formatting
Formula Is =B3<TODAY() then pick format

Formula Is =TODAY() - B3 >30 then pick another format

best wishes
 
J

Jim May

If your B3 cell is a number then to convert to a true date you will have to
enter(somewhere):

=DATE(LEFT(B3,4),MID(B3,5,2),RIGHT(B3,2))

Then you can work on the resulting cell (above) which is now a true date.
 
Top