RAID Metrics

I'm trying to figure out how to build a formula using the COUNTIFS function that will count the number of ACTION items in our raid log but only if those items don't have one of our multiple closed status's. ONLY Active items if you will.
Current Formula: =COUNTIFS({RAID Type}, "Action") - this returns the correct count of action items but it includes Action items that are also closed. We have multiple closed status's and I don't want those included in the count.
Example Raid Types - Action, Risk, Issue, Decision, Question
Example Closed Status - Closed - Decision, Closed - Resolved
Best Answers
-
Sorry, the formula should be as shown below. I accidently used = sign instead of <>
=COUNTIFS({RAID Type}, "Action", {Status}, OR(@cell<>"Closed 1", @cell<>"Closed 2", @cell<>"Closed 3"))
-
No problem. Glad to help.
Answers
-
Use the OR() function within the COUNTIFS
=COUNTIFS({RAID Type}, "Action", {Status}, OR(@cell="Closed 1", @cell="Closed 2", @cell="Closed 3"))
You could also look at using =COUNT(COLLECT())
-
Let me try that, thank you very much!
-
Sorry, the formula should be as shown below. I accidently used = sign instead of <>
=COUNTIFS({RAID Type}, "Action", {Status}, OR(@cell<>"Closed 1", @cell<>"Closed 2", @cell<>"Closed 3"))
-
I'm getting an invalid reference error: =COUNTIFS({RAID Type}, "Action", {*Status}, OR(@cell = "Closed - Resolved", @cell = "Closed - Canceled", @cell = "Closed - Workday Case", @cell = "Closed - Decision", @cell = "Closed - Workday Brainstorm"))
-
Fixed it, the range reference was incorrect. Again, thank you.
-
Your {Status} reference has an asterisk in the reference name within the formula. Is that correct?
-
Well almost. The count is coming back as "1". there are actually 3 that are not closed.
-
Did you see my comment about changing the equal sign to <> ?
-
I think I figured it out. Tks
-
No problem. Glad to help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 207 Use Cases
- 517 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 83 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!