COUNTIF with keywords
Hello,
I am trying to set up a formula to count a cell if it contains a certain keyword (e.g. "communication"). The cell itself won't be only composed of that word, but will just contain it.
My formula so far is =COUNTIF([Job Classification]:[Job Classification], CONTAINS("communication", [Job Classification]:[Job Classification]))
So far it is currently not working - the message I get is a count of "0".
Thank you
Best Answer
-
@Evgeniya Nazarnaya Hi! Since you are already referencing the range "Job Classification" in your COUNTIF, you need to change your CONTAINS function to CONTAINS("communication", @cell) .
See my video on the @cell operator, if you'd like to learn a little more. https://youtu.be/KchiWBgsv4A
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
Answers
-
@Evgeniya Nazarnaya Hi! Since you are already referencing the range "Job Classification" in your COUNTIF, you need to change your CONTAINS function to CONTAINS("communication", @cell) .
See my video on the @cell operator, if you'd like to learn a little more. https://youtu.be/KchiWBgsv4A
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
-
Hey Darren,
Thank you for your help! That's exactly what I had needed, and thank you for the explanation
Cheers,
Evgeniya
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!