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
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!