Excel Magic Trick 432: Find & Extract Duplicate Records

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,206
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 2, 2009

See how to use the COUNTIF function, Sort, Advanced Filter Extract Unique Records to find and extract duplicate records from a data set.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (ExcelIsFun)

  • This is a great trick, I love it!

    However, I have a sheet that has, Last Name, First Name, Street Number, Street Name.

    I need to only find the duplicates that have the same Street Number and Street Name. This trick here doesn't work for it, maybe I'm missing something.

    Thanks.

  • Are street number and name in different columns (cells) or the same column (cell)? Each would have a different method for extracting the duplicates.

  • If the street number and name are in the same cell, this trick should work.

    If they are not, we can concatenate using the &, and then do this trick.

  • If they are not, we can concatenate using the &, and then do this trick, but instead of COUNTIF, we would probably have to use a SUMPRODUCT forumla for counting. Something like this:

    =SUMPRODUCT(--($B$14:$B$22&$C$­14:$C$22=B14&C14))

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Thank you so much I downloaded your workbook 432 it has helped me so much THANK YOU THANK YOU THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!­!!

  • This video is great. I am just wondering this trick perfectly works when you want to delete both the original data and its duplicate. It does not work when you want to keep the original data and only delete its duplicate. Do I understand this correctly?

    In column B, I have:

    1234

    5678

    1569

    1234

    This trick will delete both 1234 in the first cell and 1234 in the last cell too. Only 5678 & 1569 remain in the date base. What I want is keeping 1234 and delete the other 1234. Please advise.

  • The SumProduct worked Perfectly, a little taxing on the processor, even with 8Gigs Ram and 4 Cores.

    I also saw another video about using CONCATENATE to join the two cells. =CONCATENATE(G1," ",H1) and then using your COUNTIF to double check it.

    Thanks brother, you're a lifesaver!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more