I'm trying to seta formula for the health of the project's tasks based on certain conditions. This is the formula:
=IF(OR(AND(Status@row <> "Complete", [End Date]@row < TODAY()), AND(Status@row = "In Progress", VALUE([% Complete]@row ) < 0.3, NETDAYS(TODAY(), [End Date]@row ) <= 30), AND(Status@row = "Not Started", [Start Date]@row < TODAY())), "Red", IF(AND(Status@row = "In Progress", NETDAYS(TODAY(), [End Date]@row ) <= 30, VALUE([% Complete]@row ) < 0.5), "Yellow", IF(OR(Status@row = "Complete", AND(Status@row = "In Progress", NETDAYS(TODAY(), [End Date]@row ) > 30)), "Green", IF(Status@row = "Not Started", "Gray", ""))))
These are the conditions:
However, I also want to add that if the start date is today and the due date let's say is within 1 week, when they put the status to in progress and like 5% complete the formula comes back as red, because the person didn't complete the 20% approx. that needs to be completed based on % complete. Is there a way to add some percentages of %Complete to show this as Yellow instead of red? Also, why some tasks do not report any color even the info is filled and there is no formula errors shown?
Thank you