I am wanting to build a formula with the following features.
Blue= tentative discharge date (date inputted in cell)
Green = tentative discharge 7 days from today
Yellow = tentative discharge date of 8 – 14 days from today
Red = tentative discharge date of 15 days or more from today
This is what I have proposed, but not luck:
=IF(ISDATE([Tentative Discharge Date]1, "Blue", IF(AND[Tentative Discharge Date]1 =< TODAY(), "Green", IF(AND([Tentative Discharge Date]1 >= TODAY(-7), [Tentative Discharge Date]1 <= TODAY(-14)), "Yellow", IF([Tentative Discharge Date]1 > TODAY(-15), “Red”))))
or
=IF(ISDATE([Tentative Discharge Date]1), "Blue", IF(Today(-7)>=[Tentative Discharge Date]1,"Green", IF(TODAY(-8) >= [Tentative Discharge Date]1, TODAY(-14)>= [Tentative Discharge Date]1), "Yellow", IF(TODAY(-15) >[Tentative Discharge Date] 1, “Red”)))