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
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!