+ Reply to Thread
Results 1 to 5 of 5

Need a list of combinations

  1. #1
    Registered User
    Join Date
    06-16-2013
    Location
    Tampa FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Post Need a list of combinations

    Here's my situation. I'm the captain of a pool team. There are 8 members on the team and each has a skill rating of from 2 to 9. In any given match I can only play 5 players and the total of their 5 skill ratings cannot exceed 23. I would like a spreadsheet that allows me to enter the 8 different skill levels (note that these can vary from week to week) and have a spread sheet that lists all the combinations I can play that total 23 or less. Some rules:
    • No player can play more than once in a match.
    • All numbers are whole numbers, no decimals.
    • Must play 5 players. No more. No less.

    Thanks in advance for your help.

    Bill

  2. #2
    Registered User
    Join Date
    04-22-2013
    Location
    The Netherlands
    MS-Off Ver
    Excel 2003/2007 & 2010
    Posts
    90

    Re: Need a list of combinations

    Sounds like a perfect challenge for Solver. First, install solver (options --> add-ins --> solver).

    Then open attached file, open solver and hit solve.
    Attached Files Attached Files

  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: Need a list of combinations

    Please Login or Register  to view this content.
    The values in A12:E67 are the 56 combinations of 8 players chosen 5 at a time. The formula in F12 totals their rank:

    =SUM(LOOKUP(A12:E12, $A$2:$B$9))

    It MUST be confirmed with Ctrl+Shift+Enter instead of just Enter.

    You can sort the lower table by rank, or filter for values <=23
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    06-16-2013
    Location
    Tampa FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Need a list of combinations

    The output you show looks like the right solution. When I run solver I get an error 53 file not found Solver DLL.

  5. #5
    Registered User
    Join Date
    04-22-2013
    Location
    The Netherlands
    MS-Off Ver
    Excel 2003/2007 & 2010
    Posts
    90

    Re: Need a list of combinations

    Did you install the Solver Add-in properly?

    Shg's solution obviously works as well but may be a cumbersome approach when you start adding players. Solver uses linear optimization to arrive at an optimal solution.

    On part of installing Solver I cannot help you any further I'm afraid, that must be a local issue. Installing the add-in works normally on all Excel versions (I've used 2003, 2007 and 2010).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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