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, smartsheetguru.com
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, smartsheetguru.com
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
- 62.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!