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
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!