+ Reply to Thread
Results 1 to 3 of 3

Auto populate using data from another worksheet

  1. #1
    Registered User
    Join Date
    06-21-2013
    Location
    Bournemouth
    MS-Off Ver
    Excel 2010
    Posts
    1

    Question Auto populate using data from another worksheet

    Hi there guys

    I'm creating a membership database, and as part of it want to be able to quickly fill out an attendee's list for different events complete with certain sets of information. To do this I have a complete set of member details, with a member number at the start of the row (e.g. A1 = Member number, B1 = Member Name, C1 = member address etc.). I am looking for a way to use the member number to take certain parts of this info and create an attendees sheet without me having to fill out every cell myself (So i put MN001 into A1 and cells B1, C1, D1 and E1 all take preset data from the overall members sheet that link to member MN001)

    Is this an IF command or is there another way to do this?

    Ta!

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Auto populate using data from another worksheet

    This is an example doing what you want...

    With this method one has to "code" the attendees..

    If I may, what if you type the attendees last name and have the procedure filter all those attendees with similar last names so you can choose from it and automatically fill the info and code.
    Attached Files Attached Files

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Auto populate using data from another worksheet

    Hi and welcome to the forum

    Take a look at using the vlookup() function. Something like....

    =vlookup(A2,sheet1!$A%1:$E$500,2,0)
    where....
    A2 is the member number you enter
    sheet1!$A%1:$E$500 is the range of data on sheet1 (adjust as needed)
    ,2, is the column to return the data from - change this to 3, 4 etc for each succeeding column
    ,0 is for an exact match

    If the headings on each sheet are identical, instead of ,2, you could use this instead...
    ,match(B$!,sheet1!$A$1:$E$1,1),
    so the formula would then be...
    =vlookup(A2,sheet1!$A%1:$E$500,match(B$!,sheet1!$A$1:$E$1,1),0)

    Yopu can then just copy that across and down with no need to change the column number
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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