+ Reply to Thread
Results 1 to 4 of 4

Remove Duplicates based on Date/Time

  1. #1
    Registered User
    Join Date
    11-08-2018
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2016
    Posts
    2

    Remove Duplicates based on Date/Time

    Hi,

    I have column A (Read Time), Column B (Employee ID). I want to delete duplicate employee ID's that were read under 30 seconds of time and keep the oldest time. I want a flag in column C to display "D" if the Employee ID had duplicates.

    example:
    A4 and A5 are within 30 seconds of each other and the Employee ID is a duplicate. I want to delete row A5 and display a "D" in Column C4.

    Read Time Employee ID Flag
    8/10/18 17:34:02 28113485
    8/10/18 17:34:53 28113485
    8/11/18 18:34:05 28113485 D
    8/11/18 18:34:12 28113485
    8/11/18 17:34:53 28113491
    8/10/18 17:20:37 28479675




    Any Help would be greatly appreciated.
    Last edited by legolas85; 11-08-2018 at 10:10 AM.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Remove Duplicates based on Date/Time

    Code for macro.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 11-08-2018 at 11:12 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,420

    Re: Remove Duplicates based on Date/Time

    Maybe like this untest
    Please Login or Register  to view this content.
    Last edited by daboho; 11-09-2018 at 01:16 AM.

  4. #4
    Registered User
    Join Date
    11-08-2018
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2016
    Posts
    2

    Re: Remove Duplicates based on Date/Time

    Thank you Guys, Much appreciated.

+ 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. Replies: 4
    Last Post: 06-10-2018, 08:51 PM
  2. remove duplicates based on IF formula
    By Shruder in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-26-2018, 01:02 PM
  3. How to remove duplicates based on two columns
    By eeps24 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-01-2017, 11:01 AM
  4. [SOLVED] Remove duplicates from each column one at a time
    By smokinbadger in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-03-2015, 11:11 AM
  5. how to remove duplicates with the earliest date ?
    By tocatech in forum Excel General
    Replies: 2
    Last Post: 02-14-2014, 07:24 PM
  6. [SOLVED] VBA to remove duplicates as per the date
    By harry_1805 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-19-2013, 01:20 AM
  7. Remove duplicates but keep the one with latest date
    By nee2m in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2012, 10:09 AM

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