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
Bookmarks