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
- 67K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 79 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!