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.4K Get Help
- 447 Global Discussions
- 144 Industry Talk
- 479 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 151 Just for fun
- 72 Community Job Board
- 490 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!