I need to merge two data sheets in excel. Each worksheet has a common column, the number, but some numbers are on one page but not the other and some are on both pages. Additionally, all of the headers on worksheet one are different than worksheet two. I need to merge the two sheets together such that worksheet two's columns are at the end of worksheet one and so that each number in column a is not repeated in any row.

  • Sorting and then careful copying and pasting is your friend Commented Oct 14, 2014 at 18:52
  • Sometimes it takes more work to explain it, than actually to do it :)... I would create a 3rd sheet, and copy all the numbers from each of the first 2 sheets to that one. Then do a Remove Duplicates on all of them (any probably a sort to make it look nicer) Then I would to a vlookup() on that number and lookup Sheet1 and grab each of the values to Columns A-->M (or what ever), then a vlookup() on Sheet2 to Columns N-->Z (or what ever). to make it look nicer use =if(isna(vlookup()),"",vlookup()) Does this make sense to you? (else I can try to explain more) Commented Oct 14, 2014 at 19:23
  • 1
    @BrianFolan Why not post that as an answer?
    – CharlieRB
    Commented Oct 14, 2014 at 19:40
  • Didn't feel like I did enough work to put as an answer :)... posted now. Commented Oct 14, 2014 at 19:41

1 Answer 1


I've done a good search of the rules, and haven't found any rules to stop me linking to an excel file i've uploaded with a mock up of the answer.


I have 1-->8 on Sheet1; and 1,2, and 5-->10 on Sheet2.

Here I can easily just put 1-->10 on sheet3 (though actually did copy and paste all the numbers from Sheet1 & Sheet2, into Sheet3, then did a Remove duplicates as i suggested in my comment).

Then with alot of vlookup() formulas, I merged all the cells


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .