IF/And Formula to Change Symbols

I've been looking at this for a while and can't figure out what is going on -- turning to my Smartsheet community to point out what is likely very obvious!

I'm trying to get the status symbol to change as follows:

If =>100% green, if =>80% yellow, and if less than 80% Red. I'm having the trouble with the Yellow

Here's the formula I'm using

=IF([Column4]@row >= 1, "Green", IF([Column4]@row >= 0.8, "Yellow", "Red"))

Thanks in advance for your help!

Best Answer

  • Razetto
    Razetto ✭✭✭✭✭✭
    Answer ✓

    @TolerDo Hi, try something like this instead =IF(NOT(ISBLANK([Column4]@row)), IF(AND([Column4]@row >= 80, [Column4]@row < 100), "Yellow", IF([Column4]@row = 100, "Green", "Red"))) The isn't blank part is because it shows as red when the cell is blank, but it can removed.

Answers

  • Razetto
    Razetto ✭✭✭✭✭✭
    Answer ✓

    @TolerDo Hi, try something like this instead =IF(NOT(ISBLANK([Column4]@row)), IF(AND([Column4]@row >= 80, [Column4]@row < 100), "Yellow", IF([Column4]@row = 100, "Green", "Red"))) The isn't blank part is because it shows as red when the cell is blank, but it can removed.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!