I need to indicate when a task is complete, in progress, and overdue based on two criteria

This is the formula that I have currently but it is returning the error "#UNPARSEABLE";
Basically I need to indicate when a task is complete (Green), in progress (Yellow), and overdue (Red) based on two criteria, if a date is reached and the box is checked (Green), if a date is reached and box is unchecked (Yellow), If a date is in the past and box is unchecked (Red).
=IF(AND([Eval Date Scheduled]@row = TODAY(), [Employee Eval Status]@row = 1, "true", "false"), "Green"), IF(AND([Eval Date Scheduled]@row = TODAY(), [Employee Eval Status]@row = 0, "true", "false"), "Yellow"), IF(AND([Eval Date Scheduled]@row > TODAY(), [Employee Eval Status]@row = 0, "true", "false"), "Red"))
Answers
-
Try this instead:
=IF([Eval Date Scheduled]@row = TODAY(), IF([Employee Eval Status]@row = 1, "Green", "Yellow"), IF([Employee Eval Status]@row <> 1, "Red"))
-
Will that work for both criteria though? Because I need both criteria listed above to be taken into account.
-
Help Article Resources
Categories
Check out the Formula Handbook template!