Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

conditional format cells by date

0 views
Skip to first unread message

Simon

unread,
May 4, 2010, 11:27:02 AM5/4/10
to
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.

Pete_UK

unread,
May 4, 2010, 12:06:16 PM5/4/10
to
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

Luke M

unread,
May 4, 2010, 12:13:27 PM5/4/10
to
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"

--
Best Regards,

Luke M
"Simon" <Si...@discussions.microsoft.com> wrote in message
news:C32C1451-522C-4E23...@microsoft.com...

0 new messages