I am trying to achieve the following:
IF the %Complete equals 0%, then status indicator is Gray.
IF the %Complete equals 100%, OR the %Complete is less than 100% and Today is before the Target Finish Date, then the status indicator equals Green.
IF the %Complete is less than 100% and Today is within 1 week of the Target Finish Date, then the status indicator equals Yellow.
IF the %Complete is less than 100% and Today is the Target Finish Date OR Today is past the Target Finish Date, then the status indicator equals Red.
The formula I began with is as follows, but every time I try to modify to reflect above, I get an error:
=IF([% Complete]@row = 0, "Gray", IF([% Complete]@row = 1, "Green", IF(OR(AND([Target Finish Baseline]@row < TODAY() + 5, [% Complete]@row < 1), [% Complete]@row <= 0.5), "Red", IF([% Complete]@row < 1, "Yellow"))))
I would appreciate any guidance! Thank you!