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
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
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
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
-
Thank you! that was exactly what it was.
-
No problem! 🙂
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!