Keep the cell the same color

Closed
whitedevil Posts 2 Registration date Wednesday 17 March 2010 Status Member Last seen 17 March 2010 - 17 Mar 2010 à 16:25
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 17 Mar 2010 à 16:55
Hello,I am using excel 2007 and i have cells change color when the date in them is today. I would like to keep the cell the same color for i week after the date, right now the cell changes back to blank when the date changes to the next date. Any help would be great.
Related:

2 responses

rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
17 Mar 2010 à 16:34
change the conditional format formula to include the range. Right now it seems to be set for today() only
whitedevil Posts 2 Registration date Wednesday 17 March 2010 Status Member Last seen 17 March 2010
17 Mar 2010 à 16:43
I am new to excel this is the first 1 that i have tried to do may i ask how to add a range to today() iam not sure how to write code for it to work any help would greatly be help full.

thanx
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
17 Mar 2010 à 16:55
There is some thing called "Conditional Formatting". You will find it on HOME tab with Style group.

click on that
click on manage rules. its at the bottom
from the drop down select "this worksheet"

This will show you all the conditional formatting. I am quite sure you will see at least one with formula that has =today()

click on that rule and click on edit

change the formula to
=AND(A1 >=TODAY(), A1 <= TODAY()-7)

A1 is example, make it what ever you had