+ Reply to Thread
Results 1 to 4 of 4

Merge multiple spreadsheets with common field

  1. #1
    Registered User
    Join Date
    10-19-2010
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    2

    Merge multiple spreadsheets with common field

    Hi I have two spreadsheets with a common field and I need to merge them into a separate third spreadsheet with matching data from both.

    I attached an example workbook with simplified sample data.

    Sheet 1 has Product_id and SKU fields. Sheet 2 has SKU and Price fields. I need to merge them into Sheet 3 so all three fields are displayed.

    Unfortunately in the real data there are literally 8,000+ entries. Roughly 90% of the SKU's are in both spreadsheets, but some SKU's are in one but not the other and visa versa, so sorting, copying and pasting will not work.

    I suspect I need the equivalent of IF SKU (Sheet1) = SKU (Sheet2), then print Product_id, SKU and List Price in Sheet 3, but I don't know how to do that in Excel.

    Thank you very much for any help you can provide.
    Attached Files Attached Files

  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 multiple spreadsheets with common field

    Like so:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    _________________
    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
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Merge multiple spreadsheets with common field

    or
    Please Login or Register  to view this content.



  4. #4
    Registered User
    Join Date
    10-19-2010
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Merge multiple spreadsheets with common field

    Thank you for the help! I'll try both of these with the real data. Hopefully I won't run into any issues, but I may have a follow-up question or two if I run into trouble. Thanks again!

+ 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