I am struggling with my countifs formula
I am trying to use a countifs formula in my sheet summary to compile some information. This is a failure log in our internal product testing. I want to see how many of a specific model have failed due to each of these reasons: Assembly, Materials, Process, or Other reason. So how many Hydra failed due to Assembly, Due to Materials, etc.
I think one issue is that I want all the instances of Issues accounted for.
Here is my formula: =COUNTIFS(Model:Model, CONTAINS("Hydra"@cell),[Issue 1 Failure Type]:[Issue 6 Failure Type],"Assembly)
Error cord: #unparseable
We have 3 types of Hydra, but for my proposes I don't need to break the data down into type of hydra, just if a hydra failed (or if any of our other models failed for one of the above reasons).
Best Answers
-
Hi @kstaver
I hope you're well and safe!
Try something like this. (the ranges have to match in length)
=COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 1 Failure Type]:[Issue 1 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 2 Failure Type]:[Issue 2 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 3 Failure Type]:[Issue 3 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 4 Failure Type]:[Issue 4 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 5 Failure Type]:[Issue 5 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 6 Failure Type]:[Issue 6 Failure Type], "Assembly")
Did that work/help?
I hope that helps!
Have a fantastic week & Happy Holidays!
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.
-
Excellent!
Yes, I type it in Smartsheet or an editor called, TextSoap (Mac).
✅Remember! 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.
Answers
-
Hi @kstaver
I hope you're well and safe!
Try something like this. (the ranges have to match in length)
=COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 1 Failure Type]:[Issue 1 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 2 Failure Type]:[Issue 2 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 3 Failure Type]:[Issue 3 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 4 Failure Type]:[Issue 4 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 5 Failure Type]:[Issue 5 Failure Type], "Assembly") + COUNTIFS(Model:Model, CONTAINS("Hydra", @cell), [Issue 6 Failure Type]:[Issue 6 Failure Type], "Assembly")
Did that work/help?
I hope that helps!
Have a fantastic week & Happy Holidays!
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.
-
That worked! I was trying to get away from needing to specify each row individually.
Do you use a text editor or a different tool to write out long strings of formulas?
-
Excellent!
Yes, I type it in Smartsheet or an editor called, TextSoap (Mac).
✅Remember! 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.
-
Thanks!
-
You're more than welcome!
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.
-
I have one more question. Working on the same sheet. If I want to total up the number if issues per row. What is the best formula for that?
Thanks for all your help. I have the most beautiful dashboard now tracking our Testing process.
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!