+ Reply to Thread
Results 1 to 5 of 5

Remove Duplicate Rows based on Dates

  1. #1
    Registered User
    Join Date
    03-21-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    90

    Remove Duplicate Rows based on Dates

    Hi,

    I have a large spreadsheet that has some duplicates in Row Q. However, in column L there is a date. I want to be able to find the duplicates in column Q then delete the duplicate with the earliest date.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Remove Duplicate Rows based on Dates

    Idont think you need the lrow-1 bit as youre stepping -1
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    03-21-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    90

    Re: Remove Duplicate Rows based on Dates

    Thanks! I tried that and it didn't work.

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Remove Duplicate Rows based on Dates

    what is happening with your code. YOu should detail the error/discrepancy also.

  5. #5
    Registered User
    Join Date
    03-21-2010
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    90

    Re: Remove Duplicate Rows based on Dates

    I'm not getting an error. I removed the lrow-1 and the code doesn't do anything.

+ 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] Remove duplicate dates and sort descending
    By TPDave in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-29-2014, 09:33 AM
  2. Remove Duplicate Rows based on Specific Values
    By zeanzi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-31-2013, 08:01 PM
  3. Remove rows with duplicate values in one column based on value of another column
    By jolleyje in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-15-2013, 06:20 AM
  4. excel macro to remove specific columns and rows + remove duplicate
    By garrywelson in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-17-2013, 12:03 PM
  5. Remove duplicate rows based on criteria
    By vicstone in forum Excel General
    Replies: 5
    Last Post: 06-15-2010, 03:19 PM

Tags for this Thread

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