CountIF not "counting" yes, no, n/a from a Dropdown list correctly.

arooney88

Board Regular
Joined
Feb 17, 2014
Messages
61
Hey everyone, having a big issues with a report I'm working on.

I have columns that people input data into the cells using a dropdown that lists out:
yes
no
n/a

I'm trying to count the number of yes and no in my columns. I'm using =COUNTIF(my cell range, "yes) and =COUNTIF(my cell range, "no")

It's counting the yes' correctly but not counting and 'no's. It's the same formula so I'm really confused on why it's not adding up one item correctly.

Any help??
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Just a couple thoughts. When you typed the formulas here, you have a typo and are missing a " after the yes. I would verify that your formulas don't have a typo that you're just not seeing. Also, verify that your criteria actually matches the dropdown list. Maybe the list yes has a space after it that you're not seeing. People at my work are always typing in extra spaces.
 
Upvote 0
Sorry no typo in the actual formula ( just on here, my bad). The space might be an issue...I'll have to go through and check them. Thanks!
 
Upvote 0
To check try using the LEN function

=LEN(A1) and copy down

Where A1 houses Yes or No. It should return 3 for Yes and 2 for No
 
Upvote 0

Forum statistics

Threads
1,215,374
Messages
6,124,567
Members
449,171
Latest member
jominadeo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top