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

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
AndreamaryAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ejgil HedegaardCommented:
Try attached workbook.
Press button to run.
EE_KeepEarliestDate_Dupes.xlsm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AndreamaryAuthor Commented:
Works like a charm - thanks very much, Ejgil!

Cheers,
Andrea
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.