I am trying to make conditional formatting for Dates in Excel. The cells should change the color depeding on when the Date is due. If it is due in less than 30 days it should
Ok, Excel does some wacky stuff that it thinks is helpful when you're trying to apply conditional formatting to a range (it's usually more of a hindrance than help).
Follow these steps:
E2
.=DATEDIF(TODAY(),E2,"d")<30
and select whatever formatting options you want. Click OK
.=E2:E200
, or whatever the last row of the range is. Alternatively you can use a named range
if you want to set up something a little more dynamic.That rule now applies to the whole range.
I used the following formulas:
=DATEDIF(TODAY(),E2,"d")<30
=DATEDIF(TODAY(),E2,"d")<60
=DATEDIF(TODAY(),E2,"d")<90