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 at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
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 at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now -
Thank you! that was exactly what it was.
-
No problem! 🙂
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!