Help with a COUNTIFS Formula that contains OR and Divide to calculate a %

Hey Guys
I wonder could i pick your brains to iron out the kinks in my formula
I would like to calculate a % based upon the following references
Sheet Reference {EPIC}
Value "GBT-xxxx"
Sheet reference {JIRA STATUS}
Value "Pass" or "Fail/Issue" or "Gap" or "Pass - Now Fail" or "N/A (Not Applicable)"
Divided by 234 which is the total number of tests in the cycle
I have constructed the following formula but am currently getting unparseable
=COUNTIFS({EPIC}, "GBT-9950", {JIRA STATUS}, OR(@cell = "Pass", @cell ="Fail/Issue", @cell ="N/A Not Applicable", @cell = "Pass - Now Fail"), /234)
Many Thanks
Garry
Best Answer
-
Hey @Garry McEwen
I think your first formula would have worked after removing the extra comma before the /234 and moving the parenthesis to close your OR statement.
=COUNTIFS({EPIC}, "GBT-9950", {JIRA STATUS}, OR(@cell = "Pass", @cell ="Fail/Issue", @cell ="N/A Not Applicable", @cell = "Pass - Now Fail"))/234
I'm curious - were there any responses in the {JIRA Status} that should not be included?
Does this work for you?
Kelly
Answers
-
@Kelly Moore i'm hoping maybe you could help with this one?
-
Have used AI to fix the formula
=COUNTIFS({EPIC}, "GBT-9950", {JIRA STATUS}, OR(CONTAINS("Pass", @cell), CONTAINS("Gap", @cell), CONTAINS("Fail/Issue", @cell), CONTAINS("Pass - Now Fail", @cell), CONTAINS("N/A (Not Applicable)", @cell), CONTAINS("N/A (Not/Applicable)", @cell))) / 234
but the value still returns 0
-
Try:
=COUNTIFS({EPIC}, "GBT-9950", {JIRA STATUS}, OR(HAS(@cell, "Pass"), HAS(@cell, "Gap"), HAS(@cell, "Fail/Issue"), HAS(@cell, "Pass - Now Fail"), HAS(@cell, "N/A (Not Applicable)"), HAS(@cell, "N/A (Not/Applicable)"))) / 234
If that doesn't work, I would first try to confirm that the total count without the 234 is working. Then you can add that at the end.
-
Hey @Garry McEwen
I think your first formula would have worked after removing the extra comma before the /234 and moving the parenthesis to close your OR statement.
=COUNTIFS({EPIC}, "GBT-9950", {JIRA STATUS}, OR(@cell = "Pass", @cell ="Fail/Issue", @cell ="N/A Not Applicable", @cell = "Pass - Now Fail"))/234
I'm curious - were there any responses in the {JIRA Status} that should not be included?
Does this work for you?
Kelly
-
@Kelly Moore no all were to be included, all sorted now and formula working.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.2K Get Help
- 452 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!