Using COUNTIF and CONTAINS

I need to count the number of times a word is found in a cell. My constraint is that the cell can contain multiple words (from a dropdown) and I'm not sure the formula to use. COUNTIF works just fine if the cell only contains one word. I see a report that used both COUNTIFS and CONTAINS but I can't get it to work.
The column name is Category and we can use Apple as the word. I need to reference another sheet which we can call Tickets.
If someone knows how to do this using a different formula, I am not tied to CONTAINS but it makes sense that it would be used in this case.
Best Answer
-
Here's an example sheet and formula I made for someone else's topic once.
=COUNTIFS([Teams Responsible for Testing]:[Teams Responsible for Testing], CONTAINS("MIS", @cell), Status:Status, <>"Complete")
This is used to find "MIS" in the Teams Responsible for Testing column if the Status column is not "Complete". It's finding 4 results.
Answers
-
Here's an example sheet and formula I made for someone else's topic once.
=COUNTIFS([Teams Responsible for Testing]:[Teams Responsible for Testing], CONTAINS("MIS", @cell), Status:Status, <>"Complete")
This is used to find "MIS" in the Teams Responsible for Testing column if the Status column is not "Complete". It's finding 4 results.
-
Yes, this works! I need to study the formula a little more but I think I'm getting it! Thanks @Mike TV !
-
This worked for me as well - thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!