+ Reply to Thread
Results 1 to 3 of 3

Generate Table from Drop-Down list

  1. #1
    Registered User
    Join Date
    09-28-2010
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    13

    Generate Table from Drop-Down list

    Hello,
    I have attached an excel file to help explain what I am trying to do. On Sheet1 I have a drop down list that allows the user to select PartA, PartB, PartC, or PartD. On Sheet2 I have listed the Binders that correspond to each Part (in red). I have also listed the locations for each of the binders (in yellow).

    Here is what I would like to have happen. When the user selects a Part on Sheet1, I would like the table (in green) to automatically update so that all the binders and the binder locations update each time the user selects a different Part from the drop down list.
    Note: I just put the ‘green table’ in the spreadsheet to help explain what I want to have happen.

    Any help would be greatly appreciated.
    Attached Files Attached Files
    Last edited by scurveydog; 06-07-2011 at 12:44 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: Generate Table from Drop-Down list

    Hi

    The attached workbook has some Dynamic Named ranges

    Location =Sheet2!$H$3:INDEX(Sheet2!$I:$I,COUNTA(Sheet2!$H:$H)+1)
    Programs =Sheet2!$C$2:INDEX(Sheet2!$F:$F,COUNTA(Sheet2!$C:$C)+1)

    Then the following formulae on Sheet1 in cells C4 and D4 and copied down

    C4 =INDEX(Programs,ROW(A2),MATCH($A$4,INDEX(Programs,1,0),0))

    D4 =INDEX(Location,MATCH($C4,INDEX(Location,,1),0),2)
    Attached Files Attached Files
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  3. #3
    Registered User
    Join Date
    09-28-2010
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Generate Table from Drop-Down list

    Worked Perfectly! Thank-you very much.

+ 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