Formula previously worked, doesn't now

Hello!
This logic seemed to work in a different capacity, but no longer is. I have the three categories used locked to check box only. Help welcome!
=IF(AND([Sent to VP for Signature]@row = 0, [Returned to Requester]@row = 0, [Fully Executed Filed]@row = 0), βRedβ, IF(AND([Sent to VP for Signature]@row = 1, [Returned to Requester]@row = 0, [Fully Executed Filed]@row = 0), βYellowβ, IF(OR([Sent to VP for Signature]@row = 1, [Returned to Requester]@row = 1, [Fully Executed Filed]@row = 0), "Yellow", IF(AND([Sent to VP for Signature]@row = 1, [Returned to Requester]@row = 1, [Fully Executed Filed]@row = 1), βGreenβ))))
Best Answer
-
Hi @bmclark
The first thing to check is your quotation marks. I see that some of your quotes are curved, like so: βRedβ but some are straight up and down, like so: "Yellow"
Smartsheet requires quotes to be the straight up and down ones (the ones that appear when you type directly in a cell), and will not be able to recognize the curved quotes (giving an UNPARSEABLE error).
Try adjusting the quotes to see if this resolves your issue:
=IF(AND([Sent to VP for Signature]@row = 0, [Returned to Requester]@row = 0, [Fully Executed Filed]@row = 0), "Red", IF(AND([Sent to VP for Signature]@row = 1, [Returned to Requester]@row = 0, [Fully Executed Filed]@row = 0), "Yellow", IF(OR([Sent to VP for Signature]@row = 1, [Returned to Requester]@row = 1, [Fully Executed Filed]@row = 0), "Yellow", IF(AND([Sent to VP for Signature]@row = 1, [Returned to Requester]@row = 1, [Fully Executed Filed]@row = 1), "Green"))))
Let me know if this helped!
Cheers,
Genevieve
Need more information? π | Help and Learning Center
γγγ«γ‘γ― (Konnichiwa), Hallo, Hola, Bonjour, OlΓ‘, Ciao!π | Global Discussions
Answers
-
Hi @bmclark
The first thing to check is your quotation marks. I see that some of your quotes are curved, like so: βRedβ but some are straight up and down, like so: "Yellow"
Smartsheet requires quotes to be the straight up and down ones (the ones that appear when you type directly in a cell), and will not be able to recognize the curved quotes (giving an UNPARSEABLE error).
Try adjusting the quotes to see if this resolves your issue:
=IF(AND([Sent to VP for Signature]@row = 0, [Returned to Requester]@row = 0, [Fully Executed Filed]@row = 0), "Red", IF(AND([Sent to VP for Signature]@row = 1, [Returned to Requester]@row = 0, [Fully Executed Filed]@row = 0), "Yellow", IF(OR([Sent to VP for Signature]@row = 1, [Returned to Requester]@row = 1, [Fully Executed Filed]@row = 0), "Yellow", IF(AND([Sent to VP for Signature]@row = 1, [Returned to Requester]@row = 1, [Fully Executed Filed]@row = 1), "Green"))))
Let me know if this helped!
Cheers,
Genevieve
Need more information? π | Help and Learning Center
γγγ«γ‘γ― (Konnichiwa), Hallo, Hola, Bonjour, OlΓ‘, Ciao!π | Global Discussions
-
Thank you! that was exactly what it was.
-
No problem! π
Need more information? π | Help and Learning Center
γγγ«γ‘γ― (Konnichiwa), Hallo, Hola, Bonjour, OlΓ‘, Ciao!π | Global Discussions
Help Article Resources
Categories
Check out the Formula Handbook template!