+ Reply to Thread
Results 1 to 3 of 3

Pivot Table Count Combinations Binary Numbers

  1. #1
    Registered User
    Join Date
    08-17-2017
    Location
    San Francisco, CA
    MS-Off Ver
    2016
    Posts
    26

    Pivot Table Count Combinations Binary Numbers

    Hi Forum,

    I have a list of defects (Y/N) converted into (1,0); I want to find all possible combinations (no repeat/no order). In this case there are 7 possible (n) defects; 28 different combinations (I have not listed them on my spreadsheet).

    Is there an easy way to use excel (possibly using pivot table) in the count and chart combinations of these:

    1,0,0,0,0,0,0 =
    0,1,0,0,0,0,0 =
    0,0,1,0,0,0,0 =
    0,0,0,1,0,0,0 =
    0,0,0,0,1,0,0 =
    0,0,0,0,0,1,0 =
    0,0,0,0,0,0,1 =
    ...............

    See attached excel sheet.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Pivot Table Count Combinations Binary Numbers

    There are 2^7 = 128 combinations
    P2:P129
    =DEC2BIN(ROWS(P$2:P2)-1,7)

    You need to concat all Defect together for Pivot
    I2 =CONCAT(B2:H2)
    or J2 =B2&C2&D2&E2&F2&G2&H2

  3. #3
    Registered User
    Join Date
    08-17-2017
    Location
    San Francisco, CA
    MS-Off Ver
    2016
    Posts
    26

    Re: Pivot Table Count Combinations Binary Numbers

    Thanks BO!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Count NonZero numbers in a Pivot Table
    By aju051000 in forum Excel General
    Replies: 2
    Last Post: 06-28-2018, 08:51 PM
  2. Replies: 14
    Last Post: 09-29-2014, 02:58 PM
  3. Potential ways to format binary data with a pivot table.
    By Ali2013 in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 04-17-2013, 09:10 AM
  4. Replies: 0
    Last Post: 02-02-2013, 04:20 AM
  5. need to develop a table to count in binary, etc. using excel xp
    By waynebosz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-23-2005, 05:06 PM
  6. [SOLVED] need to develop a table to count in binary using excel xp
    By waynebosz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-23-2005, 05:06 PM
  7. I need to develop a table to count in binary using excel xp
    By waynebosz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-23-2005, 05:06 PM

Tags for this Thread

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