Closed Thread
Results 1 to 3 of 3

Combinations

  1. #1
    Registered User
    Join Date
    02-13-2009
    Location
    New York, US
    MS-Off Ver
    Excel 2007
    Posts
    2

    Combinations

    I have a list of 30 names. I need all the possible sets of 3 combinations, with no repeats. There are 4060 possible combinations. I believe there is a formula to list all 4060 possilbe set of 3 combination. Can someone help me? What is the formula?

    Example, (Mary John Mike) is one set of three combination. Mike Mary John is considered the same thing.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Combinations

    Here's a sample of a macro that will accomplish this. It's installed in this workbook, just run the macro.

    From the Ozgrid site here:
    http://www.ozgrid.com/forum/showthread.php?p=148992
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Combinations

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Entia non sunt multiplicanda sine necessitate

Closed 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