conditional format cells by date

S

Simon

Dear All,

I am looking for some help formatting cells with date entries using excel
2003.
I have tried using 'formula is' and '=(A1-TODAY())<300', and have seen
variations on this theme in other threads, but don't seem to be able to get a
formula to work with the following;

Date entered into cell (not necessarily 'todays' date). Cell turns yellow
when 300 days have elapsed from the date entered, cell turns red when 365
days have elapsed from the date entered

(I have the cells formatted for date)

Grateful for any help. Thanks.
 
P

Pete_UK

You need to set up 2 conditions. First condition (default) has to be:

=(A1-TODAY())<365

and format Red. Then click Add to set up the second condition:

=(A1-TODAY())<300

and format Yellow.

The first condition has priority over the 2nd (and 3rd). This assumes
that A1 is the cell selected.

Hope this helps.

Pete
 
L

Luke M

You were very close...
First condition (red format)
=TODAY()-A1>365

Second condtion (yellow format)
=TODAY()-A1>300

Think of this as being "The distance between today and the date in A1 is
more than x days"
 

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