RYG - Status no dates

I am attempting to add a column with the following formula:

=IF([Priority]@row = “Green”, “Resolved”, IF(OR([Priority]@row = “Yellow”, “Pending”, IF(OR([Priority]@row = “Red”, “At Risk”)

However, I received #UNPARSEABLE

I am trying to obtain an automated response in the "incident status" column --> resolved, pending, or at risk, if the user chooses green, yellow, or red in the "Priority" column.


Appreciate any guidance, thank you!

Adriane

Best Answer

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    You don't need the OR statements. Give this a try...

    =IF([Priority]@row = “Green”, “Resolved”, IF([Priority]@row = “Yellow”, “Pending”, IF([Priority]@row = “Red”, “At Risk”)


    I also notice that you have "smart quotes" tucked in there. See how they are slanted to show open vs closed quotes? Those are "smart quotes" and will break a formula every time. If you notice the quotes in this paragraph are straight up and down, you will see the difference.


    You are going to want to delete those quotes and then put them back in either here in the community, in Smartsheet directly, or in a text editor such as Notepad. Programs such as MS Word use the smart quotes.

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    You don't need the OR statements. Give this a try...

    =IF([Priority]@row = “Green”, “Resolved”, IF([Priority]@row = “Yellow”, “Pending”, IF([Priority]@row = “Red”, “At Risk”)


    I also notice that you have "smart quotes" tucked in there. See how they are slanted to show open vs closed quotes? Those are "smart quotes" and will break a formula every time. If you notice the quotes in this paragraph are straight up and down, you will see the difference.


    You are going to want to delete those quotes and then put them back in either here in the community, in Smartsheet directly, or in a text editor such as Notepad. Programs such as MS Word use the smart quotes.

  • Adriane Price
    Adriane Price ✭✭✭✭✭✭
    edited 03/04/21

    Hello, @Paul Newcome thank you, I did not even notice the "smart quotes" but makes sense I wrote it in outlook then copied and pasted it the first time around. I re-wrote it in smartsheet and it worked and is now functioning as I need, I also took out [ the brackets.


    =IF(Priority@row = “Green”, “Resolved”, IF(Priority@row = “Yellow”, “Pending”, IF(Priority@row = “Red”, “At Risk”)

    Adriane

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    The square brackets where they were shouldn't have hurt anything. I believe Smartsheet would have automatically removed them anyway.


    Glad you were able to get it working and happy to help. 👍️

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!