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
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!