+ Reply to Thread
Results 1 to 5 of 5

Combine 2 worksheets & fill in missing data

  1. #1
    Registered User
    Join Date
    02-10-2010
    Location
    Green Bay, WI
    MS-Off Ver
    Excel 2003/2007
    Posts
    14

    Combine 2 worksheets & fill in missing data

    I searched for a couple hours on how to figure this out but no real luck. Here's the situation:

    I have 2 sheets in the same workbook (sheet 1 & 2) with one matching column (A) of info and need them to combine and fill the missing data. Each sheet has identical column heading and the amount of data is not the same; sheet 1 has ~2000 rows and the other ~5000. Sheet 1 is consolidated so I would like to fill in the missing cells from sheet 2.

    Ex. Sheet 1

    Email Last First Title Company Contact
    1 [email protected] x Bob x x SPAM

    Ex. Sheet 2

    Email Last First Title Company Contact
    13 [email protected] Jones Bob Engineer ABC x

    As you can see, the missing cells in sheet 1 could be filled from the data in sheet 2; also note that the above info is on different rows (and will be random for each case). I only want the columns to fill in that have a matching email, the other 3000 rows in sheet 2 do not match with sheet 1 and I don't want the rest of it to transfer over.

    Hopefully this is enough info to help. Thanks in advance!
    Last edited by Pfafkl13; 02-11-2010 at 04:20 PM. Reason: add more info

  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: Combine 2 worksheets & fill in missing data

    Please Login or Register  to view this content.
    Can you post up your sample workbook? Click GO ADVANCED and use the paperclip icon to post up your workbook.
    Last edited by JBeaucaire; 02-11-2010 at 12:10 AM.
    _________________
    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
    Registered User
    Join Date
    02-10-2010
    Location
    Green Bay, WI
    MS-Off Ver
    Excel 2003/2007
    Posts
    14

    Re: Combine 2 worksheets & fill in missing data

    http://spreadsheets.google.com/ccc?k...oeGxwQ3c&hl=en

    I couldn't get an upload to work for some reason so here's a Google Docs version.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Combine 2 worksheets & fill in missing data

    Based on that sample, put this in Sheet1 B2 and copy down and across:

    =IF(ISNUMBER(MATCH($A2, Sheet2!$A:$A, 0)), INDEX(Sheet2!B:B, MATCH($A2, Sheet2!$A:$A, 0)), "")
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-10-2010
    Location
    Green Bay, WI
    MS-Off Ver
    Excel 2003/2007
    Posts
    14

    Re: Combine 2 worksheets & fill in missing data

    Thanks! You're a lifesaver.

    I didn't think it was so simple...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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