gisvpn
asked on
Conditional Formatting - Date Based
Hi,
I am looking to set up a conditional format which sets the background of cells in column H to yellow if the date is within the next 5 days (or today) and red if the date has past?
I cannot work out the formula to use - would it be something similar to H:H<=[Today]-5 for amber for example?
I am looking to set up a conditional format which sets the background of cells in column H to yellow if the date is within the next 5 days (or today) and red if the date has past?
I cannot work out the formula to use - would it be something similar to H:H<=[Today]-5 for amber for example?
does it have to be work day or any day?
Try this for the yellow cells
=OR(C1=TODAY(),C1>TODAY()- 5)
=OR(C1=TODAY(),C1>TODAY()-
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Change =AND(H2<>"",TODAY()>=H2+5) to =AND(H2<>"",TODAY()>=H2-5) - and worked perfect; thanks!
You're welcome. Glad it worked after you tweaked it. :)