Countif and Has returning 0 from multi value cells
Options
Flavio Tincani
✭✭✭
I have a column that has the option to have multiple values.
I created a calculation sheet so I can use the data in a dashboard, so I need to count the number of "GovDoc" and the other values but it keep returning 0
I'm using the following formula
=COUNTIF({Issues}, HAS({Issues}, "GovDoc"))
What is wrong?
Best Answer
-
It worked with the @cell function!
Thanks!
Answers
-
Hi @Flavio Tincani, you have this set up like a summif (range, criteria range 1, criteria 1) instead of countif (criteria 1, range 1). Also, you can't put a function around your range. Try this:
=COUNTIF({Issues}, CONTAINS("GovDoc", @cell))
Good luck!
-
It worked with the @cell function!
Thanks!
-
Hi @Flavio Tincani glad it worked!
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!