+ Reply to Thread
Results 1 to 5 of 5

Dropdown Box Returning Multiple Values

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Dropdown Box Returning Multiple Values

    Hello,

    I am working on a sheet that has a dropdown box with managers' names and what I want is for the list of employees to populate the cells beneath the manager's name depending on which manager is selected. I have mixed success with the solution in the link below, but it does not seem to return the corresponding cells.

    http://www.excelforum.com/excel-form...one-value.html

    I have attached my worksheet (no confidential information). The work I am trying to do is in "input2" and the information that should be pulled from is in administration. Any help would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Dropdown Box Returning Multiple Values

    Try this...

    Entered in D9 and copied down until you get blanks:

    =IF(ROWS(D$9:D9)>COUNTIF(Administration!D$4:D$100,D$6),"",INDEX(Administration!E$4:E$100,MATCH(D$6,Administration!D$4:D$100,0)+ROWS(D$9:D9)-1))

    Bill Yerds? I know him well!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    04-25-2013
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Dropdown Box Returning Multiple Values

    That works! Thank you so much!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Dropdown Box Returning Multiple Values

    You're welcome. Thanks for the feedback!

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Dropdown Box Returning Multiple Values

    I'm not sure where you would get some of the data from for the Input (2) sheet, i.e. columns H I and J, as you don't have these in the Admin sheet, and presumably cell D6 should be a drop-down to select the manager's name.

    This can be done quite easily by using helper columns (e.g. column C in both sheets) to identify the appropriate records, and then an INDEX formula can extract the appropriate data. The attached file shows the basics of how to do this - just choose the manager's name in D6 and the data will automatically change.

    Hope this helps.

    Pete
    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