C
cbeck0
I need to calculate the percentage of "yes" answers in a
column. Any suggestions?
column. Any suggestions?
-----Original Message-----
Hi,
Let's say you have data in the range A1:A6. The data is
represented as "y" (without the quotes) for Yes and "n"
(without the quotes) for No. In cell A8 type the
follwoing formula
COUNTIF(A1:A6,"y")/COUNTA(A1:A6)
This will give you the answer as 0.666 which is 66%
HTH
Ashish Mathur
Excel - MVP
.