COUNTIF pointed at multiple contacts in a cell
I'm trying to count the number of times a name appears in a column that is configured for contacts and is set to allow multiple contacts.
So using the Countif function, I can easily count up the number of times "John Doe" appears in a column...UNLESS....there's a cell that contains "John Doe" and "Jane Doe".
The Countif function doesn't recognize the "John Doe" in a cell if it's accompanied by another name in the same cell.
Any ideas?
Thanks!
Answers
-
Try using COUNTIF(CONTAINS( that will work for multi-select values. Here's an example I wrote for a test sheet in the past:
=COUNTIF([Column4]:[Column4], CONTAINS("Gary", @cell))
-
Thanks @Mike TV
Unfortunately the syntax you suggests just returns a 0. Does it matter if the cells are formatted for contacts and the name I'm trying to count is from a contact list?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!