I've got myself going round and round trying to create a good health column formula for the project plan shown below. Hoping you can help with a formula to achieve this for each row/task:
Green: Status column is "Complete" or the Target Finish date is 7 days out or further.
Yellow: Status column is not "Complete", "On Hold" or "Cancelled", and the Target Finish is within the next 7 days.
Red: Status column is not "Complete", "On Hold" or "Cancelled", and the Target Finish is within the next 2 days or is in the past.
Gray: Status column is "On Hold" or "Cancelled"
Blank: Health column is blank if the Status column and Target Finish columns are both empty.
If it's a parent row it shows a red health if any of the children rows under it have a red health, yellow health if any of the children rows show yellow (but not a red), and green if all children are green.
I tried following the formula on this post, but I keep getting an #UNPARSABLE error:
Thanks in advance for the help.
Help Article Resources
Check out the Formula Handbook template!