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
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!