COUNTIF Formula not working with asterisk
Hi, I am trying to create a summary formula which will count the names in a specific column. Some cells contain multiple names, but they still need to be counted.
The formula I am created does not seem to work as it returns 0 (the formula has the specific name but I have taken it out for privacy):
=COUNTIF(SME:SME, "*Name*")
When I remove the * it counts works, but only when the cell contains a singular name. Any help would be greatly appreciated!
Best Answer
-
Hi Cristina,
I would recommend inserting the HAS() formula into your COUNTIF formula. The HAS() formula searches for specific values within a range, such as someone's name.
=COUNTIF([Multi-select Column]:[Multi-Select Column], HAS(@cell, "*Name*"))
Answers
-
Hi Cristina,
I would recommend inserting the HAS() formula into your COUNTIF formula. The HAS() formula searches for specific values within a range, such as someone's name.
=COUNTIF([Multi-select Column]:[Multi-Select Column], HAS(@cell, "*Name*"))
-
Awesome, thanks @Mark Bowler!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!