Adding IFERROR Formula
Smartsheet Community:
I am Trying to Add IFERROR to The Below Formula, but Receving an Error.
Current Formula:
=ROUND((COUNTIFS(CHILDREN(), OR(@cell = "Pass", @cell = "Fail-4Front Review", @cell = "Fail-Shorr Review", @cell = "Re-Test Ready")) / COUNTIFS(CHILDREN(), @cell <> "")) * 100) + "%"
Modified Formula with UPARSEABLE Error:
=IFERROR(ROUND((COUNTIFS(CHILDREN(), OR(@cell = "Pass", @cell = "Fail-4Front Review", @cell = "Fail-Shorr Review", @cell = "Re-Test Ready")) / COUNTIFS(CHILDREN(), @cell <> "")) * 100) + "%"))
Tanks for your Help
Best Answers
-
What about this:
=IFERROR(ROUND((COUNTIFS(CHILDREN(), OR(@cell = "Pass", @cell = "Fail-4Front Review", @cell = "Fail-Shorr Review", @cell = "Re-Test Ready")) / COUNTIFS(CHILDREN(), @cell <> "")) * 100) + "%", "")
-
@Paul Newcome I Spoke Pre-Maturely. Pass is being Calculated but The Other Status Are Not. See Screenshot
-
@Paul Newcome Disregard! User Error! Thanks
Answers
-
Hi @Kaleb
I hope you're well and safe!
Try something like this.
=IFERROR(ROUND((COUNTIFS(CHILDREN(), OR(@cell = "Pass", @cell = "Fail-4Front Review", @cell = "Fail-Shorr Review", @cell = "Re-Test Ready")) / COUNTIFS(CHILDREN(), @cell <> "")) * 100) + "%"),""
Did that work/help?
I hope that helps!
Be safe, and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
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.
-
Hi, Kaleb.
What do you want to have happen if the formula results in an error? Do you want the cell to be blank? If so, this should work:
IFERROR(ROUND((COUNTIFS(CHILDREN(), OR(@cell = "Pass", @cell = "Fail-4Front Review", @cell = "Fail-Shorr Review", @cell = "Re-Test Ready")) / COUNTIFS(CHILDREN(), @cell <> "")) * 100) + "%"), "")
-
Blank, If $ Cell Does Not Equal One of Those Statuses:
@cell = "Pass", @cell = "Fail-4Front Review", @cell = "Fail-Shorr Review", @cell = "Re-Test Ready
-
Same Error.
The Original Formula Results in Divide By Zero Because None of The Statuses Equal Pass, Fail-4Front Review, Fail-Shorr Review, Re-Test Ready
-
Does your formula work without the "IFERROR" wrapper? If the only error you are getting is #DIVIDE BY ZERO, then the IFERROR wrapper should work as formatted in my original answer. If you expect a non-zero value as a result of the formula operation but get an error like #UNPARESEABLE, the issue isn't with the IFERROR wrapper. My suspicion is that the error is coming from the @cell references, because those aren't associated to a specific row/column. Tough to say without seeing the structure of your sheet.
-
What about this:
=IFERROR(ROUND((COUNTIFS(CHILDREN(), OR(@cell = "Pass", @cell = "Fail-4Front Review", @cell = "Fail-Shorr Review", @cell = "Re-Test Ready")) / COUNTIFS(CHILDREN(), @cell <> "")) * 100) + "%", "")
-
Thanks @Paul Newcome That Worked. I See I was Missing a Comma in This Part of The Formula: * 100) + "%",
-
@Paul Newcome I Spoke Pre-Maturely. Pass is being Calculated but The Other Status Are Not. See Screenshot
-
@Paul Newcome Disregard! User Error! Thanks
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!