Count data validation drop down values?

ScarScarr

New Member
Joined
Jul 14, 2011
Messages
4
Hi there,

I'm a little stumped at the moment, I have several columns in a sheet with drop down menus (made via data validation) offering values of YES or NO

I would like to be able to count the amount of times YES is chosen in each column seperately. i.e column C = 5, F=2 etc.

The list data is held on a seperate sheet (I dont know if that matters)

I've tried various IFCOUNT and SUMPRODUCT formula's but are all returning a count of 0 which I know there is not.

Any advice would be greatly appreciated!

Thanks, Scar
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I want the count on a different sheet so I have used the below - it works with the columns that dont have drop downs (where I have just typed in a YES)

=COUNTIF('TSMS DB'!M5:M83,"YES")

It seems the drop down option once selected doesnt register in the cell with any formula I use???
 
Upvote 0
Trailing spaces is exactly what it was!!

Thank you so much cannot believe I didnt even check for that and have been confused for what has now been 4 hours! LOLZ

Thanks again for your help - your a star!! :)
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,289
Members
452,902
Latest member
Knuddeluff

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