Conditional formatting

sfortin57

New Member
Joined
Mar 6, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I want the worksheet to highlight the dates that are more than 300 days old in orange and the ones over a year ol


test.xlsx
D
2DATE
33/6/2020
42/27/2019
511/25/2019
64/1/2019
74/8/2019
83/3/2019
91/26/2020
102/10/2020
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D3:D32Expression=D3<=TODAY()-365textYES
D3:D32Expression=D3<=TODAY()-300textNO
D3:D32Celldoes not contain a blank value textNO
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Welcome to the forum.

It looks like you've pretty much got it, except I'd add another condition so that unfilled cells don't get formatted.

Book1
D
1
2DATE
33/6/2020
42/27/2019
511/25/2019
64/1/2019
74/8/2019
83/3/2019
91/26/2020
102/10/2020
113/1/2018
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Sheet12
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D3:D32Expression=AND(D3<>"",D3<=TODAY()-365)textNO
D3:D32Expression=AND(D3<>"",D3<=TODAY()-300)textNO
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,619
Members
449,240
Latest member
lynnfromHGT

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