Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Conditional Formatting - the date is between date A and date B

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nikki - 13 Sep 2007 05:10 GMT
Hi,

I have a spreadsheet that is for tracking work.  I would like to have
conditional formatting so that if the date in column E is between todays date
and 4 weeks away then make it blue, if it is a date that is after 4 weeks
away then make it yellow but if it is in the past make it red.

Can this be done with conditional formatting or does it need vba?  Also it
would be nice if the whole row changes colour even if just the condition is
on the date which is in column E - but if that can't be done then just the
cell is fine.

Thanks
Peo Sjoblom - 13 Sep 2007 05:37 GMT
Assume the dates start in E2, select all dates with E2 as the active date
use formula is

=E2<TODAY()

click format button and select red font or pattern, click OK, now click add
and use

=E2>TODAY()+28

click format button and select yellow font or pattern

click add

and use

=AND(E2>+TODAY(),E2<=TODAY()+28)

repeat and select blue font/pattern then click OK twice

You might want to change the boundaries if you want exclude/include a date
or so

(meaning changing >= to > etc)

Signature

Regards,

Peo Sjoblom

> Hi,
>
[quoted text clipped - 11 lines]
>
> Thanks
Nikki - 17 Sep 2007 02:22 GMT
Hi,

I don't quite understand sorry.  Which parts am I supposed to highligt?  I
had a list of dates with the first date in E2 and the last date in E10.  I
highlighted the list and then did the conditioning formatting.  Nothing has
changed tho so I must have done something wrong.

Any ideas?

Nikki

> Assume the dates start in E2, select all dates with E2 as the active date
> use formula is
[quoted text clipped - 36 lines]
> >
> > Thanks

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.