vba - how to select rows with duplicate content with criteria in excel? -
as can see in data table, id not unique, select unique id , value latest date. results looks results table. can provide vba codes in excel with? appreciated.
data table
id dates value 10021 1/1/2012 591.00 10021 1/1/2014 591.00 10021 8/1/2015 621.00 10060 1/1/2006 240.00 10060 1/1/2011 385.00 10060 1/1/2014 446.00 10060 8/1/2015 468.00 10061 1/1/2006 501.00 10061 1/1/2011 658.00 10061 1/1/2014 796.00 10061 8/1/2015 836.00
results table
id dates value 10021 8/1/2015 621.00 10060 1/1/2014 468.00 10061 8/1/2015 836.00
i sorted dates, newest oldest, used remove duplicates command. think automatically keep first one, newest one
Comments
Post a Comment