+ Reply to Thread
Results 1 to 2 of 2

Removing duplicates based on date criteria?

  1. #1
    Registered User
    Join Date
    07-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    4

    Removing duplicates based on date criteria?

    I have a sheet where I import data. I have a macro setup to import all data and then filter any duplicates. I need to no longer simply delete duplicates, but delete duplicates based on date. When I import the data I need that day's date to auto appear in column C. I then need to delete any duplicates, but I need the duplicate with the oldest date to be deleted. I import data on a daily basis, so I need to automate the entire process. How do I so this?

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Removing duplicates based on date criteria?

    Can you post the code you are using at the moment? Also a workbook with some sample data?

    One method would be to use the now function to get the date:
    Please Login or Register  to view this content.
    Then when searching for duplicates you can use something like:
    Please Login or Register  to view this content.

+ 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] Removing Duplicates based on column values and criteria
    By viduran88 in forum Excel General
    Replies: 9
    Last Post: 04-04-2013, 11:37 AM
  2. Removing duplicates depending on certain criteria
    By qoios in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-17-2012, 11:02 AM
  3. Excel 2007 : Removing duplicates using multiple criteria
    By Rhinoceros77 in forum Excel General
    Replies: 0
    Last Post: 01-23-2012, 11:33 AM
  4. Delete Duplicates based on 2 criteria 1st Acutal duplicate 2ND PREVIOUS DATE
    By xcruc1at3r in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-24-2011, 09:09 PM
  5. Filtering Sheet based on criteria - removing duplicates
    By rastaman69 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-29-2008, 12:20 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