+ Reply to Thread
Results 1 to 2 of 2

Deleting duplicate records

  1. #1
    Keensie
    Guest

    Deleting duplicate records

    I have a worksheet with over twelve thousand records, however there are
    several duplicate records in this worksheet. Is there anyway I could quickly
    locate these duplicate records and delete them?

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Response

    There are several ways to do this.

    Assuming that your data is in column A....

    Type the following formula into B1

    =COUNTIF(A:A,A1)

    and copy this down to the other cells in column B adjacent to your data.

    If a value is replicated, the number returned by the formula will be greater than 1. Using autofilters will allow you to quickly identify the rows which appear multiple times.

    Another way is to sort the data by column A and use the EXACT function to test if two adjacent rows are identical.

    Type =EXACT(A1,A2) into B1

    You will get a value of TRUE if adjacent rows are identical.
    Martin

+ 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