+ Reply to Thread
Results 1 to 3 of 3

Creating Unique Limited Sets Based on List

  1. #1
    Registered User
    Join Date
    04-23-2019
    Location
    Indiana
    MS-Off Ver
    Excel 2016
    Posts
    2

    Creating Unique Limited Sets Based on List

    Hello all,

    This might be a silly one. A group of college friends play the NBA 2K video game competitively in our spare time. We were considering different lineups, and I being the Data Analyst for my career, thought I could build something out in Excel but find myself stumped. We have six players on the team. Only five can play at one time. Of the six players, four have two player prototypes. This leads to ten total prototypes. What I am looking to do is create every possible five man lineup possible, with one rule; no one user can be in the same lineup twice. Making this slightly more difficult for me than saying "Every possible combination". I'm looking to make every possible unique set of 5, and no name can be placed twice in the same set.

    2k Builds.PNG

    For those who follow basketball, in this case I would not be concerned with mismatched positions. Just looking for a way to sweep up and display every possible 5 build set, while restricting to the name listed just once in each set.

    Thanks in advance for any assistance!

    EDIT : I have attached the sample file now as well with a view of what I'm looking to spit out automatically. The "All Lineups" tab contains what you see in the screenshot and a sample of where I am looking to get. In this instance. I have removed "Evan" from the 5 person set. This leaves Fent, Beeks, Hollis, Derek, Mendez. I have then placed each of the 8 possible combinations that can come with THAT specific set of 5 based on the potential variable of certain names have two builds. I would be looking to replicate that process for each 5 person scenario.
    Last edited by CodyHollis21; 04-23-2019 at 11:15 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Creating Unique Limited Sets Based on List

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-23-2019
    Location
    Indiana
    MS-Off Ver
    Excel 2016
    Posts
    2

    Re: Creating Unique Limited Sets Based on List

    Ali,

    Thank you for the reply and breakdown of best practice! I have added the attachment and given a manual sample of what I am trying to get to. Hopefully this can direct in the proper direction!

+ 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. [SOLVED] Creating a list of unique values based on multiple criteria
    By 27POP27 in forum Excel General
    Replies: 5
    Last Post: 03-13-2019, 11:26 PM
  2. [SOLVED] Creating a list of unique values based off criteria
    By kristentringali in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-23-2018, 12:54 PM
  3. [SOLVED] Extract unique limited, number of values based on criteria in ascending order
    By Villalobos in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-03-2017, 04:56 AM
  4. Creating Unique List based on specific criteria
    By Dan79 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2017, 09:37 AM
  5. [SOLVED] VBA Creating a list of unique values from one column based on criteria from another column
    By bilbo85 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-09-2016, 02:38 PM
  6. [SOLVED] Unique List - 2 data sets
    By pauldaddyadams in forum Excel General
    Replies: 15
    Last Post: 01-24-2015, 07:52 AM
  7. Unique list formula as vba for large data sets
    By Morgraal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2013, 04:36 AM

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