Using COUNTIFS
Hi,
I am using the following formula to count those occasions when CSOD (unit) is impacted by CFCD (unit) and the status of the impacts is either 'conceptual' or 'complete' and it does not work. If I limit it to only counting 'conceptual' it works. What I am missing to count more than one status?
=COUNTIFS({Interdependencies and impacts register Range 2}, "CSOD", {Interdependencies and impacts register Range 4}, "CFCD", {Interdependencies and impacts register Range 3}, "conceptual", {Interdependencies and impacts register Range 3}, "complete")
Thanks
Phil
Best Answer
-
Hi Phil,
The reason it's not working is that you're looking for two criteria separately within the same range, Range 3. Try adding your two COUNTS together... one for "conceptual" and one for "complete".
=
COUNTIFS({Interdependencies and impacts register Range 2}, "CSOD", {Interdependencies and impacts register Range 4}, "CFCD", {Interdependencies and impacts register Range 3}, "conceptual")
+
COUNTIFS({Interdependencies and impacts register Range 2}, "CSOD", {Interdependencies and impacts register Range 4}, "CFCD", {Interdependencies and impacts register Range 3}, "complete")
Full Formula:
=COUNTIFS({Interdependencies and impacts register Range 2}, "CSOD", {Interdependencies and impacts register Range 4}, "CFCD", {Interdependencies and impacts register Range 3}, "conceptual") + COUNTIFS({Interdependencies and impacts register Range 2}, "CSOD", {Interdependencies and impacts register Range 4}, "CFCD", {Interdependencies and impacts register Range 3}, "complete")
Let me know if that works!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi Phil,
The reason it's not working is that you're looking for two criteria separately within the same range, Range 3. Try adding your two COUNTS together... one for "conceptual" and one for "complete".
=
COUNTIFS({Interdependencies and impacts register Range 2}, "CSOD", {Interdependencies and impacts register Range 4}, "CFCD", {Interdependencies and impacts register Range 3}, "conceptual")
+
COUNTIFS({Interdependencies and impacts register Range 2}, "CSOD", {Interdependencies and impacts register Range 4}, "CFCD", {Interdependencies and impacts register Range 3}, "complete")
Full Formula:
=COUNTIFS({Interdependencies and impacts register Range 2}, "CSOD", {Interdependencies and impacts register Range 4}, "CFCD", {Interdependencies and impacts register Range 3}, "conceptual") + COUNTIFS({Interdependencies and impacts register Range 2}, "CSOD", {Interdependencies and impacts register Range 4}, "CFCD", {Interdependencies and impacts register Range 3}, "complete")
Let me know if that works!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi @Genevieve P , thank you so much for taking the time to look at this. You fixed it! Yeah and happy Friday wherever in the world you are.
-
Hi Phil,
Great! I'm happy to help. Hope you're having a good weekend!
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!