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.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!