Linking data housed in columns to rows

Jturek

New Member
Joined
Aug 19, 2011
Messages
10
Hey you guys-

I have a column of values on a separate spreadsheet (same workbook) that I need to link to a series of rows. Since there is a lot of data was wondering if there was a formula I could drag across the destination rows to link to the column's changing values.

Any help is appreciated!

Thanks!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi,

if data setup in 1 sheet is arranged like this

Sheet1

<table style="background-color: rgb(255, 255, 255); padding-left: 2pt; padding-right: 2pt; font-family: Calibri,Arial; font-size: 11pt;" border="1" cellpadding="0" cellspacing="0"> <colgroup> <col style="width: 30px; font-weight: bold;"> <col style="width: 64px;"> <col style="width: 64px;"></colgroup> <tbody> <tr style="text-align: center; background-color: rgb(202, 202, 202); font-size: 8pt; font-weight: bold;"> <td>
</td> <td>A</td> <td>B</td></tr> <tr style="height: 18px;"> <td style="text-align: center; background-color: rgb(202, 202, 202); font-size: 8pt;">2</td> <td>data1</td> <td>data2</td></tr> <tr style="height: 18px;"> <td style="text-align: center; background-color: rgb(202, 202, 202); font-size: 8pt;">3</td> <td style="text-align: right;">1</td> <td>Jan</td></tr> <tr style="height: 18px;"> <td style="text-align: center; background-color: rgb(202, 202, 202); font-size: 8pt;">4</td> <td style="text-align: right;">2</td> <td>feb</td></tr></tbody></table>

Then you can link column data into row data in another sheet

using transpose array function

Sheet2

<table style="background-color: rgb(255, 255, 255); padding-left: 2pt; padding-right: 2pt; font-family: Calibri,Arial; font-size: 11pt;" border="1" cellpadding="0" cellspacing="0"> <colgroup> <col style="width: 30px; font-weight: bold;"> <col style="width: 64px;"> <col style="width: 64px;"> <col style="width: 64px;"></colgroup> <tbody> <tr style="text-align: center; background-color: rgb(202, 202, 202); font-size: 8pt; font-weight: bold;"> <td>
</td> <td>C</td> <td>D</td> <td>E</td></tr> <tr style="height: 18px;"> <td style="text-align: center; background-color: rgb(202, 202, 202); font-size: 8pt;">3</td> <td>data1</td> <td style="text-align: right;">1</td> <td style="text-align: right;">2</td></tr> <tr style="height: 18px;"> <td style="text-align: center; background-color: rgb(202, 202, 202); font-size: 8pt;">4</td> <td>data2</td> <td>Jan</td> <td>feb</td></tr></tbody></table>
<table style="border-style: groove; border-color: rgb(0, 255, 0); background-color: rgb(255, 252, 249); font-family: Arial; color: rgb(0, 0, 0); font-size: 10pt;"> <tbody> <tr> <td>Spreadsheet Formulas</td></tr> <tr> <td> <table style="font-family: Arial; font-size: 9pt;" border="1" cellpadding="2" cellspacing="0"> <tbody> <tr style="background-color: rgb(202, 202, 202); font-size: 10pt;"> <td>Cell</td> <td>Formula</td></tr> <tr> <td>C3</td> <td>{=TRANSPOSE(Sheet1!$A$2:$B$4)}</td></tr> <tr> <td>D3</td> <td>{=TRANSPOSE(Sheet1!$A$2:$B$4)}</td></tr> <tr> <td>E3</td> <td>{=TRANSPOSE(Sheet1!$A$2:$B$4)}</td></tr> <tr> <td>C4</td> <td>{=TRANSPOSE(Sheet1!$A$2:$B$4)}</td></tr> <tr> <td>D4</td> <td>{=TRANSPOSE(Sheet1!$A$2:$B$4)}</td></tr> <tr> <td>E4</td> <td>{=TRANSPOSE(Sheet1!$A$2:$B$4)}</td></tr></tbody></table></td></tr> <tr> <td>Formula Array:
Produce enclosing
{ } by entering
formula with CTRL+SHIFT+ENTER!
</td></tr></tbody></table>
 
Upvote 0
Hey you guys-

I have a column of values on a separate spreadsheet (same workbook) that I need to link to a series of rows. Since there is a lot of data was wondering if there was a formula I could drag across the destination rows to link to the column's changing values.

Any help is appreciated!

Thanks!
Maybe this...

Suppose you have this data on Sheet1:

Book1
A
21
32
43
54
65
Sheet1

And you want it to appear like this on Sheet2:

Book1
ABCDE
212345
Sheet2

Enter this formula on Sheet2 in cell A2 and copy across:

=INDEX(Sheet1!$A2:$A6,COLUMNS($A2:A2))
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

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