Counting Distinct Contacts in a Contact List Column
Hello. I have a tracker and in it I am using a Contact List for "Assigned To" and I allow for that to contain multiple contacts.
I am trying to count the number of distinct individuals in the column to come up with a total number of contributors to the effort we're tracking.
I used: =COUNT(DISTINCT(Leads:Leads))
The result was 10, except I know it is actually 21.
Any ideas? Thank you in advance!
Answers
-
One possible way to do this is with a metrics sheet. Create a "Leads" column containing your all members of contact list. In a second column "Effort," reference your first sheet to count the number of times each lead appears in that column:
=COUNTIFS({Main Sheet Assigned To}, CONTAINS(Leads@row, @cell))
Then, wherever you're trying to count the number of distinct Leads, use:
=COUNTIF({Metrics Sheet Leads}, >0)
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
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
Check out the Formula Handbook template!