+ Reply to Thread
Results 1 to 5 of 5

How to display all possible combinations of the alphabet ?

  1. #1
    Registered User
    Join Date
    01-09-2007
    Posts
    3

    How to display all possible combinations of the alphabet ?

    Hello,

    Is it possible to automatically display in excel every possible combination of the alphabet (or contents in a column), showing every possible combination ...,

    so the ouput would be similar to this ...

    A
    B
    C
    D
    E
    F ... etc

    AB
    AC
    AD ... etc

    ABC
    ABD
    ABE ... etc

    ACD ...
    ACE ... etc

    BC
    BD
    BE ... etc

    BCD
    BCE
    BCF ... etc

    BDE ...
    BDF ... etc

    etc


    Many thanks in advance

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    As far as permutations are concerned, take a look at following tip ...
    http://www.j-walk.com/ss/excel/tips/tip46.htm

    HTH
    Carim

  3. #3
    Registered User
    Join Date
    01-09-2007
    Posts
    3
    Thanks Carim

    Very interesting, although not really what I am after. More interested in all "combinations" of any individual row in a column (example alphabet from A1-A26), displayed such as in the example above, but not permutations.

    Very interesting none the less. Thanks.
    Last edited by weird; 01-09-2007 at 06:16 AM.

  4. #4
    Registered User
    Join Date
    01-09-2007
    Posts
    3
    Actually reviewing the problem I wish to solve, the problem is more difficult than I originally anticipated,

    Require display combination of "state" - row and "list" - column, where each state (colA,ColB) is the opposite of each other so would not occur
    in a valid combination,

    So example of data,

    A0 A1
    B0 B1
    C0 C1
    D0 D1
    E0 E1
    F0 F1
    G0 G1
    H0 H1
    I0 I1
    J0 J1
    K0 K1
    L0 L1
    M0 M1
    N0 N1
    O0 O1
    P0 P1
    Q0 Q1
    R0 R1
    S0 S1
    T0 T1
    U0 U1
    V0 V1
    W0 W1
    X0 X1
    Y0 Y1
    Z0 Z1

    Require display to appear similar to below, and order is not important, so not a permutation.

    A0
    A0B0
    A0B1 .. etc

    A0B0C0
    A0B0C1 ... etc

    A0B1C0
    A0B1C1 ... etc

    B0C0
    B0C1 ... etc

  5. #5
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    I think the possible combinations that are possible is 10,400,600 using the 26 letters of the alphabet - not enough rows in Excel unfortunately

    =COMBIN(26,13)
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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