+ Reply to Thread
Results 1 to 7 of 7

Custom list based on value

  1. #1
    Registered User
    Join Date
    12-01-2013
    Location
    England
    MS-Off Ver
    Excel for Mac 2011
    Posts
    10

    Custom list based on value

    Hi guys, it's been a while since I've used Excel and now I'm racking my brains trying to remember how everything works.

    Basically I would like a custom list in column B of the lineup sheet for all players in the squad sheet who match the given position. I would also like the age, overall and potential of the selected player to carry over to the lineup sheet.

    I used to be able to do this kind of thing easily but I no longer work with Excel on a day-to-day basis and so I was hoping the kind folk on this forum may be able to point me in the right direction

    Thanks in advance,

    djg1991
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Custom list based on value

    Do you want to pick the lineup yourself, or do you want the program to pick a lineup based on Potential or Rank?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    12-01-2013
    Location
    England
    MS-Off Ver
    Excel for Mac 2011
    Posts
    10

    Re: Custom list based on value

    I'd like to pick the lineup myself. Haven't gotten my head around the ranking column yet, but ideally I'd like it to rank the players within their position - i.e. GK#1, GK#2, CB#1, CB#2 - although this would be purely for my own benefit.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Custom list based on value

    Here you go. I'm certainly glad you have the squad in a table. That makes Excel life so much easier as pivot tables and formulas that reference tables don't have to be changed when the size of the table is changed.

    If you look at the pivot lookups, you'll see that there are a series of pivot tables each with a filter for the position. If you change the squad data, refresh any one of these pivot tables and the rest will follow suit since they are all based on the same data source.

    Each one of the pivot tables is overlaid with a named dynamic range called List_GK, List_CB, etc. If you want to know how this is done, see this article: http://www.utteraccess.com/wiki/inde...Dynamic_Ranges. Or you can take it on faith that the lists will expand and contract based on the number of players available for the position.

    The lists are used for data validation in column B on the Lineup Sheet and the other cells use VLOOKUP to get the information based on the player selected.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-01-2013
    Location
    England
    MS-Off Ver
    Excel for Mac 2011
    Posts
    10

    Re: Custom list based on value

    Thanks man! Any idea how I can go about getting the rank column to work automatically?

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Custom list based on value

    Just one more Vlookup.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-01-2013
    Location
    England
    MS-Off Ver
    Excel for Mac 2011
    Posts
    10

    Re: Custom list based on value

    Excellent, thanks again!

+ 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 Custom List from a Master List
    By djshane in forum Excel General
    Replies: 8
    Last Post: 06-03-2016, 06:04 PM
  2. [SOLVED] Custom sort without custom list
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-12-2016, 02:10 PM
  3. Drop-Down List with List and Custom Data Validation
    By KyleElliott in forum Excel General
    Replies: 4
    Last Post: 05-03-2014, 08:31 AM
  4. Replies: 1
    Last Post: 04-24-2014, 12:11 AM
  5. [SOLVED] VBA to Custom Sort Data Based on Referenced List
    By Kehoth01 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-21-2014, 05:51 PM
  6. Replies: 9
    Last Post: 06-27-2013, 05:02 PM
  7. Replies: 5
    Last Post: 03-01-2012, 01:56 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