# Formula Question

Options
✭✭✭✭✭

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

• ✭✭✭✭✭✭
Options

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"))))

• ✭✭✭✭✭✭
Options

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"))))

• ✭✭✭✭✭
Options

@Paul Newcome thank you! that worked.

• ✭✭✭✭✭✭
Options

Happy to help. 👍️

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!