Transpose of data from horizontal to vertical

Hrishi

Board Regular
Joined
Jan 25, 2017
Messages
56
Office Version
  1. 365
Platform
  1. Windows
Hello, I have huge data in one row. I want to create a column with same data and which will be linked to the original horizontal data so that whenever I change in horizontal data, column data will also change. e.g.
row
1
2
3
4
5
column
1
2
3
4
5

<tbody>
</tbody>
Column data shall be linked to original horizontal data. It is very tedious to link each cell. Plz help

Regards
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
You can use OFFSET or INDEX to make a reference to another location in the workbook.

ABCDEFGH
1row12345
2
3Column
41
52
63
74
85
90
100

<tbody>
</tbody>
Sheet4

Worksheet Formulas
CellFormula
A4=INDEX($B$1:$Z$1,ROW()-3)

<tbody>
</tbody>

<tbody>
</tbody>



In this example, I use $A$1:$Z$1 as the range (change to match your sheet, with Z changing to the maximum column you use), and ROW() to decide the column. I subtract 3 from ROW since I start the column in row 4.

I used INDEX instead of OFFSET since it's not volatile. Also note that rows 9 and 10 have a 0 in it, and the source row is empty. You can change the formula to

=INDEX($B$1:$Z$1,ROW()-3)&""

to avoid that, but it changes the cell to text.

Hope this helps.
 
Last edited:
Upvote 0
Hi, yes It working. actually I wanted to transform horizontal data in to the various vertical columns (making a table) so that later I can use that table as pivot table. Hop this arrangement you have taught to me remains nonvolatile even in upivot table.
Thanks you for your help.
 
Upvote 0

Forum statistics

Threads
1,215,160
Messages
6,123,355
Members
449,097
Latest member
thnirmitha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top