+ Reply to Thread
Results 1 to 2 of 2

merge tables

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    27

    merge tables

    I have a spreadsheet with unique identifiers.

    I would like to add a column from another spreadsheet which also has unique identifiers - but some may be missing and there may be some missing so cannot simply cut and paste over

    any idea on merging the two sheets by this unique identifer?

  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: merge tables

    Assuming:

    1) Sheet1, codes are in column A, we wish to add to this sheet
    2) Sheet2, codes are in column A, we wish to extract from this sheet and add to sheet1
    3) Sheet2, column M is empty and can be used to aid
    4) Sheet2 row1 is titles or empty, data starts at row2

    =====================


    1) In sheet2 M2 put this formula, then copy down

    =ISNUMBER(MATCH(A2, Sheet1!A:A, 0))

    Now you see a set if TRUE/FALSE answers for each row.

    2) Highlight column M

    3) Turn on the Data > Filter

    4) Filter the column for FALSE

    5) Highlight all the visible data in column A, copy and paste in on sheet1 below the current data

    6) Turn off the sheet2 Filter and clear column M.
    _________________
    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!)

+ 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