+ Reply to Thread
Results 1 to 11 of 11

Match names between two sheets

  1. #1
    Registered User
    Join Date
    10-28-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    6

    Match names between two sheets

    Hello experts,

    How do I link 2 spreadsheets together? I don't know if I used the term "link" correctly. As you can see, I created 2 sheets, there are name that the same and there are name in spreadsheet 2 that aren't in spreadsheet 1.

    I know the first step that I need to do is to seperate first and last name in 2 columns then how do I tell the Excel to let me know that Bob Smith is not in Spreadsheet 2?

    Thank you for all your help!

    Sheet 1:

    Name

    Alice Jone
    Bob Smith
    Claire Kennedy
    Robert Cane
    Amanda Chang

    Spreadsheet 2:

    Alice Jone
    Joe Adam
    Claire Kennedy
    Robert Cane
    Julie Nguyen
    Michael Hoang

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: How to link 2 spreadsheets

    One way...

    In sheet1, place this in B2 and copy down... =COUNTIF($A$2:$A$6,Sheet2!A2)

    A 1 shows a match and a 0 means no match found...
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    10-28-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Match names between two sheets

    Thank you so much Jeff!!!

    One more question, if the 2 spreadsheets are small then it would be easier for me to insert new line (new name) but if I have about 1000 lines, it would be time consuming to check each line to see which name is missing so I can add to a new spreadsheet. Would you show me the fastest way to know which name that missing so I can add lines?

    Thanks again Jeff!!!

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Match names between two sheets

    JulieH,

    I can't think of an easy way to do this, plus, not all that sure how you are using the data. At least for me, this would make a difference in any type of approach.

    Do you have a sample you can attach with how your sheets are setup and all other data involved?

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,414

    Re: Match names between two sheets

    I think the fastest way is to apply autofilter to column B of Sheet1, and select 0 from the filter drop-down. Then highlight the visible names in column A, click <copy>, then click on Sheet2, column A, press <end> followed by down-arrow then down-arrow to move to the next empty cell then press <enter> to paste your list in there.

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    10-28-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Match names between two sheets

    Jeff,

    I just started a new job so they expected me to know a lot with Excel formula and etc... I will try to get the sample spreadsheets and will post it here.

    As alwas, THANK YOU for your help!!!

    Best regards,

    Julie

  7. #7
    Registered User
    Join Date
    10-28-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Match names between two sheets

    Hello Pete!

    I'm lost at this part "Sheet2, column A, press <end> followed by down-arrow then down-arrow to move to the next empty cell then press <enter> to paste your list in there."

    It would be easier if I have sample spreadsheets, I will post it when I have it ready.

    Thank your for your help.

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,414

    Re: Match names between two sheets

    That part means to select Sheet2 by clicking on the tab (you were in Sheet1, where you copied the visible names), then ensure that you are in column A (where your other names are located), then press the <End> key and then the down-arrow key, (which will move you to the bottom cell containing data) then press the down-arrow key once more (which will take you into the next empty cell below your existing names), and then press the <Enter> key (which will paste the names that were filtered on Sheet1, i.e. the missing names, below your existing names on Sheet2.

    Hope this helps.

    Pete

  9. #9
    Registered User
    Join Date
    10-28-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Match names between two sheets

    Hello Jeff & Pete and other experts,

    Please see reports attached. I only uploaded 2 files, 1 for September and 1 for October but I have 12 reports for 12 months of the year. Here is what I need to see:

    As you can see, the October invoice, line 12 the highlighted in yellow, this line wasn't in the September invoice. And line 16, there is a Term Date . I would like to see these two report link into 1 master report, meaning the master report will show Kim Alton (line 12) and line 16 term date. The premium on column J will be a accumulate of each month premium.

    Is it making any sense?

    A 2nd report master that I will need is:
    Take an example that line 5 (Acebu), I want the master report show 12 lines, 1 line for each month. Meaning the master report will gather all 12 reports into 1 master report that have 12 lines for each month.

    As always, thank you for your help!!

    Julie
    Attached Files Attached Files

  10. #10
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Match names between two sheets

    Hi Julie,

    If this was my project the first thing I would do is do away with multiple files and add all months in one workbook in individual tabs.

    In the end this will make the consolidation much easier.

    Look at the October sheet and the formula in the last column. A one means a match against the September sheet and a zero means no match.

    The zero on ALTON, KIM tells me I should add that row on the September sheet.

    As for consolidation, now we make a Master sheet and use a sum formula to sum up column J through all month sheets.

    Caution, all rows on all month sheets must match for the Master sum to turn out right.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    10-28-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Match names between two sheets

    Hello Jeff,

    As always, thank you for your help!

    I think I know what you are trying to say. Let's me take it home, "study it" and see if I can figure it out.

    Again, THANK YOU!!!

    You are great!!!

    Julie

+ 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