Hi Smartsheeters',
Please help me to find a solution with my formula.
The essence of the task is to change the indicators in the Health column using a formula.
I need to:
if Status is In Progress and Due Date is less than Today
and if Status is Completed and % Complete is 100%, then GREEN
if Status is At Risk and Due date is less than Today
and if % Completion is Blank, then YELLOW
if % Completion is Blank and Start Date is greater than today
and if the Due Date is greater than today and the % Complete is less than 100%, then RED
The formula I'm currently using doesn't work. It's so long that I might have made a syntax error.
Is it possible to make it shorter?
=IF(OR([% Complete]@row = 1, [Due date]@row > = TODAY()), "Green", IF(Status@row = "In progress", "Green", IF(AND([Due date]@row > TODAY(), [% Complete]@row < 1), "Green", IF(Status@row = "Completed", "Green", IF(Status@row = "At risk", "Yellow", IF(AND([Due date]@row > TODAY(), [% Complete]@row < 1), "Yellow", IF(AND([Due date]@row > TODAY(), [% Complete]@row = 0), "Yellow", IF(Status@row = "At risk", "Red", IF(AND([Due date]@row > TODAY(), [% Complete]@row < 1), "Red", IF(Status@row = "Not started", "Red", IF(AND([Start date]@row < TODAY(), [% Complete]@row = 0), "Red", IF([% Complete]@row < 0.75, "Yellow", IF(AND([Due date]@row = TODAY(7), [% Complete]@row < 0.25), "Red", IF([% Complete]@row < 0.5, "Yellow", "Green"))))))))
Thanks in advance and will greatly appreciate your help,
Carol