If formula - to consolidate color status

Hello

Trying to consolidate multiple cells in the same column - roll up status essentially

I have 1 cell that I am trying to consolidate from 2-3 other color status columns without having to write out all the combinations .

Essentially

if all are green = green

If one or more is yellow - consolidated status is yellow

if one or more is red - consolidated status is Red


Formula I have is which returns Incorrect Argument Set


=IF(AND([Epic Status]24 = "green", [Epic Status]25 = "green", [Epic Status]26 = "green", "green", IF(OR([Epic Status]24 = "yellow", [Epic Status]25 = "yellow", [Epic Status]26 = "yellow", "yellow", IF(OR([Epic Status]24 = "red", [Epic Status]25 = "red", [Epic Status]26 = "red", "red", "green"))))))


I feel like I got close with it as I could get it to work if everything was green but as soon as I switched one to Red, it said incorrect data


I've tried a few different argument structures and I feel like I am so close!

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!