formula

M

msiz

what formula do I use to total words? ie I have a column of TRUE and FALSE
answers and I want to add up how many TRUE answers there are
THanks :)
 
F

Florence

Can you try COUNTIF function? Supposed that cells contained yr answers is
ranged from A1 to A10, then at A11:
=COUNTIF(A1:A10, TRUE)

Hope it helps!
 
C

CLR

And if you want to know what the percentage of the total are "true", try
this........

=COUNTIF(A:A,"true")/COUNTA(A:A)*100&"%"

Vaya con Dios,
Chuck, CABGx3
 
D

Dave Peterson

I think I'd just divide by 100 and format as percentage:

=(COUNTIF(A:A,"true")/COUNTA(A:A))/100

Then it's still numeric.
 
C

CLR

If one is going to reformat the cell as percentage, there is no need to
divide by 100.

Just
=(COUNTIF(A:A,"true")/COUNTA(A:A))
formatted as percentage, will suffice

Vaya con Dios,
Chuck, CABGx3
 
Top