View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Dallman Ross Dallman Ross is offline
external usenet poster
 
Posts: 390
Default Calculate Percentage of True (or False) in a range

In , Bernard Liengme
spake thusly:

=SUMPRODUCT(--(A1:A100=TRUE))/COUNTA(A1:A100)


That of course works fine, but it seems like overkill to me
given that a sheet full of SUMPRODUCT, etc., formulas will
get top-heavy fast (suck away resources).

What about just:

=COUNTIF(A1:A100,"True")/COUNTA(A1:A100)

--
dman