Countifs with and

I'm working on a metrics sheet and trying to count all the instances where a project is assigned to a particular person (metric@row) within the current year (parent cell) AND ONLY if the project status is New, In Progress or Approval Pending (Metric21, Metric22, and Metric23 in metrics sheet).
My formula before factoring in the project status:
=COUNTIFS({Broth Launch - Responsible}, FIND(Metric@row, @cell) >= 1, {Broth Launch - Year}, PARENT())
How do I edit this formula to return a sum of only the projects where {Broth Launch-Status} equals Metric21, Metric22 or Metric23?
Thanks!
Best Answer
-
Try this:
=COUNTIFS({Broth Launch - Responsible}, FIND(Metric@row, @cell) >= 1, {Broth Launch - Year}, PARENT(), {Status}, OR(@cell = Metric21, @cell = Metric22, @cell = Metric23))
Answers
-
Hey @HH_BE1894,
Can you please add a screenshot for reference so I can understand more about what you need exactly?
I am thinking around IF(OR(Metric=Metric21,Metric=Metric22.....),count(collect))/Countifs... but seeing it will help me.
Itai Perez
If you found my comment helpful any reaction, Insightful, Awsome etc... would be appreciated🙂
https://www.linkedin.com/in/itai-perez/
-
Sure, here you go! Val4 represents the project plan I'm tracking. I'm trying to populate how many tasks within that project are New, In Progress, or Approval Pending by person in the Task Assigned To column.
-
Try this:
=COUNTIFS({Broth Launch - Responsible}, FIND(Metric@row, @cell) >= 1, {Broth Launch - Year}, PARENT(), {Status}, OR(@cell = Metric21, @cell = Metric22, @cell = Metric23))
-
That worked - thanks!
-
Hey,
Great thank you@Paul Newcome :)
Itai Perez
If you found my comment helpful any reaction, Insightful, Awsome etc... would be appreciated🙂
https://www.linkedin.com/in/itai-perez/
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 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!