Conditional Formatting renewal dates

wrightian

New Member
Joined
Nov 16, 2009
Messages
3
'd like to use conditional formatting to highlight each of these a different color:
Dates that are less than 179 days old in Green
Dates that are between 179 and 364 days in yellow
Dates that are 365 days or over

I have tried several answers to previous questions but whatever formaula I have tried the cells either all go one colour or no colour at all

:confused:
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
Welcome to the board...

Condition 1: Red (Over 365 days old)
=A1 < =(TODAY()-365)

Condition 2: Yellow (Between 179 and 364 days old)
=A1 < =(TODAY()-179)

Condition 3: Green (Less than 179 days old)
=A1 < TODAY()


The order of the conditions is IMPORTANT.
Because they are evaluated in order from 1 to 3.
The first to be true is executed, and the rest ignored.

Hope that helps..
 

wrightian

New Member
Joined
Nov 16, 2009
Messages
3
Thanks Jonmo the first 2 conditions have worked but the dates that are less than 179 days have not turned green

:confused:
 

Watch MrExcel Video

Forum statistics

Threads
1,129,800
Messages
5,638,433
Members
417,025
Latest member
MusterDuster

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
Top