+ Reply to Thread
Results 1 to 2 of 2

Custom Filter: Duplicates

  1. #1
    Registered User
    Join Date
    10-31-2011
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2010
    Posts
    1

    Custom Filter: Duplicates

    Yes, filter duplicates is easy if the data is formatted the same.

    However, I have two columns of company names - they are from different data sets so they are formatted differently.

    Example:

    Column A: Ziegler-Peru, Inc.
    Column B: Ziegler Peru, Inc

    Column A: ConocoPhillips Company
    Column B: Conoco Phillips


    ..In this situation, what is the best way to check column A for duplicates in column B?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,493

    Re: Custom Filter: Duplicates

    I think I would create two helper columns, C and D. C would reflect A and D would reflect B.

    Then you need to use SUBSTITUTE to remove all the potential "anomalies" ... spaces, hyphens, commas, etc.

    You can nest SUBSTITUTE but it could be "tedious". You might also need to elininate whole words like "Inc" and "Company".

    Having rationalised both columns of data, you can then have a further column where you compare the values in columns C and D, say column E. Use COUNTIF or VLOOKUP to identify matches/duplicates.

    Then filter on column E for duplicates.


    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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