+ Reply to Thread
Results 1 to 2 of 2

Deleting duplicating rows

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    Toulouse, France
    MS-Off Ver
    Excel 2003
    Posts
    25

    Deleting duplicating rows

    Hi,

    Say I have 2 columns: Insurance Policy Holder ID & Claim No.

    If the Insurance Policy Holder ID & Claim No. both repeat in 2 rows, I would like to delete one of them.

    If the Insurance Policy Holder ID repeats in 2 rows but the Claim No. in each row is unique, I would like to keep both.

    Is there anyway to do both in the same spreadsheet?
    Last edited by sampahmel; 01-14-2013 at 10:12 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,142

    Re: Deleting duplicating rows

    hi sampahmel, welcome to the forum. since you are using Excel 2003, try putting formulas to assist you. assuming your columns are in A & B, try this in C:
    =SUMPRODUCT((A$2:A2=A2)*(B$2:B2=B2))
    Autofilter the columns & filter column C is >=2. you can delete all of these

    in Excel 2007 & above, go to Data-> Remove Duplicates. Check the option that "My data has headers". Check both the "Insurance Policy Holder ID" & "Claim No" to indicate that it is only considered a duplicate when the both duplicated.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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