+ Reply to Thread
Results 1 to 5 of 5

Autofill a cell based on selection in drop down menu

  1. #1
    Registered User
    Join Date
    11-03-2003
    MS-Off Ver
    2019
    Posts
    8

    Autofill a cell based on selection in drop down menu

    I have 3 cells used for Vendor Name, Street Address and City/State/Zip. The top cell I created a drop down menu with all vendor names. How do I go about making the Street Address and City/State/Zip cells fill in based on which vendor I choose?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Autofill a cell based on selection in drop down menu

    Hi fyrfytr265,

    I'd make a table of all my vendors with 5 columns. Vendor Name, Address, City, State, Zip.

    Then in another section I'd have a dropdown of all Vendor Names and I'd select one of them. Then use VLookup of the dropdown cell to find the Address, City, etc.

    See attached for a simple example.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    12-28-2011
    Location
    India
    MS-Off Ver
    2003, 2007 and 2010
    Posts
    34

    Re: Autofill a cell based on selection in drop down menu

    Hi Both,

    I believe there should be small correction in the formula listed in your workbook. Corrected and attached it, please refer to it.

    Thanks,
    Attached Files Attached Files
    Hari
    "Trying to find excel boundaries"

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Autofill a cell based on selection in drop down menu

    Hi reachhari,

    It looks like I used "Column()" in my formula and you put in a reference for the column, like "Column($B1)".
    In reading http://office.microsoft.com/en-us/ex...010062409.aspx
    the column reference is OPTIONAL and not needed if your are returning the column number of the formulas' column.

  5. #5
    Registered User
    Join Date
    01-30-2014
    Location
    Illinois, US
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Autofill a cell based on selection in drop down menu

    I am unable to get the VLookup formula to work for me.

    I have the DC names I need listed on the left hand side and have made a drop down list of this selection. When I am then trying to have it auto fill the cells beneath with the addresses linked to each DC name it continues to tell me that my value is incorrect.

+ 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