+ Reply to Thread
Results 1 to 3 of 3

Need help merging data from 3 worksheets into 1

  1. #1
    Registered User
    Join Date
    08-29-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Need help merging data from 3 worksheets into 1

    Is it possible to merge data from multiple worksheets into 1 using key cells that identifies the data ? Example:

    Worksheet 1.....................................Worksheet 2

    Column A............Column B...............Column A................Column B

    Joe......................Smith.....................132452....................Doe
    Jane....................Doe........................655468....................Smith

    I would like to merge the data from both worksheets into 1 using the key cell that ties the data from each worksheet (in this case, the last name) so that it displays as follows:

    Column A............Column B.............Column C

    Joe......................Smith...................655468
    Jane....................Doe......................132452

    I hope this makes sense..... I guess it would be like joing two tables using a Key identifier for each table like you would in SQL ???

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Need help merging data from 3 worksheets into 1

    Hi lxndeb

    Edit...sorry, I just reread your Thread Title and see that you are merging 3 sheets into 1. I'll modify the code and repost if someone hasn't already done so.

    Try this code
    Please Login or Register  to view this content.
    Let me know of issues.
    Last edited by jaslake; 05-05-2011 at 03:54 PM.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Need help merging data from 3 worksheets into 1

    Hi lxndeb

    This code will merge data from as many worksheets as you have in the file. It's merging the data to Sheet1 so you may need to change the Sheet Number references.
    Please Login or Register  to view this content.
    It's been tested on a dummy file. Let me know of issues.

+ 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