Could anyone help us create the proper formula? Parent/Children Health based off Due Dates

We are trying to utilize Smartsheet to list out, follow, and forecast our project schedules. The idea is that each Milestone of the Project is the Parent and the steps within the milestone are the children. We are having issues with the parents correctly representing an issue/delay within its children. Right now the formula we are using is:

=IF([Start Date]39 > TODAY(), "Blue", IF(AND([% Complete]39 < 1, [End Date]39 < TODAY()), "Red", IF(COUNTIFS(CHILDREN(), "Red") > 0, "Yellow", "Green")))

this was taken from row 39 of a sheet (would love a universal @ row Formula)


Essentially we want the health to reflect the steps current status in this way

Red means Overdue (Due Date>Today )

Yellow means Status is In Progress AND Due Date upcoming (Due Date<14 Days away)

Green means Status is in Progress, Start date has passed, but has not within 14 days of being Due

Blue means Status is In Queue


If anyone can assist with this vision it would be much appreciated!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!