COUNTIFS for single-select and multi-select columns
Hello,
I am trying to count the number of rows in a different sheet if they meet two conditions. One condition is contained in a Single-select column, the second argument is contained in a multiselect column in that sheet. I have looked through the community pages but have not been able to get a formula going:
=COUNTIFS({Different Sheet Range 2}, "Action", HAS({Different Sheet Range 1}, ColumnThisSheet@row))
Above the first range and criteria points to the single-select column, the second range to the multi-select column in a different sheet.
Any help is appreciated,
Thank you,
Paul
Best Answer
-
The range cannot be put into the HAS Function. Should be like this:
=COUNTIFS({Different Sheet Range 2}, "Action", {Different Sheet Range 1}, HAS(@cell, ColumnThisSheet@row))
Hope it helped!
Answers
-
The range cannot be put into the HAS Function. Should be like this:
=COUNTIFS({Different Sheet Range 2}, "Action", {Different Sheet Range 1}, HAS(@cell, ColumnThisSheet@row))
Hope it helped!
-
Thank you, David! Your suggestion indeed solved the issue!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!