Getting a percentage

E

Enrique

I have several columns with 1 of 4 values (Y,N,N/A,<blank>). I need to
calculate the percentages of Y's. For example if there are 6 columns, 3 with
Y's, 2 with N's and one with N/A, I need for my totals column to report 50%.
What is the best way to do this?
 
S

Sheeloo

Use COUNTIF to count the cells matching your criteria and COUNTA to count all
non-empty cells...
 
G

Gord Dibben

This looks very familiar.

Did you post the same question earlier?

=COUNTIF(A1:F1,"Y")/6 return 50% for your example.


Gord Dibben MS Excel MVP
 
E

Enrique

Thanks - it works perfectly. I just couldn't figure out which formula to
use.

Thanks again!

It was not a repeated question on my part.
 

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