Formula Help please

i have a column titled # Wins and wound up with a percentage towards my Wins goal. That said i want to use RYG lights based on how close i am to the goal. So here's what i wrote but i know i'm missing something. Any help would be much appreciated.

=IF([# Wins]5<=.66,"Red",IF(AND([# Wins]5>.66>.9,"Yellow,IF(AND[# Wins]5>=.90),"Green"))

 

Tags:

Comments

  • J. Craig Williams
    J. Craig Williams ✭✭✭✭✭✭

    You don't need the AND()*

    =IF([# Wins]@row <= 0.66, "Red", IF([# Wins]@row < 0.9, "Yellow", "Green"))

    NestIF's process left to right. If the Win not less than or equal to 0.66, then you don't need to check it again.

    Craig

    *If you did need the AND() then that part might look something like this

    AND([# Wins]@row > 0.5, [# Wins]@row < 0.65)

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!