+ Reply to Thread
Results 1 to 9 of 9

Propagate data from a drop down list

  1. #1
    Registered User
    Join Date
    10-21-2014
    Location
    North Carolina
    MS-Off Ver
    Mac 2011
    Posts
    6

    Propagate data from a drop down list

    I am lost. I have a list of restaurants. I created a drop down list for these restaurants in a form I want to use. When I click on a restaurant I want to automatically have it fill in three other cells, one for the company number, one for the company name and one for the Restaurant ID. The form is simple and would look something like this:

    Steve's Burger Joint Austin
    Company Name Restaurant ID
    13 Master Restaurant Group 11259


    All four of these are in separate columns (G,H,I and J) but I have only made a drop down list of the individual restaurant name to put into this form.
    If I pick Steve's Burger Joint Austin from the list, how can I get Excel to automatically fill in 13, Master Restaurant Group and 11259?????

    I have tried VLOOKUP, INDEX and MATCH and must be doing something wrong because none of them work.

    If anyone can help it would be greatly appreciated.

    Steve

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Propagate data from a drop down list

    Is this on a Userform, or just a worksheet? If a worksheet, is the dropdown a combobox object, or is it a cell with data validation?
    Last edited by natefarm; 10-22-2014 at 05:08 PM.
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

  3. #3
    Registered User
    Join Date
    10-21-2014
    Location
    North Carolina
    MS-Off Ver
    Mac 2011
    Posts
    6

    Re: Propagate data from a drop down list

    It is a worksheet and data validation cell

  4. #4
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Propagate data from a drop down list

    Vlookups should be all you need. See example: Restaurants.xlsx

  5. #5
    Registered User
    Join Date
    10-21-2014
    Location
    North Carolina
    MS-Off Ver
    Mac 2011
    Posts
    6

    Re: Propagate data from a drop down list

    I thank you for your response. I figured it was something simple but I am not an Excel expert and try working on these things from scanning forums online.

    I tried something like this at least 20 times and could not get it to work. I guess I am not sure how the second, third and fourth variable work.....You looked up the selection (which was a name you created for the list of restaurants), I am not sure why or what "restaurants", 2, False represent and how they work together. I will have to re-read the Vlookup command.

    Thanks Again

  6. #6
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Propagate data from a drop down list

    Variable 1 (Selection) is the name I gave to range B3 (check the Name box). Variable 2 (Restaurants) is the name I gave to the range G11:J13. Variable 3 is the desired column number within the Restaurants range. Variable 4 = FALSE means you want an exact lookup match to the selection, rather than the closest value.

  7. #7
    Registered User
    Join Date
    10-21-2014
    Location
    North Carolina
    MS-Off Ver
    Mac 2011
    Posts
    6

    Re: Propagate data from a drop down list

    I really appreciate your help. I am actually not as dumb as I thought I was. Everything you did worked. I did a couple of samples and it worked and then tried it on my worksheet and it still did not work. Finally I read somewhere online in another location that the first character in the array cannot be a space or a straight ' or curved ' and a couple of other symbols. I went back to the file that was sent to me and the restaurant names all began with a space and a straight ' symbol. I removed those and the vlookup worked like a champ. So the whole time it was some bad characters keeping it from working.

    Thanks again for your help

    Steve

  8. #8
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Propagate data from a drop down list

    Stay away from those bad characters

  9. #9
    Registered User
    Join Date
    10-21-2014
    Location
    North Carolina
    MS-Off Ver
    Mac 2011
    Posts
    6

    Re: Propagate data from a drop down list

    Just like Breaking Bad

+ 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. Drop down list leading to data in a further drop down list
    By Torchdesign in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 01-27-2014, 10:36 AM
  2. Raw Data to propagate another workbook.
    By dedavie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2013, 04:22 PM
  3. Replies: 3
    Last Post: 04-16-2012, 10:14 PM
  4. Replies: 1
    Last Post: 03-08-2012, 05:02 PM
  5. Replies: 6
    Last Post: 10-23-2011, 03:25 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