+ Reply to Thread
Results 1 to 2 of 2

Cannot delete the duplicates on date criteria

  1. #1
    Registered User
    Join Date
    04-30-2010
    Location
    Fairmont,WV
    MS-Off Ver
    Excel 2007
    Posts
    66

    Cool Cannot delete the duplicates on date criteria

    Search a column (ColumnC) for duplicates and if found use the dates in columnE to keep only the newest row and delete the other or others.Data starts in row 2 column A. and keeps building(endless rows) Mac

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Cannot delete the duplicates on date criteria

    your data is in sheet 1. it is better not to delete the rows in sheet1 thus messing up with your original data. . but the resuting data after deleting rhe unwanted rows is better pareked in sheet 2. That is what the macro test given below does. CHECK THE RESULTS IN SHEET 2

    The sample data is like this in sheet 1(A1 to E7).
    the sample data you can dowanload from this url

    http://www.speedyshare.com/files/22966174/kwlk98.xls


    . the macro takes into account dynamic data , that is more or less rows.



    the second macro undo clears sheet2 for rechecking the macro "test"

    the macros are:

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    Last edited by venkat1926; 06-15-2010 at 03:03 AM.

+ 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