Nested IF statement is giving me an UNPARSEABLE error
Hi,
I'm using this formula:
=IF(COUNTIF([Pilot Status]10:[Pilot Status]12, "No") > 0, "No",IF(COUNTIF([Pilot Status]10:[Pilot Status]12,"Hold")>0,"Hold","Yes")))
to show a "No" Symbol if there is at least 1 "No" in the range, if there are zero "No" in the range, then i want it to show a "Hold" symbol if there is at least 1 in the range. If both of those fail, then i want it to display the "Yes" symbol?
Can anyone help?
For additional context, the formula works if I don't NEST if statements and only have one TRUE value and one FALSE value
Comments
-
Hi,
Try something like this.
=IF(COUNTIF([Pilot Status]10:[Pilot Status]12; "No") > 0; "No"; IF(COUNTIF([Pilot Status]10:[Pilot Status]12; "Hold") > 0; "Hold"; "Yes"))
The same version but with the below changes for your and others convenience.
=IF(COUNTIF([Pilot Status]10:[Pilot Status]12, "No") > 0, "No", IF(COUNTIF([Pilot Status]10:[Pilot Status]12, "Hold") > 0, "Hold", "Yes"))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Have a fantastic day!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
You just have one too many closing parenthesis on the end...
-
THANK YOU again!
I realized that my code was fine...i just had an extra ")" at the end of the formula.
-
Excellent!
Easy to miss!
I'm always happy to help!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 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!