need a sub for looking at an excel document or *.xlsx file with about 700000 rows in sequential order by date/time stamp mm/dd/yyyy hh:mm:ss AM/PM
I need it to first look at column L where the timestamp is and for every duplicate timestamp in L, look at the text in A, and for everyone that has a duplicate value in L and a matching duplicate value in A, simply take the first one encountered.
A has a name and L has a timestamp
if L1 = L2 andalso if A1 = A2 then delete row 2
loop back to row 1 and run it again against row 3
if L1 <> L2 then move on row 2 and start again.
something like this. I'm trying to avoid only the situations where name and timestamp match on two or three or four or five different rows. I just want to take the first row of this type no matter what it is.
Please help.....sounds like a simple Do....While loop but I'm desperate.
I need it to first look at column L where the timestamp is and for every duplicate timestamp in L, look at the text in A, and for everyone that has a duplicate value in L and a matching duplicate value in A, simply take the first one encountered.
A has a name and L has a timestamp
if L1 = L2 andalso if A1 = A2 then delete row 2
loop back to row 1 and run it again against row 3
if L1 <> L2 then move on row 2 and start again.
something like this. I'm trying to avoid only the situations where name and timestamp match on two or three or four or five different rows. I just want to take the first row of this type no matter what it is.
Please help.....sounds like a simple Do....While loop but I'm desperate.