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

  • Mike TV
    Mike TV ✭✭✭✭✭✭
    Answer ✓

    @Pamela Wagner

    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.


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!