The data in my original spreadsheet is listed horizontally. For instance:
A B C D E
F G H G I
J K L M N
O P Q R S
I would like to arrange this table in a vertical way. like this below:
A
B
C
D
E
F
G
The data in my original spreadsheet is listed horizontally. For instance:
A B C D E
F G H G I
J K L M N
O P Q R S
I would like to arrange this table in a vertical way. like this below:
A
B
C
D
E
F
G
This is doable with INDEX and some math:
=INDEX($A$1:$E$4,ROUNDUP(ROW(1:1)/COLUMNS($A$1:$E4),0),MOD(ROW(1:1)-1,COLUMNS($A$1:$E4))+1)
Explanation:
ROUNDUP(ROW(1:1)/COLUMNS($A$1:$E4),0)
: creates the repeating sequence: 1,1,1,1,1,2,2,2,2,2... when dragged down.
MOD(ROW(1:1)-1,COLUMNS($A$1:$E4))+1
: creates the repeating sequence: 1,2,3,4,5,1,2,3,4,5... when dragged down.
This question also explains the creation of those repeating sequences.