Countifs with multiple criteria in the same cell
How do I countifs, if the Risk is open, status is yellow and affects group C, D, E and F. I have the below formula but do not know how to add groups D, E and F
=COUNTIFS({FPR Risks Range 1}, "Open", {FPR Risks Range 2}, "YELLOW", {Group}, CONTAINS("D", @cell))...
Answers
-
Are you looking for something that has "A", "B", AND "C", or is it more like "A", "B", OR "C"?
-
Something that has "A", "B", and "C".
-
In that case you have two options. You can continue with the same syntax of range, criteria, range, criteria and just keep entering the same range with the updated criteria.
=COUNTIFS({FPR Risks Range 1}, "Open", {FPR Risks Range 2}, "YELLOW", {Group}, CONTAINS("D", @cell), {Group}, CONTAINS("A", @cell))
Or you can enter the range once and use an AND function to have multiple criteria sets for the same range.
=COUNTIFS({FPR Risks Range 1}, "Open", {FPR Risks Range 2}, "YELLOW", {Group}, AND(CONTAINS("D", @cell), CONTAINS("A", @cell)))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!