+ Reply to Thread
Results 1 to 3 of 3

How count these combinations ?

  1. #1
    Registered User
    Join Date
    11-12-2005
    Posts
    6

    Red face How count these combinations ?

    Me again, still counting combinations..
    till now every given info here to me is working
    and i learned a lot... but still not smart enough to find the next result..

    so..

    -- Got list lotto combinations (A1 till F3000)
    -- List of 6 nr each line
    -- All numbers from (1 to 42)

    Now ...how can i calculate how much times off the 3000 lines these kind of combinations exists..

    -- combination of 2 numbers
    -- combi of 3 and 4 numbers

    i think it's maybe to complex to make such a kind of program...
    but maybe possible to calculate the combi of 2 numbers and
    a (input cell) to check manualy for combi's of a 3th or 4th number ...out of the list


    It would be kind of the one who knows a good solution to my problem
    Greetings...

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Jacko,

    If you are calculating combinations then the formula is nCk. Where n is number of objects, 42 in your case, and k is the number of groups (6 numbers at a time). To calculate the combinations the formula would be:

    (42*41*40*39*38*37)/(6*5*4*2*1) = 5,245,786

    I don't think 3000 lines is enough space for your combinations.

    Sincerely,
    Leith Ross

  3. #3
    Tom Ogilvy
    Guest

    Re: How count these combinations ?

    I wouild read the requests something like this:
    given a list of 3000 sets of six number lottery numbers, count the
    combinations that contain each set of combinations of 2 numbers drawn from 1
    to 42. I assume also for 3 and 4.

    your formula can be done with the built in worksheet formula for
    combinations

    =combin(42,6)

    In a previous post, Jacko received code that generates combinations.

    --
    Regards,
    Tom Ogilvy


    "Leith Ross" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Hello Jacko,
    >
    > If you are calculating combinations then the formula is nCk. Where n is
    > number of objects, 42 in your case, and k is the number of groups (6
    > numbers at a time). To calculate the combinations the formula would be:
    >
    >
    > (42*41*40*39*38*37)/(6*5*4*2*1) = 5,245,786
    >
    > I don't think 3000 lines is enough space for your combinations.
    >
    > Sincerely,
    > Leith Ross
    >
    >
    > --
    > Leith Ross
    > ------------------------------------------------------------------------
    > Leith Ross's Profile:

    http://www.excelforum.com/member.php...o&userid=18465
    > View this thread: http://www.excelforum.com/showthread...hreadid=484686
    >




+ 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