+ Reply to Thread
Results 1 to 7 of 7

Different Combinations of 24 Numbers

  1. #1
    Registered User
    Join Date
    09-11-2013
    Location
    sydney
    MS-Off Ver
    Excel 2003
    Posts
    11

    Different Combinations of 24 Numbers

    I am producing some trifecta sweep tickets for an upcoming horse race.

    This means i need to take the numbers, 1 through to 24 and put them into groups of three in every possible variation. A total of 2,024 combinations.

    For example

    1,6,12
    2,8,24
    etc

    I'm hoping there is some way that excel can put all of the variations together for me, even if they are in adjoining cells.

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Different Combinations of 24 Numbers

    Please Login or Register  to view this content.
    Is this?
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Registered User
    Join Date
    09-11-2013
    Location
    sydney
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Different Combinations of 24 Numbers

    Thank you, worked perfectly.

  4. #4
    Registered User
    Join Date
    09-11-2013
    Location
    sydney
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Different Combinations of 24 Numbers

    Looks like I spoke to soon.


    The solution provided isn't quite what I need. I need to take 24 numbers, 1 to 24, and generate every possible combination.

    The solution provided gave me every possible permutation. For example the solution gave me 1,2,3 & 2,3,1 & 3,2,1 etc etc. But for my purposes 1,2,3 is the same as 2,1,3 because it is the unique combinations I need, order does not matter

  5. #5
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Different Combinations of 24 Numbers

    Please Login or Register  to view this content.
    Check this danedw.

  6. #6
    Registered User
    Join Date
    10-18-2013
    Location
    Canberra AUSTRALIA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Different Combinations of 24 Numbers

    Hi


    This code will list all permutations.

    If I wish to input the PRICE of each runner - eg. Runner A 2.50 Runner B 5.50 Runner C 8.00 etc.........

    And I wish to use calculation A.(AB-1).(C+1)/A +1 to value the permutation - how could I code this?


    Regards

  7. #7
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Different Combinations of 24 Numbers

    Hi murnane,
    Please open your own thread to ask the question.
    And read the forum rule. Thanks

+ 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. Replies: 1
    Last Post: 04-15-2012, 09:23 AM
  2. Listing possible combinations of numbers
    By Rgaherty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-02-2010, 09:39 PM
  3. Possible Combinations Of A Given Set Of Numbers??
    By Jennylyn1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-01-2007, 06:24 PM
  4. solving for all possible combinations of a set of numbers
    By tradersm in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-14-2005, 08:05 PM
  5. Display all combinations from a set of numbers
    By tx12345 in forum Excel General
    Replies: 7
    Last Post: 07-14-2005, 08:05 PM

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