Conditional Formatting with less than, great than, etc

SirHart

New Member
Joined
Jun 13, 2011
Messages
39
Here's an easy one for you guys, I just can't get it to work though.

I want to format a cell to change colors dependent on if it falls within a certain range from todays date.

If it's 60 days or less from todays date I want it to turn the cell red

If it's between 61 and 89 days I want the cell to turn orange

If it's between 90 and 105 days I want the cell to turn yellow

The current formulas I'm using are

RED Condition 1: =($F$1-TODAY())<60
ORANGE Condition 2: =($F$1-TODAY())<89
YELLOW Condition 3: =($F$1-TODAY())<105

I can't get yellow to show up...I think I might need to use greater than or between symbols? or does the order of the conditions matter? Help!
 
Last edited:

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
It works for me...

What do you have in F1 at the time you think it should be yellow?
And what color is it actually at that time?


Excel Workbook
FG
17/24/201131
28/28/201166
39/22/201191
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F11. / Formula is =($F1-TODAY())<60Abc
F12. / Formula is =($F1-TODAY())<89Abc
F13. / Formula is =($F1-TODAY())<105Abc
F21. / Formula is =($F2-TODAY())<60Abc
F22. / Formula is =($F2-TODAY())<89Abc
F23. / Formula is =($F2-TODAY())<105Abc
F31. / Formula is =($F3-TODAY())<60Abc
F32. / Formula is =($F3-TODAY())<89Abc
F33. / Formula is =($F3-TODAY())<105Abc
 
Upvote 0
hello , i am new to this forum and from what i have read so far it is amazing , i am punching above my weight with a new project i have taken on and i need to develope a matrix for my use to tell me when certificates are expiring

i am trying to get a cell to highlight amber if 11 months have passed from =(TODAY) and once 12 months passed highlight red.

does anybody have any advice
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,741
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top