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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!