I have large datasets that require duplicates be removed. The data has a column that contains an ID number - I want to loop through this column for duplicate IDs. If a duplicate is present I want code to delete the duplicate.
The datasets I am using always have the same columns - but the number of rows changes there for I will use:
Do While Cells(b,4).Value <> ""
Then within this loop I want an If loop that finds duplicates and deletes them - how would be best to do this?