Hi all
I have a spreadsheet that has 2 pieces of data - one of a actual date and time and the other latest date and time. I need to compare each record's time and keep the record that is closest between actual date and time and latest date and time. If the two match, then I need to keep the record that has the lowest value in Col G. I have attached a sample which hopefully explains.
Is there a way I can achieve this in VBA?
Thanks
Bookmarks