Countif when multiple values

I have a form that allows users to multi select.

I have a metrics sheet that counts the number of times a selection appears, however, it's only working for those that only had a single value selected. Multi-select are NOT being counted.

Is there a way to get counts when there are multiple values in the same cell?

Here's the formula I'm using right now.

=COUNTIF({Request Tracker Range 4 - Request Type}, Category9)

Best Answer

  • Mark.poole
    Mark.poole ✭✭✭✭✭✭
    Answer ✓

    @TraisHorloff

    The order of the function calls matter. In this cause you want.

    =COUNTIF({Request Tracker Range 4 - Request Type}, OR(HAS(@cell, "Category9"), HAS(@cell, Category10")))

    If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!