Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / June 2007

Tip: Looking for answers? Try searching our database.

Coverting TRUE to 1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff Granger - 11 Jun 2007 16:28 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.