CountIf Formula with Multiple Criteria in the Same Column
Smartsheet Community:
I amnot sure what I am doing wrong but I am trying to Count the Number of Test Case if it Meets this Criteria:
John Doe
Test Case in Status of Pass, Fail, or Re-Test Needed
Here is my Current Formula that is Yielding 0 even though the Number should be 4:
=COUNTIFS({UAT Test Cases v2 Range 1}, "John Doe", {UAT Test Cases v2 Range 2}, "Pass", {UAT Test Cases v2 Range 2}, "Failed", {UAT Test Cases v2 Range 2}, "Retest Needed")
Best Answer
-
Try this instead...
=COUNTIFS({UAT Test Cases v2 Range 1}, "John Doe", {UAT Test Cases v2 Range 2}, OR(@cell = "Pass", @cell = "Failed", @cell = "Retest Needed"))
Answers
-
Try this instead...
=COUNTIFS({UAT Test Cases v2 Range 1}, "John Doe", {UAT Test Cases v2 Range 2}, OR(@cell = "Pass", @cell = "Failed", @cell = "Retest Needed"))
-
Excellent, Worked Perfectly!
-
Happy to help! 👍️
-
I am trying to get a count by Lead Trainer but the formula doesn't include if there are multiple Lead Trainers in the same column.
Example, for Bryson Crittenden, it is counting 1 versus 3
=COUNTIF([Lead Trainer]:[Lead Trainer], "Bryson Crittenden")
-
Hi @skanj670
If you're looking in a multi-select column, you'll want to use the HAS function to see if the cell has that option along with others.
For example:
=COUNTIF([Lead Trainer]:[Lead Trainer], HAS(@cell, "Bryson Crittenden"))
See: https://help.smartsheet.com/function/has
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 367 Global Discussions
- 202 Industry Talk
- 432 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!