+ Reply to Thread
Results 1 to 10 of 10

Delete Duplicate Rows

  1. #1
    Registered User
    Join Date
    03-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Delete Duplicate Rows

    G'day, I'm trying to merge a new and an old dataset which have alot of values the same but a few new updated ones, the values don't match on each row but if there is a duplicate value column K that matches a value in column A I need a way to delete the row of data attached to column A while leaving the column K value as is i.e. delete a-j but not the whole row.
    Either VBA or a formula would help me out alot.

    Cheers

    Geoff

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Delete Duplicate Rows

    If you click on Data Ribbon > Data Tool, there is a Remove duplicates function which deletes all the duplicated rows.

  3. #3
    Registered User
    Join Date
    03-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Delete Duplicate Rows

    Yeah that doesn't work for this, it deletes the whole row or just the column K value i need it to just wipe out column a-j for the matching sample

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Delete Duplicate Rows

    Can you post a sample along with what the final output will look like

  5. #5
    Registered User
    Join Date
    03-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Delete Duplicate Rows

    E42D1000402 36332.94 86191.257 E42D100047 E42D1000 0.039999999
    E42D1000403 36332.871 86191.662 E42D100049 E42D1000 0.029999999
    E42D1000404 36332.801 86192.067 E42D100056 E42D1000 0.239999995
    E42D1000405 36332.732 86192.472 E42D1000402 E42D1000 0.860000014
    E42D1000406 36332.663 86192.877 E42D100096 E42D1000 0.730000019
    So i need Column A matched against any values in column D in this case then any matches I need A-C deleted on the matching row (highlighted in red)

  6. #6
    Registered User
    Join Date
    03-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Delete Duplicate Rows

    Seems simple but I can't figure it out

  7. #7
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Delete Duplicate Rows

    Hello...

    It will be a great help if you upload a sample data file...
    Click *, if my suggestion helps you. Have a good day!!

  8. #8
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Delete Duplicate Rows

    Hi Rock_boy,

    Try this (initially on a copy of your data in case the results are not as expected):

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  9. #9
    Registered User
    Join Date
    03-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Delete Duplicate Rows

    Thanks robert that will do the trick

  10. #10
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Delete Duplicate Rows

    You're welcome and I'm glad to hear it!!

+ 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