Feb 18 2022 08:21 AM
I have a spreadsheet in which Column E is calculating a date based upon a date entered in Column A and adding a set number of days to it.
I wish to have column E shaded to a given color if the calculated date is between today and 30 days from now
Feb 18 2022 08:41 AM
SolutionFeb 18 2022 08:46 AM
Feb 18 2022 10:32 AM
Oct 02 2023 07:31 AM
Oct 02 2023 07:36 AM
Select the dates.
Set the fill color to green - this will be the default.
On the home tab of the ribbon, click 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.
In the box next to it, enter the formula
=TODAY()-7
Click Format...
Activate the Fill tab.
Select yellow as highlight color.
Click OK, then click OK again.
Repeat these steps, but with the formula
=TODAY()-14
and red as highlight color.