Results 1 to 5 of 5

Macro to remove duplicate entries basis of different conditions

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-12-2013
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    147

    Macro to remove duplicate entries basis of different conditions

    Hello Guys,

    I need help in creating a Macro to remove duplicate entries from entire data basis of below requirement:

    Requirement:

    1. Need a Macro which identify the duplicate entries through comparing the values of Column A, B, D and F in Sheet 1.

    2. Macro should delete all duplicate entries if Status Column (Column G) is filled against any duplicate row.

    3. If, Status column is empty against all duplicate entries then macro should delete only the old entries by comparing the Date and Time from Column E.

    For example: If you see the attached sheet then Row No. 2, 3, 4 and 9, 10, 11 (marked as yellow) are duplicates and the Status column is also filled. So, macro should delete the all above 6 rows. Now, the Row No. 5, 6 and 7, 8 are also duplicates but the Status column is empty; so Macro should check for the latest entry through Column E and delete the old duplicate entries which is Row No. 5 and 6.

    The purpose of this Macro is to keep only unique entries in the sheet whose Status column is empty and which is recently added

    Please let me know if need more clarification.

    Thanks,
    MG
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 04-21-2014, 05:20 AM
  2. Need to remove duplicate entries from an index
    By Lacaycer in forum Excel General
    Replies: 10
    Last Post: 04-04-2012, 10:50 AM
  3. Remove Duplicate Entries in List
    By nofzinger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2010, 06:43 PM
  4. How to remove duplicate entries?
    By dorian86 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2007, 12:55 AM

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