Count unique words

I have a smartsheet with a list of countries that I would like to total up the number of unique countries in the list? Basically eliminating the dups in the count.
For example:Β
USΒ
UK
IR
US
CA
CA
UK
AU
would equal 5 Total Countries
thanks!
Β
Comments
-
Hi,Β
Β
There is no Count Distinct function in Smartsheet. I found this, which maybe helpful -Β https://community.smartsheet.com/discussion/unique-numbers-column
Sean
-
Add a checkbox column and a row ID column, then put the following formula into the checkbox column:
=IF([Row ID]@row = MIN(COLLECT([Row ID]:[Row ID],Β Country:Country, Country@row)), 1)
Β
This will check the box for each single entry along with only 1 entry for each duplicate. You can then use a COUNTIFS to count how many boxes are checked.
Β
You case is very similar to another one we just worked on.
Β
https://community.smartsheet.com/discussion/feedback-submitter-count
Β
-
Paul, this works great.Β Thanks for posting!
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives