COUNTIF in Muti-Select Column
Good morning, I am trying to count how many times a name appears in a multiselect column, the problem is that when there is more than one name in the column it will not count it. Here's my formula so far
=COUNTIFS({Construction Damage & Complaint Tracker Range 1}, "Gary"
Although Gary's name should count 5 times, it does not because there are other names in that column as well.
Any help would be appreciated!
Best Answer
-
=COUNTIF({Construction Damage & Complaint Tracker Range 1}, HAS(@cell, "Gary"))
However, HAS function needs to find an exact match. So as long as its just Gary and doesn't include a last name that should work.
If it includes a last name you can use:
=COUNTIF({Construction Damage & Complaint Tracker Range 1}, CONTAINS("Gary", @cell))
Answers
-
=COUNTIF({Construction Damage & Complaint Tracker Range 1}, HAS(@cell, "Gary"))
However, HAS function needs to find an exact match. So as long as its just Gary and doesn't include a last name that should work.
If it includes a last name you can use:
=COUNTIF({Construction Damage & Complaint Tracker Range 1}, CONTAINS("Gary", @cell))
-
Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!