Counting unique entries across two columns where cell in second column is a particular value
I've looked at a lot of answers on here and tried a few formula's but have not been successful. Below is a simple example.
I want to get a distinct count of the number of Apps that have Option 1, i.e., the first two rows count as 1 not 2.
So, answer should be unique App/Option 1 count is 5 and unique App/Option 2 is 2
Any help greatly appreciated have tried all manner of count/distinct/collect options to no avail
Thanks!
Best Answers
-
You would use a COUNT/DISTINCT/COLLECT combo.
=COUNT(DISTINCT(COLLECT({App Range}, {Option Range}, @cell = "Option 1")))
-
Perfect, thanks Paul!
Answers
-
You would use a COUNT/DISTINCT/COLLECT combo.
=COUNT(DISTINCT(COLLECT({App Range}, {Option Range}, @cell = "Option 1")))
-
Perfect, thanks Paul!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 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!