Looking for Formula Help - Health Status based on End Date versus Today

Good morning! I am looking for help with a formula as what I have entered returns "Unparseable".

I am looking to return colors based on the below:

If Status is Complete then "Green"

If Status is in Progress but less than TODAY "Red"

If Status is Not Started or In Progress and the End Date is greater than today by 7 days then "Yellow"

If Status is Not Started or In Progress and if End Date is greater than TODAY by 14 days then "Green"

If Status is NA then Blank

If Status is On Hold then Gray

I may just have too many arguments?

Below is how I entered it

=IF(Status@row = "Complete", "Green", IF(Status@row = "In Progress", [End Date]@row < TODAY(), "Red", IF(Status@row = "Not Started", [End Date]@row > TODAY(7), "Yellow", IF(Status@row = "In Progress", IF([End Date]@row > TODAY(14), "Green", IF(Status@row = "On Hold", "Gray", IF(Status@row = "NA", "", IF(Status@row = "In Progress", IF([End Date]@row > TODAY(7), "Yellow", IF(Status@row = "Not Started", IF([End Date]@row > TODAY(14), "Green"))))))))))))

Tags:

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!