Cubist
Well-known Member
- Joined
- Oct 5, 2023
- Messages
- 2,139
- Office Version
- 365
- Platform
- Windows
- MacOS
I want to expand each row of my data n number of times. In the example, each item# gets repeated 3 times.
Book1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Num to repeat | 3 | ||||||||
2 | Result | |||||||||
3 | Item# | Product | Description | Item# | Product | Description | ||||
4 | 1 | Product A | Desc A | 1 | Product A | Desc A | ||||
5 | 2 | Product B | Desc B | 1 | Product A | Desc A | ||||
6 | 3 | Product C | Desc C | 1 | Product A | Desc A | ||||
7 | 4 | Product D | Desc D | 2 | Product B | Desc B | ||||
8 | 5 | Product E | Desc E | 2 | Product B | Desc B | ||||
9 | 2 | Product B | Desc B | |||||||
10 | 3 | Product C | Desc C | |||||||
11 | 3 | Product C | Desc C | |||||||
12 | 3 | Product C | Desc C | |||||||
13 | 4 | Product D | Desc D | |||||||
14 | 4 | Product D | Desc D | |||||||
15 | 4 | Product D | Desc D | |||||||
16 | 5 | Product E | Desc E | |||||||
17 | 5 | Product E | Desc E | |||||||
18 | 5 | Product E | Desc E | |||||||
19 | ||||||||||
Sheet2 |