I am trying to sort through a list of data and find duplicates in it.
I want to sort through data in column 1 and see if the contents in A1 is the same as any of the other entries in column A (I want it to repeat through the entire list of data in column A)
If the entry in A1 is the same as one or more of the cells in column A then I want to look at the corresponding values in column B to see if they match as well.
If the corresponding values in column B match, then I would like to copy the rows of matching data into a separate worksheet and add a column that tells me the row numbers where the matching data is located in the original list. I would also like it to skip a row between sets of matching data.
Example
Tab 1
A B
1 p
2 d
3 d
2 p
1 p
Tab 2
A B C
1 p 1
1 p 5
I want to sort through data in column 1 and see if the contents in A1 is the same as any of the other entries in column A (I want it to repeat through the entire list of data in column A)
If the entry in A1 is the same as one or more of the cells in column A then I want to look at the corresponding values in column B to see if they match as well.
If the corresponding values in column B match, then I would like to copy the rows of matching data into a separate worksheet and add a column that tells me the row numbers where the matching data is located in the original list. I would also like it to skip a row between sets of matching data.
Example
Tab 1
A B
1 p
2 d
3 d
2 p
1 p
Tab 2
A B C
1 p 1
1 p 5