+ Reply to Thread
Results 1 to 4 of 4

Finding partial duplicates

  1. #1
    Registered User
    Join Date
    09-24-2013
    Location
    Pennsylvania
    MS-Off Ver
    Excel 2010
    Posts
    2

    Finding partial duplicates

    I have an Excel sheet of 200,000+ names from my work's client list. I am trying to find duplicate accounts. I have used conditional formatting to narrow the list down to people with identical birthdays. In some cases a client gets married and then creates a new account with their new last name. We only need to have one account for each person.

    Is there a formula or way to have Excel show me clients that have a partial match in their name (eg: Johnson, Kate and Loucks, Kate) and share an identical birthday?

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Finding partial duplicates

    Assuming A is names, B is birthdays

    Then in C:

    =if(countifs($a$2:$a$200000,"*"&mid(a2,find(",",A2)+2,99)&"*",$b$2:$b$200000,b2)>1,"Possible Duplicate","") and copy downwards

  3. #3
    Registered User
    Join Date
    09-24-2013
    Location
    Pennsylvania
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Finding partial duplicates

    Quote Originally Posted by daffodil11 View Post
    Assuming A is names, B is birthdays

    Then in C:

    =if(countifs($a$2:$a$200000,"*"&mid(a2,find(",",A2)+2,99)&"*",$b$2:$b$200000,b2)>1,"Possible Duplicate","") and copy downwards
    Thank you for the response. I copied the formula down and it puts in the column with the formula numbers like 1,0,68. What do those mean? Am I doing this right? Thanks again.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Finding partial duplicates

    Hi and welcome to the forum

    daffodil's formula will return ONLY text saying "Possible Duplicate" or it will return a "blank" cell, it should not return any numbers.

    A possible alternative would be to use filters, and then just filter on the date?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 12-27-2013, 09:24 AM
  2. [SOLVED] Remove Duplicates, Partial Removal
    By DorianGrim in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2013, 03:16 PM
  3. Merge Duplicates with Different Partial Data??
    By Osensnolf in forum Excel General
    Replies: 0
    Last Post: 08-06-2013, 09:16 AM
  4. Replies: 2
    Last Post: 03-24-2013, 12:54 PM
  5. Replies: 3
    Last Post: 03-09-2011, 07:00 PM

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