from a list of 12,251 rows and 317 colomns select a list of 78 rows and 317 colomns

AmandaSS

Board Regular
Joined
Jan 7, 2014
Messages
133
Dear all,

I have a spread sheet with a list of 12,251 rows and 317 columns. Then I have another list of 78 rows and 2 columns.
The two lists have the first column in common, as below

table 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]heading 1[/TD]
[TD]heading 2[/TD]
[TD]heading 3[/TD]
[TD]heading 4[/TD]
[/TR]
[TR]
[TD]1.[/TD]
[TD]S[/TD]
[TD]3[/TD]
[TD]jk[/TD]
[/TR]
[TR]
[TD]2.[/TD]
[TD]D[/TD]
[TD]89[/TD]
[TD]9N[/TD]
[/TR]
[TR]
[TD]3.[/TD]
[TD]V[/TD]
[TD]34[/TD]
[TD]9HJ[/TD]
[/TR]
[TR]
[TD].....[/TD]
[TD]...[/TD]
[TD]....[/TD]
[TD]...[/TD]
[/TR]
[TR]
[TD]482.[/TD]
[TD]K[/TD]
[TD]0[/TD]
[TD]7H[/TD]
[/TR]
[TR]
[TD]....[/TD]
[TD]...[/TD]
[TD]....[/TD]
[TD]...[/TD]
[/TR]
[TR]
[TD]2009.[/TD]
[TD]BN[/TD]
[TD]54[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]....[/TD]
[TD].....[/TD]
[TD]...[/TD]
[TD]....[/TD]
[/TR]
[TR]
[TD]12,251.[/TD]
[TD]LO[/TD]
[TD]67[/TD]
[TD]P[/TD]
[/TR]
</tbody>[/TABLE]

table 2 (total of 78 rows)
[TABLE="width: 500"]
<tbody>[TR]
[TD]heading 1[/TD]
[/TR]
[TR]
[TD]3.[/TD]
[/TR]
[TR]
[TD]482.[/TD]
[/TR]
[TR]
[TD]2009.[/TD]
[/TR]
[TR]
[TD]8220.[/TD]
[/TR]
[TR]
[TD]102928.[/TD]
[/TR]
</tbody>[/TABLE]

I need to create a new table (3) made of the 78 rows of table 2 and the corresponding 317 columns taken from table 1.

table 3
[TABLE="width: 500"]
<tbody>[TR]
[TD]heading 1[/TD]
[TD]heading 2[/TD]
[TD]heading 3[/TD]
[TD]heading 4[/TD]
[/TR]
[TR]
[TD]3.[/TD]
[TD]V[/TD]
[TD]34[/TD]
[TD]9HJ[/TD]
[/TR]
[TR]
[TD]482.
[/TD]
[TD]K[/TD]
[TD]0[/TD]
[TD]7H[/TD]
[/TR]
[TR]
[TD]2009.[/TD]
[TD]BN[/TD]
[TD]54[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]102928.[/TD]
[TD]LO[/TD]
[TD]67[/TD]
[TD]P[/TD]
[/TR]
</tbody>[/TABLE]

Thanks for the help!
Amanda
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
give it a try


Book1
ABCDEFGHIJK
1table 1table 2table 3
2heading 1heading 2heading 3heading 4heading 1heading 1heading 2heading 3heading 4
31S3jk33V349HJ
42D899N482482K07H
53V349HJ20092009BN549
6...............8220102928LO67P
7482K07H102928
8..............
92009BN549
10................
11102928LO67P
Sheet1
Cell Formulas
RangeFormula
I3=INDEX($A$2:$D$11,MATCH($H3,$A$2:$A$11,0),MATCH(I$2,$A$2:$D$2,0))
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

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