+ Reply to Thread
Results 1 to 3 of 3

what are boolean numbers

  1. #1
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    what are boolean numbers

    Hello. Someone posted this formula =--(COUNTIF(D5:D8,1)>0) and said that the -- converts the boolean number to their number counterparts. How does this work?

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: what are boolean numbers

    A Boolean is either TRUE or FALSE.

    For example
    =A1=B1
    will display TRUE if A1 equals B1; otherwise FALSE.

    =--(A1=B1) is a Number and will display 1 if A1 equals B1; otherwise 0
    Gary's Student

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: what are boolean numbers

    Boolean results are typically TRUE or FALSE. When -- is used, the results change to this:

    TRUE = 1
    FALSE = 0
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1