Conditional format according to dates

karen malcolm

New Member
Joined
Aug 24, 2017
Messages
1
Hi,

I have a spread sheet which contains the dates procedures were last reviewed. I would like them to change colour to green if they have been reviewed within last 182 days (6 month) amber if they were reviewed more than 182 but less than 365 days ago and red if they have not been reviewed for more than 730 days. Does anybody have any help, my conditional formatting experience is beginner.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Welcome to the Board!

Dates in Excel are tracked as whole numbers, specifically the number of days since 1/0/1900. Knowing, this you can do what you want with simple subtractions.

For example, the Conditional Formatting formula for more than 182 days but less than 365 days would look something like this (for a date in cell A2):
Code:
=AND(TODAY()-A2 > 182, TODAY()-A2 < 365)
 
Upvote 0
You'll need three conditional formatting entries. The one above and then the one for <182 and one for >365.

You can also use an Icon Set that would do all evaluations in one rule. Select the fields, click Conditional formatting, pick one. Then click on Conditional Formatting, Manage Rules, then select the entry, and click Edit Rule. You can then enter your two values and away you go.

Good luck,
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,334
Members
452,636
Latest member
laura12345

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