Conditional formatting

Copper Contributor

I would like to highlight the date in a column if that date is greater than 30 days from a date in another column, but I cant seem to find the right formula.  It should be fairly simple, but I cant seem to get it.  Any assistance would be greatly appreciated!

1 Reply

@justmedjn 

Let's say the dates that you want to format conditionally are in D2:D100, and the other dates in F2:F100.

Select D2:D100. I will assume that D2 is the active cell in the selection.

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. (You may have to select 'greater than' instead - you'll have to experiment).

In the box next to it, enter the formula =F2-30. (You might need =F2+30 - again, experiment).

Click Format...

Activate the Fill tab.

Select a highlight color.

Click OK, then click OK again.