Im hoping someone can assist in designed a macro. In the attached spreadsheet there are two unique identifying columns (A & T). I need a macro that starts in row 2, looks at the data in columns A2 & T2 and then any of the following rows in the spreadsheet that match that combination of data in A2 & T2 will cut the row and paste it at the end of row 2 and repeat the process.
So looking at the sample, the code will look at row 2 columns A & T then see there is a match in rows 3-5 and in row 9. The code would take each of those rows, cut and then paste at the end of row 2 so all of those occurances now appear on one row. Then it repeats the process. I need to get a number of rows, all for the same individual but with different pieces of data, consolidated into one row.
On the attached sample it shows how the file looks before the macro is ran (sheet 1) and how it should look after the macro is ran. Keep in mind after the cut & paste the empty rows would need to be deleted. Also, this is only a sample but the actual spreadsheet will have over 200,000 rows of data. I am certainly up for suggestions if someone has an easier way of putting this together.