Formula for conditioning a cell

  • Thread starter Thread starter Wiglog
  • Start date Start date
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?
 
Use Format | Conditional Formatting
Formula Is =B3<TODAY() then pick format

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

best wishes
 
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.
 

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