View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Harald Staff
 
Posts: n/a
Default Boolean 0/1 instead of True/False

Doh !!!!!!!!! SUM won't work here the way =B1+B2+B3+ ... would (-I never
understood why and I always forget this). Use JE's SUMPRODUCT solution, and
sorry.

Best wu\ishes Harald

"Harald Staff" skrev i melding
...
You have a column of TRUE or FALSE , say in B1:B1000 . TRUE is 1 and FALSE
is 0, so
=SUM(B1:B1000)
will sum all the TRUEs. Or did I misunderstand something ?

HTH. Best wiushes Harald