Help with Nested IF and RYGB status balls



  • Leslye Jackson

    Hi I am using this article to figure out this formula....based on this one it should work but it is not. Could someone help me figure out where I went left. I am able to get RYGB working with one or two colors but I am having trouble nesting the formula for all three colors to be used within one cell.

    =If([Completion Status]3@row="Completed","Green",If([Completion Status]3@row="In Progress","Yellow",If([Completion Status]3@row="Not Started","Red")))

    The example below is the formula that will work but it does not address all three colors. Any assistance is very much appreciated!!

    =IF([Completion Status]3 = "In Progress", "Yellow", "Red")

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    You should be either using row numbers OR "@row" instead of both.

    =IF([Completion Status]@row = "Completed", "Green", IF([Completion Status]@row = "In Progress", "Yellow", IF([Completion Status]@row = "Not Started", "Red")))

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!