Formula Question

Hello:


Below is a formula that was written to change the verbage in the "Status" column based on the % Complete Column.

The original formula was =IF([% Complete]@row = 0, "Not Started", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row > 0, "In Progress", IF([% Complete]@row < 1, "In Progress"))) and it worked just fine.

Then I realized that when the status of the ball changes to red or yellow that I did not have anything written for when the ball changes to "Red" , "Past Due" and when the ball changes to "Yellow", "At Risk." So, I added to the formula the follow (in bold)

=IF([% Complete]@row = 0, "Not Started", IF([% Complete]@row = 1, "Complete", IF([% Complete]@row > 0, "In Progress", IF([% Complete]@row < 1, "In Progress", IF([Schedule Health]@row = "Yellow", "At Risk"))))) and it returned a #UNPARSEABLE. Is this because I am referencing another column within my original formula? Can you reference another column in this type of formula and if show how should it be written?

Any help would be greatly appreciated.

Best,

Anthony D'Ambrosio


Best Answer

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

    Here is my suggestion...

    =IF([Schedule Health]@row = "Red", "Past Due", IF([Schedule Health]@row = "Yellow", "At Risk", IF([% Complete]@row = 0, "Not Started", IF([% Complete]@row = 1, "Complete", "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

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!