+ Reply to Thread
Results 1 to 5 of 5

removing duplicates

  1. #1
    Registered User
    Join Date
    03-22-2013
    Location
    Longmont, CO
    MS-Off Ver
    Excel 2007
    Posts
    2

    removing duplicates

    I have to excel spreadsheets (both created in 2007.) The first has last name, first name, and email address. The second spreadsheet only has first name and last name. I want to remove from spreadsheet 1 any row of data (first name, last name, email address) that matches a row in spreadsheet 2 (first name and last name only.) In other words, if an particular person's first and last name listed in spreadsheet 2 is also listed in spreadsheet 1, I want it identified and/or automatically removed from spreadsheet 1. How do I do this? The 2 spreadsheets are currently in separate workbook files.

    Thanks.

    Rob

  2. #2
    Registered User
    Join Date
    04-13-2012
    Location
    Leeds, UK
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: removing duplicates

    You could do a lookup to put the email address on spreadsheet 2.

  3. #3
    Registered User
    Join Date
    03-22-2013
    Location
    Vancouver BC Canada
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: removing duplicates

    1) concatenate the first and last name on both sheets to create some full name like "Bob Brown"
    2) sort both sheets by the new full name
    3) vlookup on the full name
    4) manually remove the rows from worksheet 1

    OR write some VBA to automate this

  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: removing duplicates

    I concur, VLOOKUP is your friend here. Should be doable without VBA.
    _________________
    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!)

  5. #5
    Registered User
    Join Date
    03-22-2013
    Location
    Longmont, CO
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: removing duplicates

    Thank you everyone. And I did attempt to follow the instructions (I am definitely a novice.) I concatenated the last,first columns into one column (combining lastfirst name) on both spreadsheets. However, when I open the Vlookup table, I do not know what to do from there. (what cell to click on for "lookup value," which to click on for "table array"... "column index" Part of my challenge may be that I'm using to spread sheets.

+ 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