I have two lists, both on separate sheets. They both contain ID numbers, but with different data in them. I want to know if there is a way to create a macro that will look up the id number in sheet 1, see if there is a matching one in sheet 2, if there is leave it alone. If there isn't I want it to delete all the ones that are not in sheet 1. Let me try to explain that better as that seemed very confusing. In sheet 1 I have 400 numbers. In sheet 2 I have 65,000. I want sheet 2 to end up with the 400 that are in sheet 1. So it needs to look through all the 400 on sheet 1 and delete any that are extras in sheet 2.
Or maybe this would be an easier way. If it could select in sheet 2 all the matches from sheet 1 and copy them all and paste them to a sheet 3. That would work also...any help???
Or maybe this would be an easier way. If it could select in sheet 2 all the matches from sheet 1 and copy them all and paste them to a sheet 3. That would work also...any help???