Simple Variance Formula, but wrong?

Options

I'm trying to use this below formula for a direction column, but getting UNPARSEABLE. Seemed pretty straightforward to me. I have a similar formula that is working for RAG column.

Any thoughts?

=IF([Variance]@row < 0, "Down”, “Up”) IF([Variance]@row > 0, “Up”, "Unchanged")) 

Best Answer

  • Dale Murphy
    Dale Murphy ✭✭✭✭✭✭
    Answer ✓
    Options

    @spopres Try replacing yours with

    =IF(Variance@row < 0, "Down", IF(Variance@row > 0, "Up", "Unchanged"))

    A few misplaced brackets I think ... and maybe a set of two single quotes instead of double quotes.

    dm

Answers

  • Dale Murphy
    Dale Murphy ✭✭✭✭✭✭
    Answer ✓
    Options

    @spopres Try replacing yours with

    =IF(Variance@row < 0, "Down", IF(Variance@row > 0, "Up", "Unchanged"))

    A few misplaced brackets I think ... and maybe a set of two single quotes instead of double quotes.

    dm

  • spopres
    Options

    Thanks Dale, that did the trick....I thought I tried that too and it didn't work. Maybe just had to step away and come back.

    What is the logic behind using brackets and not using brackets thought? Most my formulas use the brackets. Sometimes I see Smartsheet automatically removes them, other times I see that the tool leaves them in there. Odd.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!