+ 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)

Similar Threads

  1. Replies: 3
    Last Post: 07-30-2015, 10:33 PM
  2. Drop down list with that autofills other cells
    By WoooSaaaW in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2015, 09:35 PM
  3. Replies: 3
    Last Post: 01-31-2013, 06:22 PM
  4. [SOLVED] I cant work out how to create a drop down menu that relates to another drop down menu
    By louise2613 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-18-2012, 01:49 PM
  5. Drop downs & Autofills
    By mooref3 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2011, 08:39 PM
  6. Replies: 2
    Last Post: 01-30-2009, 04:23 PM
  7. [SOLVED] Drop down menu-How do you produce a drop down menu in a single cell in Excel
    By Freddo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-04-2006, 04:35 AM

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