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
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!