Formula Help: Unparseable
Hello  I accidentally deleted all my formulas from this sheet and recovered the text, but it's not working in my sheet anymore. I've tried calling helpdesk and we couldn't figure it out.
I have a formula to count all "yes" answers. Then a formula to calculate the % of "yes". The formula that USED to work was this one which would give a red/green/yellow "health" of that score. What am I missing?
Thanks!!!
Best Answer

Hey @Alicia Penner
The unparseable is because the middle AND clause is not closed off. You also might be missing an ending parenthesis. However, another approach is not to use AND clauses at all but take advantage of the fact that a formula stops when the first 'true' is found.
=IF(Risk@row>=0.79, "Green", IF(Risk@row>=0.51, "Yellow", IF(Risk@row<0.5, "Red")))
Will this work for you?
Kelly
Answers

Hey @Alicia Penner
The unparseable is because the middle AND clause is not closed off. You also might be missing an ending parenthesis. However, another approach is not to use AND clauses at all but take advantage of the fact that a formula stops when the first 'true' is found.
=IF(Risk@row>=0.79, "Green", IF(Risk@row>=0.51, "Yellow", IF(Risk@row<0.5, "Red")))
Will this work for you?
Kelly

Thank you Kelly!!! Yes, I see that now, that's much cleaner...
I really appreciate it.
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 61.3K Get Help
 321 Global Discussions
 197 Industry Talk
 416 Announcements
 4.2K Ideas & Feature Requests
 126 Brandfolder
 153 Just for fun
 124 Community Job Board
 441 Show & Tell
 26 Member Spotlight
 1 SmartStories
 278 Events
 34 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!