Forum Discussion
Simes888
Feb 06, 2023Copper Contributor
Excel conditional formatting formula not working as expected
I have a column in Excel that contains dates. The column is G, and the data starts on row 2. I have a conditional formatting rule which is supposed to change the colour of each cell in that column, i...
HansVogelaar
Feb 06, 2023MVP
Select the range starting in G2.
Delete the existing conditional formatting rule, if any.
On the Home tab of the ribbon, select Conditional Formatting > New Rule...
Select 'Format only cells that contain'.
Leave the first drop down set to 'Cell Value'.
Select 'less than' from the second drop down.
Enter the formula =TODAY()-30 in the box next to it.
Click Format...
Activate the Fill tab.
Select a color.
Click OK, then click OK again.
simes889
Feb 06, 2023Copper Contributor
This method worked! Thank you so much