I have a table containing TRUE and FALSE values. Essentially I want to count
the number of TRUEs, ultimately in a pivot table.
Should I convert TRUE to 1 first, (=IF(A1=TRUE,1,0)(??) or is there a way
to get a pivot table to cout the number of TRUEs in a category without
having to convert first?
More elegant solutions will also be considered!
Jeff
Roger Govier - 11 Jun 2007 16:46 GMT
Hi Jeff
Whatever your formula is that returns TRUE or FALSE, wrap it inside
parentheses with a double unary minus in front.
This will coerce the True and False to 1's and 0.'s directly
=--( your_Formula)

Signature
Regards
Roger Govier
>I have a table containing TRUE and FALSE values. Essentially I want to
>count the number of TRUEs, ultimately in a pivot table.
[quoted text clipped - 6 lines]
>
> Jeff
Jeff Granger - 11 Jun 2007 17:00 GMT
Hi Roger
Now, that one I would never have discovered in a million years!
Thanks
Jeff
> Hi Jeff
>
[quoted text clipped - 14 lines]
>>
>> Jeff