Hi
I have a lot of columns, around 400 and I'm trying to stack this columns on top of each other, making single column.
In this example I would like to stack columns 3,4,5, 6 into a single column..and columns 1 and 2 to be repeated as many times as needed.
Is there any solution to do that instead of doing it manually?
Thank you very much
this is example
and the result
I have a lot of columns, around 400 and I'm trying to stack this columns on top of each other, making single column.
In this example I would like to stack columns 3,4,5, 6 into a single column..and columns 1 and 2 to be repeated as many times as needed.
Is there any solution to do that instead of doing it manually?
Thank you very much
this is example
Book1.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | 1 | 2 | 3 | 4 | 5 | 6 | ||
2 | A1 | B1 | 1 | 6 | 11 | 16 | ||
3 | A2 | B2 | 2 | 7 | 12 | 17 | ||
4 | A3 | B3 | 3 | 8 | 13 | 18 | ||
5 | A4 | B4 | 4 | 9 | 14 | 19 | ||
6 | A5 | B5 | 5 | 10 | 15 | 20 | ||
Sheet1 |
and the result
Book1.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | 1 | 2 | 3 | ||
2 | A1 | B1 | 1 | ||
3 | A2 | B2 | 2 | ||
4 | A3 | B3 | 3 | ||
5 | A4 | B4 | 4 | ||
6 | A5 | B5 | 5 | ||
7 | A1 | B1 | 6 | ||
8 | A2 | B2 | 7 | ||
9 | A3 | B3 | 8 | ||
10 | A4 | B4 | 9 | ||
11 | A5 | B5 | 10 | ||
12 | A1 | B1 | 11 | ||
13 | A2 | B2 | 12 | ||
14 | A3 | B3 | 13 | ||
15 | A4 | B4 | 14 | ||
16 | A5 | B5 | 15 | ||
17 | A1 | B1 | 16 | ||
18 | A2 | B2 | 17 | ||
19 | A3 | B3 | 18 | ||
20 | A4 | B4 | 19 | ||
21 | A5 | B5 | 20 | ||
Sheet1 |