+ Reply to Thread
Results 1 to 4 of 4

auto populate cell data based on specific selection in another cell

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    Melbourne Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    auto populate cell data based on specific selection in another cell

    Hi - I have a data validation cell with a list of names and what i want to do is ...when a name is selected i want to auto populate the remaining columns with the following 5 columns from another sheet to save entering them manually - how can i do this? Open to all guidance :-)

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: auto populate cell data based on specific selection in another cell

    Assuming sheet2 is a "database" where the values in column A have additional information listed in columns B:F (phone numbers, addresses, etc.) then on SHeet1 you would use a VLOOKUP formula to bring over the information.

    Assuming on sheet1 A2 you have selected a name that matches a row in column A of sheet2, you could use:

    B2: =VLOOKUP(A2, Sheet2!$A:$F, 2, 0)
    C2: =VLOOKUP(A2, Sheet2!$A:$F, 3, 0)
    D2: =VLOOKUP(A2, Sheet2!$A:$F, 4, 0)
    E2: =VLOOKUP(A2, Sheet2!$A:$F, 5, 0)
    F2: =VLOOKUP(A2, Sheet2!$A:$F, 6, 0)


    Read the help files in Excel on VLOOKUP.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-07-2013
    Location
    Melbourne Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: auto populate cell data based on specific selection in another cell

    Quote Originally Posted by JBeaucaire View Post
    Assuming sheet2 is a "database" where the values in column A have additional information listed in columns B:F (phone numbers, addresses, etc.) then on SHeet1 you would use a VLOOKUP formula to bring over the information.

    Assuming on sheet1 A2 you have selected a name that matches a row in column A of sheet2, you could use:

    B2: =VLOOKUP(A2, Sheet2!$A:$F, 2, 0)
    C2: =VLOOKUP(A2, Sheet2!$A:$F, 3, 0)
    D2: =VLOOKUP(A2, Sheet2!$A:$F, 4, 0)
    E2: =VLOOKUP(A2, Sheet2!$A:$F, 5, 0)
    F2: =VLOOKUP(A2, Sheet2!$A:$F, 6, 0)


    Read the help files in Excel on VLOOKUP.
    :-) Thanks so much

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: auto populate cell data based on specific selection in another cell

    I've marked this thread as SOLVED for you.
    Next time, select Thread Tools from the links above and mark this thread as SOLVED. Thanks.

+ 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