+ Reply to Thread
Results 1 to 7 of 7

Populating information based on selection from dropdown list

  1. #1
    Registered User
    Join Date
    09-10-2013
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Populating information based on selection from dropdown list

    Hello,

    Sorry I'm not 100% sure if this is the right subforum, if mods could please redirect me accordingly if I'm wrong that would be great.

    I'm trying to simplify a form by making a drop down menu where I can select one of my volunteers from a dropdown list for a task, and I want the end result to be that when they are selected the next two columns populate with that volunteer's email and specialization. I have the dropdown list figured out, and I have the information I want to populate filled out on another sheet next to the names I used to form the drop down list. Does anyone know if getting the info that goes with that volunteer to appear when the selection is made is possible?

    Let me know if you need more information.

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    03-12-2013
    Location
    Chicago, USA
    MS-Off Ver
    Excel 2007
    Posts
    230

    Re: Populating information based on selection from dropdown list

    You could use a vlookup function in those two columns. Lookup the person's name and return the data into the cells.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Populating information based on selection from dropdown list

    Hi and welcome to the forum

    If you do indeed what a macro for this, I will leave your post here.

    But you could do this with a very simple vlookup(). All you need is to have a list of all the relevant info, and the vlookup() will find it for you.

    =vlookup("drop-down-range",range-of-your-data,column-number-to-search-in,0)
    =vlookup(A5,$K$1:$M$20,2,0)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    09-10-2013
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Populating information based on selection from dropdown list

    Hey guys thanks for the help, I'm very new to extensive use of excel and I've never even heard of vlookup before.

    I tried to use the function as outlined, however I'm running into an error. The function returns either #VALUE or #REF every time. I've looked up both errors and can't figure out why they're showing up. Just to give you what the function looks like:

    =VLOOKUP(D4,Volunteers!B3:C9,Volunteers!B:B,0)

    Where D4 is the dropdown field, Volunteers is the sheet with the data, Column B is the names and C is the emails.

    Thank you for your patience with this newbie

  5. #5
    Forum Contributor
    Join Date
    03-12-2013
    Location
    Chicago, USA
    MS-Off Ver
    Excel 2007
    Posts
    230

    Re: Populating information based on selection from dropdown list

    Change to:

    =VLOOKUP(D4,Volunteers!B3:C9,2,False)

  6. #6
    Registered User
    Join Date
    09-10-2013
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Populating information based on selection from dropdown list

    That did it! Thank you

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Populating information based on selection from dropdown list

    Welcome to the Forum kearbear!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Replies: 6
    Last Post: 05-31-2013, 11:17 AM
  2. [SOLVED] Calculation Based On Dropdown list Selection Excel
    By rnohoy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2013, 06:16 AM
  3. Cull dropdown list options based on selection in another dropdown
    By Kiffar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2012, 01:53 AM
  4. Update a cell based on selection in dropdown list.
    By ladykickbox in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-26-2012, 07:45 AM
  5. Dynamic dropdown list selection based on combo box
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-10-2012, 10:55 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