+ Reply to Thread
Results 1 to 4 of 4

Selecting a value from a dropdown list (data validation) which will populate cells..

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    76

    Selecting a value from a dropdown list (data validation) which will populate cells..

    Hi Excel Forum.


    I am attempting to create something (not sure if I need VBA) linking my database of football players to the Football Lineups spreadsheet attached.


    =Starting Lineup!C1 has a dropdown with various football formations lists (G1:G17)

    What I would like to happen is this -
    Selecting a value in C1 will find the formation from the second sheet (Formations), copying the exact values into the grid between cells A1:E13 on the first sheet. This in turn will create a further dropdown on each of the 11 positions on the Starting Lineup sheet, which I will link to my database allowing me to select players for each position.

    So, for example, selecting 4411 from =Starting Lineup!C1
    will populate the sheet as follows;
    ST which is in =Formations!U17 will appear in ='Starting Lineup'!C3
    AMC which is in =Formations!U19 will appear in ='Starting Lineup'!C5
    etc etc

    And then - how do I create a new dropdown from these populated cells in A1:E13 which will allow me to link it to my database of players
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Selecting a value from a dropdown list (data validation) which will populate cells..

    Hi

    Welcome to the forum

    Please click on attachment workbook.

    I add other sheet (Database) how it work with dropdowm with this formula in Starting Lineup cell B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then copy cross and down
    Column A hide them..
    Attached Files Attached Files
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  3. #3
    Registered User
    Join Date
    11-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    76

    Thumbs up Re: Selecting a value from a dropdown list (data validation) which will populate cells..

    micope21 thank you very very much indeed, that is exactly what I was after, and I am very grateful.

    Could you shed any light on the next bit?
    And then - how do I create a new dropdown from these populated cells in A1:E13 which will allow me to link it to my database of players
    I have attached the updated workbook with a list of Players.

    Selecting a team ='Starting Lineup'!B1 for example Atalanta
    and a formation ='Starting Lineup'!D1 442

    I am hoping to be able to select players listed for Atalanta (I think this might need a VLOOKUP) =Players!A5:A31 for each of the positions, so ST ='Starting Lineup'!C3 GK ='Starting Lineup'!D13 etc etc giving me something like the attached screenshot where a few players have been selected.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by milkychips; 11-08-2012 at 11:42 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Selecting a value from a dropdown list (data validation) which will populate cells..

    Hi

    Please click on attachment.

    Player name done.

    Hope this solved it.
    Attached Files Attached Files

+ 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