Formula combining COUNT,DISTINCT & CONTAINS
Hello SS Community,
Can you guide me on a formula to deal with the above data set?
In plain english, I need a Count of Distinct strings in the 'Release Set No." column Containing "Annual"
The answer in this case would be 8.
Is this possible on SS?
Thanks for your help!
Best Answer
-
It would look like this:
=COUNT(DISTINCT(COLLECT([Release Set No.]:[Release Set No.], [Release Set No.]:[Release Set No.], CONTAINS("Annual", @cell))))
Answers
-
It would look like this:
=COUNT(DISTINCT(COLLECT([Release Set No.]:[Release Set No.], [Release Set No.]:[Release Set No.], CONTAINS("Annual", @cell))))
-
YES, thank you Paul! Works
Using the 'Collect' formula was the missing link!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!