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
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!