COUNTIFS + OR - Forumla Help
You're all so amazingly helpful that I'm back. I think this is an easy fix for most, but I'm scratching my head.
I have a column named Status with multiple drop down options, of which only one can be used. I also have a column named PMO that is a checkmark.
I want to get a count of PMO flagged rows that fall within several statuses (planning, execution, monitoring). The formula below works for one status - how do I sneak in the OR to pick up each of those three?
=COUNTIFS(Status:Status, "Planning", PMO:PMO, 1)
Thanks!
Best Answer
-
Hi @ErinM,
You can do this using OR and @cell in the formula:
=COUNTIFS(Status:Status, OR(@cell = "Planning", @cell = "Execution", @cell = "Monitoring"), PMO:PMO, 1)
Result:
Hope this helps; if you've any further questions then just ask! 😊
Answers
-
You could use this formula:
=COUNTIFS(Status:Status, "Planning", PMO:PMO, 1) + COUNTIFS(Status:Status, "Execution", PMO:PMO, 1) + COUNTIFS(Status:Status, "Monitoring", PMO:PMO, 1)
Hope this helps!
-
Hi @ErinM,
You can do this using OR and @cell in the formula:
=COUNTIFS(Status:Status, OR(@cell = "Planning", @cell = "Execution", @cell = "Monitoring"), PMO:PMO, 1)
Result:
Hope this helps; if you've any further questions then just ask! 😊
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
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!