Formula for Status

Hello,

I am trying to create a formula to automate the 'status' row in my project grid in SmartSheet. Here is what I am looking for:

Actual start date = Blank, show "Not Started"

If Actual Start Date = is a date and Actual end date = Blank, show "In Progress"

If Actual start date = blank and projected start date > today OR if Actual end date = blank and projected end date > today, show "Overdue"

Actual end date = is a date, show "Complete"


Can anyone help with the nested formula to cover all scenarios?



Tags:

Best Answer

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    Try something like this...

    =IF([Actual End Date]@row <> "", "Complete", IF([Actual Start Date]@row = "", IF([Projected Start Date]@row < TODAY(), "Overdue", "Not Started"), IF([Projected End Date]@row < TODAY(), "Overdue", "In Progress")))

    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

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    Try something like this...

    =IF([Actual End Date]@row <> "", "Complete", IF([Actual Start Date]@row = "", IF([Projected Start Date]@row < TODAY(), "Overdue", "Not Started"), IF([Projected End Date]@row < TODAY(), "Overdue", "In Progress")))

    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

  • Thank you!! That worked. One further question...is there a way for the formula to show nothing in the event a date is not yet entered? From screenshot below - for tasks I don't yet have dates in, the formula auto-populates 'overdue'. Is there a way for it to be blank until a date is entered under projected start date?



  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    Here you go...

    =IF([Projected Start Date]@row <> "", IF([Actual End Date]@row <> "", "Complete", IF([Actual Start Date]@row = "", IF([Projected Start Date]@row < TODAY(), "Overdue", "Not Started"), IF([Projected End Date]@row < TODAY(), "Overdue", "In Progress"))))

    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!