Formula for Count with multi-select columns

I've been trying to figure out how to write the formula to determine how often a specific multi-select option has been selected in a single column and I keep hitting a wall. This is what I have, but I think it needs to be a "COUNTIF" statement because the result I'm getting by using a "COUNT" statement is incorrect; I think it may be counting all possible rows where this option can be selected, instead of the rows where it is selected.

=COUNT(Favorite Food: Favorite Food, (HAS("Mexican"))

If I make it a "COUNTIF" statement, I get "#INCORRECT ARGUMENT SET".

=COUNTIF([Favorite Food]:[Favorite Food], (HAS("Mexican")))

Any help would be greatly appreciated!


Best Answer


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!