+ Reply to Thread
Results 1 to 5 of 5

Drop-down menu that autofills cells

  1. #1
    Registered User
    Join Date
    12-06-2018
    Location
    Birmingham, AL
    MS-Off Ver
    365 Business
    Posts
    3

    Drop-down menu that autofills cells

    Is there a way to create a drop-down menu that you have pre-input names in that brings back the addresses for those names (stored in another tab) when you make the selection in cells below the drop-down? I basically want it to autofill the address in the correct line when I select that customer from a drop-down.

  2. #2
    Forum Contributor
    Join Date
    12-15-2019
    Location
    Not here
    MS-Off Ver
    2010
    Posts
    257

    Re: Drop-down menu that autofills cells

    Yes that can be done with index match formulas. Please see attached sample file.

    Formula for B2:

    =IFERROR(INDEX('Personal Info'!B$2:B$10,MATCH(Formulas!$A2,'Personal Info'!$A$2:$A$10,0)),"")

    Drag across and down for your desired range.
    Last edited by crazyforexcel; 02-14-2020 at 12:45 PM.
    This user is no longer subscribed to this thread.

  3. #3
    Registered User
    Join Date
    12-06-2018
    Location
    Birmingham, AL
    MS-Off Ver
    365 Business
    Posts
    3

    Re: Drop-down menu that autofills cells

    This works well for a list. But I am creating a form, so I need to pull that info from a drop-down menu instead of an individual cell.

  4. #4
    Forum Contributor
    Join Date
    12-15-2019
    Location
    Not here
    MS-Off Ver
    2010
    Posts
    257

    Re: Drop-down menu that autofills cells

    How about with data validation from a list called 'Name' ?

    The you select the name and the rest fills in.

  5. #5
    Registered User
    Join Date
    09-12-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2013
    Posts
    38

    Re: Drop-down menu that autofills cells

    Sounds like you want to select the name then use vlookup to return the matching address. So in the form field where you want address use =vlookup(Name cell, cell range with name and address, column with address, false)
    assumptions, you have a tab with a table with columns name, address. vlookup has a limitation of needing the name to the left of address, can be worked around using index and match or adding a second copy of the address field to the right of name...
    Ron

    Nothing is guaranteed

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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