+ Reply to Thread
Results 1 to 2 of 2

Remove duplicates and keep oldest entry

  1. #1
    Registered User
    Join Date
    10-26-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    23

    Exclamation Remove duplicates and keep oldest entry

    Hello all,
    I've been struggling with coding a macro the remove duplicates from my data set.
    Been looking at this threat and almost got it figured out but no luck.
    Link

    Please Login or Register  to view this content.

    My data has duplicates in column G. I want to remove them (the entire row)but keep the oldest one based on a Date field (Col F)
    However, I want it to look for another column - Requestor # (Col E) before deleting.


    So I could have the following situations:
    (Table now showing up in correct format so see photo attached)

    Chart.jpg

    Col E COL F Col G
    Requestor # Date Info
    1234 01/31/14 1234
    1234 02/01/14 1234
    This would delete the 2nd row and keep the one date 01/31

    Col E Col F Col G
    Requestor # Date Info
    1234 01/31/14 1234
    4321 02/01/14 1234
    Keep both since Col E is different


    Any help is greatly appreciated
    Last edited by Bond007; 03-10-2014 at 02:31 PM.

  2. #2
    Registered User
    Join Date
    10-26-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Remove duplicates and keep oldest entry

    I got it to sort properly for my report and based off of the 3 fields above.
    However, it's deleting the older rather than the newest items

    Looking into it some more but hopefully someone has some insights as well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Find Duplicates and remove the duplicate entry comparing two columns
    By retrospikz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-04-2013, 03:17 AM
  2. Deleting Oldest Entry
    By markrennolds in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2010, 02:30 PM
  3. Highlight oldest entry
    By bubba_chubs123 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-08-2010, 02:14 PM
  4. removing oldest duplicates by date
    By zkcelltest in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-29-2008, 02:34 PM
  5. Delete oldest duplicates
    By Pindacko in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-20-2007, 10:18 PM

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