Removing duplicate WOs in spreadsheet, ensuring that row with earliest date/time stamp is the row to be retained

Andreamary
Andreamary used Ask the Experts™
on
I receive a master report on a daily basis that has a number of duplicate WOs. I would like to have a macro that would remove all the duplicate WOs in a selective manner, in that it always retains the WO with earliest date/time stamp in column G.

I have attached a sample report with the duplicate WOs highlighted in red in Column A, and have highlighted in yellow, in the first section of the report as an illustration, the unique WOs to be retained once the macro is run according to the criteria outlined above.

I hope I have provided enough information...

Cheers,
Andrea
EE_KeepEarliestDate_Dupes.xlsx
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Try attached workbook.
Press button to run.
EE_KeepEarliestDate_Dupes.xlsm

Author

Commented:
Works like a charm - thanks very much, Ejgil!

Cheers,
Andrea

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial