Avatar of Andreamary
Andreamary
 asked on

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
Microsoft OfficeVBAMicrosoft Excel

Avatar of undefined
Last Comment
Andreamary

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Ejgil Hedegaard

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Andreamary

ASKER
Works like a charm - thanks very much, Ejgil!

Cheers,
Andrea
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck