whats the formula

D

dperalta

i created a data sheet collecting data of of permits. i set up the sheet
where i just entered Y for yes, or N for no. i'm trying to find out if
there's a formula for finding out the percentage of out of 2000 y's and n's
there are this many y's... and same n's also...
 
M

Mike H

Hi,

To count the y and n use
=COUNTIF(A1:A2000,"n")
obviously substituting a y

For the percentage of each use
=COUNTIF(A1:A2000,"y")/2000
Once again substitute the y for n to count the other

Mike
 
G

Gord Dibben

=COUNTIF(A1:A2000,"y")/COUNTA(A1:A2000)

Will give the percentage of "y"s in the column.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top