Hi all,
I have 2 columns of data - the first is a customer number, the second is a quantity, but can also be text where there is no quantity.
I want to clean up the data by transposing all of the values for each customer number into one row and then delete empty rows, but am having trouble finding and/or figuring out the macro for it.
Basically I want the data to go from this:
12345678 60
12345678 63
12345678 74
12345678 71
12345678 70
12345678 68
21212121 75
21212121 73
21212121 66
21212121 W(0)
12121212 70
34343434 W(0)
34343434 W(0)
34343434 W(0)
34343434 82
To this:
12345678 60 63 74 71 70 68
21212121 75 73 66 W(0)
12121212 70
34343434 W(0) W(0) W(0) 82
I need to do this for more than one worksheet, the amount of data varies and the number of orders/quantities per customer can vary. Data is sorted by customer number (Column A), Column B is the quantities.
Any help would be much appreciated.
I have 2 columns of data - the first is a customer number, the second is a quantity, but can also be text where there is no quantity.
I want to clean up the data by transposing all of the values for each customer number into one row and then delete empty rows, but am having trouble finding and/or figuring out the macro for it.
Basically I want the data to go from this:
12345678 60
12345678 63
12345678 74
12345678 71
12345678 70
12345678 68
21212121 75
21212121 73
21212121 66
21212121 W(0)
12121212 70
34343434 W(0)
34343434 W(0)
34343434 W(0)
34343434 82
To this:
12345678 60 63 74 71 70 68
21212121 75 73 66 W(0)
12121212 70
34343434 W(0) W(0) W(0) 82
I need to do this for more than one worksheet, the amount of data varies and the number of orders/quantities per customer can vary. Data is sorted by customer number (Column A), Column B is the quantities.
Any help would be much appreciated.