Getting a percentage

  • Thread starter Thread starter Enrique
  • Start date Start date
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?
 
Use COUNTIF to count the cells matching your criteria and COUNTA to count all
non-empty cells...
 
Use COUNTIF to count the cells matching your criteria and COUNTA to count all
non-empty cells...
 
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
 
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
 
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.
 
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.
 
Back
Top