r/excel • u/GosuGamerL • Nov 10 '17
solved moving identically-sized blocks of text repeatedly
Hi. I am not very good with excel, so I need help with this: I have a database of panel data, which is structured horizontally, but i need to structure it vertically. This means that in practice My database looks like: ABCDEFGH , where A, B,.. - are identically sized matrices; I need to move each block (matrix) to form a column:
A
B
C
D
...
So is there a smart way to do it, rather then manually copypasting each block?
Thanks!
1
Upvotes
1
u/sqylogin 755 Nov 10 '17
Copy > Paste Special > Transpose?
1
u/ItsJustAnotherDay- 98 Nov 10 '17
I'm confused by your question, aren't A, B, C, and D already in a column?
1
u/bilged 32 Nov 10 '17
When you say "database" what do you mean? Is the data already in an Excel spreadsheet? If so and if you don't want to do the PasteSpecial-Transpose, an easy way of doing it is to use INDEX and ROW on another sheet.
So lets say on Sheet1 you have cells with A,B,C,D,E in cells A1:E1.
In Sheet2, cell A1 use the formula:
Copy down and the formula will transpose all of the data in Sheet1 row 1 into Sheet1 column A.
1
u/excelevator 3071 Nov 11 '17
I cannot make any sense of your question even with the example.
Suggest you post a before and after example using a small dummy set of data.
1
u/sqylogin 755 Nov 11 '17 edited Nov 11 '17
Try this in B11, copy/pasted to Column U and down.
If your data is not exactly 8 rows by 21 columns and without any columns between each bloc, the formula will obviously fail.