+ Reply to Thread
Results 1 to 2 of 2

Combination Generation

  1. #1
    Registered User
    Join Date
    10-14-2015
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    1

    Combination Generation

    I am wondering if there is a formula or easy way to fix a combination problem I am working on using excel.

    Basically, I have 12 numbers (1-12).



    I want them in 2 groups of 3 where:

    Conditions
    1. Each number is in the same group exactly 2 times with every number.
    2. Each number is in the opposing group exactly 3 times with every number.
    3. No group of 3 is ever repeated.
    4. Every number appears an equal amount of times (11 I think is the max/ideal)


    For example:

    (1,2,3)(4,5,6) and (7,8,9)(10,11,12)
    (1,2,4)(3,5,6) and (7,8,10)(9,11,12)
    (1,4,5)(2,3,6) and (7,10,11)(8,9,12)

    Now (1,2),(1,4),(5,6),(3,6),(7,8),(7,10),(11,12) and (9,12) could not be in the same group.
    Now 1 and 6, as well as 7 and 12 could not be in opposing groups.

    Long story short, randomized teams of 3 that play with everyone and against everyone an equal amount of times.


    If it's confusing I can try and explain it further, but any help?

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: Combination Generation

    Please attach a sample of your workbook so we can test solutions using your own data. Remember to remove/replace any sensitive info before uploading the file.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

+ 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. CRC generation
    By RangeRover in forum Excel General
    Replies: 0
    Last Post: 05-27-2015, 08:52 PM
  2. P/N and Description Generation
    By IMPAK in forum Excel General
    Replies: 4
    Last Post: 05-29-2013, 03:32 PM
  3. [SOLVED] how many cell in a row that contain certain combination from a larger combination
    By system in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 11-17-2012, 03:04 PM
  4. Please HELP on PaySlip generation
    By bunlapy2k in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2012, 04:08 PM
  5. Name generation
    By ping8781 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2010, 09:52 AM
  6. email generation
    By Mir Khan in forum Excel General
    Replies: 1
    Last Post: 09-23-2005, 05:05 PM
  7. Row ID generation
    By Mikus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2005, 01:05 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