formating a cell with a conditional if statement

R

Rich

I'd like to write an if statement that would compare a
date to todays's date and if the date is before today's
date color the cell red and if after today's date color
the cell green. Any suggestions on how to write the if
statement?
 
H

Henrik Wendel

Create a defined name (Ínsert/Name/Define)

Let it refere to a formula like this Today() name it ThisDay

Then create a conditional formating saying

Cell value / Less then / =Thisday

Wendel
 

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