Help with setting a symbol color based off calculation

Options

Hello,

So I have two columns. Actual and Budget


I want to calculate the difference between the two, and then if the difference is lower than the budget number, the indicator symbol would be green, else if it is higher, the indicator symbol would be red. Thoughts on how that would look in a formula. TY

Answers

  • Nick Korna
    Nick Korna ✭✭✭✭✭✭
    Options

    Hi @Buster Davis,

    Your formula would like this for a traffic light symbol column:

    =IF(Actual@row <= Budget@row, "Green", "Red")

    Result:

    In the formula, it is set to be green if the budget matches the actual, if you would prefer this to be red in this circumstance then remove the 2nd = sign.

    Hope this helps; if you've any questions etc. then just post! 😊

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!