+ Reply to Thread
Results 1 to 3 of 3

Delete Duplicate Rows Based only 2 columns.

  1. #1
    Registered User
    Join Date
    03-17-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    74

    Delete Duplicate Rows Based only 2 columns.

    Hello,

    I need to filter the following file.

    I need to remove all rows where COL A value and COL B value are the same. COL C does not need to be considered. However I need to retain one of the Col C values for purposes of formatting.

    The end result should look similar to columns F,G and H!

    Can somebody explain how I do this with advanced filter. (yes i did try google!)
    Attached Files Attached Files
    Last edited by ebbo; 02-18-2010 at 11:28 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Delete Duplicate Rows Based only 2 columns.

    just select cols a and b
    apply advanced filter /filter in place /unique records
    then copy the filtered rows somewhere
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    03-17-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: Delete Duplicate Rows Based only 2 columns.

    Quote Originally Posted by martindwilson View Post
    just select cols a and b
    apply advanced filter /filter in place /unique records
    then copy the filtered rows somewhere
    aahhhhhhhhhhhh I see, I did this originally, but didnt notice that some row numbers disappeared on the left (for all duplicates). the file I was working on was 10000+ rows and I was expecting it to be around 1000 after the filter, but the row number still showed 10000 odd figure, so I didnt realise it was actually filtered, until I copied it over to another worksheet.

    ty very much.

+ 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