Counting the number of unique contacts in multi-select contact column for a specific date
I'm looking for a formula that would be able to count the number of unique contacts that are in a contact column that match a specific date. I have a multi-select contact column that has the names of people that are attending meetings throughout the week, and I want to be able to see how many unique attendees will be attending meetings on any given day (some of the meetings have the same people attending them, so I can't use a straight count of the names within the multi-select contact column as their names will show up multiple times).
I know this isn't the formula, but looking for what the right formula would be:
=COUNTM(DISTINCT([Meeting Attendees]:[Meeting Attendees], [Meeting Date]:[Meeting Date], =DATE(2023, 11, 2)
Answers
-
Hi @Raquel@Raquel Love, that's pretty close. Add the Collect function to get the group your looking for. Use this:
=COUNTM(DISTINCT(COLLECT([Meeting Attendees]:[Meeting Attendees], [Meeting Date]:[Meeting Date], DATE(2023, 11, 2))))
-
Thanks @Lucas Rayala. I tried this formula and got an unparseable error message - any ideas on potential update?
-
Hi @Raquel Love
Can you post a screen capture for what you're seeing, with the formula open in Smartsheet?
This type of error can sometimes mean the column name isn't properly typed out or there's an extra ) somewhere.
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Also, you shouldn't need the "COUNTM" function with the DISTINCT(COLLECT) combo of functions as there wouldn't be any blanks. Please do provide a screenshot as suggested by Genevieve, but also try changing the COUNTM to a simple COUNT. Sorry about the late reply! @Raquel Love
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!