Greetings,
I have a project with Start/End date (Type: Date/Time) column, Status column (Type: Dropdown), along with a project health column (Type: Symbol). I am looking to control the color of the harvey balls from Gray, Red, Yellow, and Green depending on Date AND status such as
If the status is complete, then gray
If the start date is within 7 days AND the status is Not Started, then Yellow
If the End Date is in the past AND status is not yet Complete, then Red
This works fine and what's in there now:
=IF(Status@row = "Complete", "Gray", IF([Start Date]@row >= TODAY(+14), "Green", IF([Start Date]@row >= TODAY(+7), "Yellow", "Red")))
The following gives me a "Invalid Data Type" error:
=IF([Status]@row = "Complete", "Gray", IF(and([Start Date]@row >= TODAY(+7), Status@row = "Not Started", "Yellow"), If(and([End Date]@row >= Today(), status@row <> "Complete", "Red"), "Green")))
Any help is appreciated