Count ifs?>

Options
edited 12/09/19

Hello,

I created a form and now have all the data i need. However My formula to give me the number of each tea that was voted for has to be accounted for. It seems that my countif formulas are not working correctly. Can anyone help me?

Tags:

• ✭✭✭✭✭✭
Options

Can you please share the formula you are using?

• Options

I have tried a couple different ones

=COUNTIFS([Favorite #1]1:[Favorite #2]52<bigelow: earl grey)

=SUMIF([Favorite #1]1:[If I had to choose a green tea, I'd pick:]52, yamamoto: genmai, [sum_range])

• ✭✭✭✭✭✭
Options

=COUNTIFS([Favorite #1]1:[If I had to choose a green tea, I'd pick:]52, "yamamoto: genmai")

Try that one? It will give you a 1 for every time Yammamoto: genmai appears in the range that you suggested. Because you're looking for that text specifically you have to put it in quotes.

• Options

Mike,

No matter the name I give it or specify the value comes back at zero

• ✭✭✭✭✭✭
Options

Are you putting the Countif formula on the same sheet or trying to pull it from a different sheet?

Create a new row at the top and put this in the first Cell...

=Countifs([Favorite #1]:[Favorite #1], "Bigelow: Earl Grey")

Does that return a count?

• Options

Hello Mike,

thank you for helping me, but even when I followed your instructions to a T I now get #BLOCKED. very puzzling to say the least.

• ✭✭✭✭✭✭
Options

Hi Juan,

You get #blocked because one of your cells you are referencing might contain an error. Make sure you don't have a formula that is not working in the Favorite column.

https://help.smartsheet.com/articles/2476176-formula-error-messages#blocked

• Options

wow,

thanks Mike!

• ✭✭✭✭✭✭
Options

• Options

Yes Mike, thank you for being so patient.

• ✭✭✭✭✭✭
Options

I'd like to thank Smartsheets for developing that patience in me.  You're welcome!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!