Need assistance writing a formula w/ Red, Yellow, Green

Column reference is [Open Days]@row

If the number of open days is =< 7, I would like it to show the Green symbol, if between 8 and 29, yellow, and >= 30, red.

Thanks!

Tags:

Answers

  • Mark.poole
    Mark.poole Community Champion
    edited 06/11/24

    @Algreen7032

    =IF([Open Days]@row<=7,”Green”,IF([Open Days]@row<=29),”Yellow”,”Red”))

    If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.

  • Thanks for responding. Unfortunately it didn't work for me. Getting error: #unparseable

  • Mark.poole
    Mark.poole Community Champion
    edited 06/11/24

    I see the issue. I originally used an AND function and removed it. I forgot to remove a ).

    =IF([Open Days]@row<=7,”Green”,IF([Open Days]@row<=29,”Yellow”,”Red”))

    If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.

  • Still not working for me. Dang!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!