Nested IF with CONTAINS

Hello, can anyone help me why this formula doesn't work?

=IF(CONTAINS("Red",Issue1),"Red"),IF(CONTAINS("Green",Issue1),"Green"),IF(CONTAINS("Yellow",Issue1),"Yellow",)

Answers

  • PeterR
    PeterR ✭✭✭✭

    Got it. And also added an ISBLANK.

    =IF((ISBLANK(Issue1)), "Green", IF(CONTAINS("Red", Issue1), "Red", IF(CONTAINS("Green", Issue1), "Green", IF(CONTAINS("Yellow", Issue1), "Yellow"))))

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!