I have a large list of data - order numbers and items. There could be anything from 1 to 200 items per order. I am trying to convert this so that each order number is a single row, with relevant items listed horizontally. So, each order number would be a record with between 1 and 200 items listed against it. I feel like there is a simple soution that I'm missing, but I can't find it and am struggling to put it in the right wording to find the answer online. I have uploaded a simplified example - my data as it is in columns A:B - I am trying to get to something like D:H
Book3 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Item | Order | Order | |||||||
2 | X | 1 | 1 | X | Y | Z | ||||
3 | Y | 1 | 2 | A | B | C | X | |||
4 | Z | 1 | ||||||||
5 | A | 2 | ||||||||
6 | B | 2 | ||||||||
7 | C | 2 | ||||||||
8 | X | 2 | ||||||||
9 | ||||||||||
Sheet1 |