Needing a formula for schedule health

Can someone help with a formula for my Project Plan that does the following:

Status = Not Started and is < OR = Planned Start Date, schedule health indicator color should show as “gray”

Status = Not Started and is > 14 days past Planned Start Date, schedule health indicator color should show as “Red”

Status = Not Started and is > 1-13 days past Planned Start Date, schedule health indicator color should show as “Yellow”


Status = In Progress and is = Or < Planned End Date, schedule health indicator color should show as “Green”

Status = In Progress and is 1-13 days past Planned End Date, schedule health indicator color should show as “Yellow”

Status = In Progress and is >14 days past Planned End Date, schedule health indicator color should show as “Red”


Status = On Hold, schedule health indicator should show as “Red”

Status = Complete, schedule health indicator should show as “Blue”

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    Try this:

    =IF(Status@row = "Complete", "Blue", IF(Status@row = "On Hold", "Red", IF(Status@row = "Not Started", IF([Planned Start Date]@row>= TODAY(), "Gray", IF([Planned Start Date]@row>= TODAY(-13), "Yellow", "Red")), IF([Planned End Date]@row>= TODAY(), "Green", IF([Planned End Date]@row>= TODAY(-13), "Yellow", "Red")))))

    Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!

    CERTIFIED SMARTSHEET PLATINUM PARTNER

    10xViz.com

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!