Excel Formatting with dates

Joined
Feb 13, 2017
Messages
2
Reaction score
0
Hell, please be gentle I am fairly new to Excel!
I am trying to get cells in a worksheet to turn differnt colours depending on date criteria as follows:
If a date occurs today or before the cells to turn red.
If a date is tomorrow plus 30 days the cells to turn yellow.
If a dare is more than 30 days old the cells to turn green.
Now for the hard part! If there is no date in the cell no colouring to be in the cell.
I get the feeling that this should be fairly easy to do but I can't quite get all the things working together.
Can you help?
Thanks in advance. Geordie
 

Becky

Webmistress
Joined
Mar 25, 2003
Messages
7,424
Reaction score
1,511
Welcome to the forum! :)

Have you been using conditional formatting? If so what rules have you tried to put in place?
 
Joined
Feb 13, 2017
Messages
2
Reaction score
0
Hello Becky,

I was using the following conditional formatting:
Format only cells that contain / Cell value / Less than / =NOW()+30 / Format yellow
Format only cells that contain / Cell value / Less than / =NOW() / Format red
Format only cells that contain / Cell value / Greater than / =NOW()+30 / Format green
Then I tried: Use a formula to determine which cells to format / =ISBLANK(cell range)=True / No format set
Cheers.
 

Becky

Webmistress
Joined
Mar 25, 2003
Messages
7,424
Reaction score
1,511
Format only cells that contain / Cell value / Less than / =NOW()+30 / Format yellow
Format only cells that contain / Cell value / Less than / =NOW() / Format red
Format only cells that contain / Cell value / Greater than / =NOW()+30 / Format green

That should work... If you go to 'Manage rules' and then edit the rules do any of them have quotes around the formula? Might look like this: ="=NOW()+30"

If so then deleting the quote marks and extra equals sign should fix it. I've had this happen to me, it's an Excel bug.
 

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