I am trying to write a formula that will count if a specific word is mentioned in a formula.
I am trying to write a formula that will count if a specific word is mentioned in a formula.
=COUNTIF([Queue Name]:[Queue Name], "*INBOUND*")
It returns zero with or without the "*" in the quotes. I know this works in Excel, but not sure how to make it work in smart sheets. The column will have words in front of or behind the word I am looking to count, INBOUND.
Best Answer
-
Hey @NCH
The CONTAINS function looks to see if a text string appears anywhere within a cell, effectively as if there were wild cards around the string.
=COUNTIFS([Queue Name]:[Queue Name], CONTAINS("INBOUND", @cell))
Does this work for you?
Kelly
Answers
-
Hey @NCH
The CONTAINS function looks to see if a text string appears anywhere within a cell, effectively as if there were wild cards around the string.
=COUNTIFS([Queue Name]:[Queue Name], CONTAINS("INBOUND", @cell))
Does this work for you?
Kelly
-
That worked. Thank you very much.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!