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
heading 1heading 2heading 3heading 4
1.S3jk
2.D899N
3.V349HJ
...............
482.K07H
..............
2009.BN549
................
12,251.LO67P

<tbody>
</tbody>

table 2 (total of 78 rows)
heading 1
3.
482.
2009.
8220.
102928.

<tbody>
</tbody>

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
heading 1heading 2heading 3heading 4
3.V349HJ
482.
K07H
2009.BN549
102928.LO67P

<tbody>
</tbody>

Thanks for the help!
Amanda
 
Last edited:

Some videos you may like

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
3,981
Office Version
365, 2019, 2016
Platform
Windows
give it a try

<b></b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th><th>I</th><th>J</th><th>K</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">1</td><td style=";">table 1 </td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style=";">table 2</td><td style="text-align: right;;"></td><td style=";">table 3 </td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style=";">heading 1</td><td style=";">heading 2</td><td style=";">heading 3</td><td style=";">heading 4</td><td style="text-align: right;;"></td><td style=";">heading 1</td><td style="text-align: right;;"></td><td style=";">heading 1</td><td style=";">heading 2</td><td style=";">heading 3</td><td style=";">heading 4</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style="text-align: right;;">1</td><td style=";">S</td><td style="text-align: right;;">3</td><td style=";">jk</td><td style="text-align: right;;"></td><td style="text-align: right;;">3</td><td style="text-align: right;;"></td><td style="text-align: right;;">3</td><td style="background-color: #E2EFDA;;">V</td><td style="text-align: right;background-color: #E2EFDA;;">34</td><td style="background-color: #E2EFDA;;">9HJ</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">4</td><td style="text-align: right;;">2</td><td style=";">D</td><td style="text-align: right;;">89</td><td style=";">9N</td><td style="text-align: right;;"></td><td style="text-align: right;;">482</td><td style="text-align: right;;"></td><td style="text-align: right;;">482</td><td style="background-color: #E2EFDA;;">K</td><td style="text-align: right;background-color: #E2EFDA;;">0</td><td style="background-color: #E2EFDA;;">7H</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">5</td><td style="text-align: right;;">3</td><td style=";">V</td><td style="text-align: right;;">34</td><td style=";">9HJ</td><td style="text-align: right;;"></td><td style="text-align: right;;">2009</td><td style="text-align: right;;"></td><td style="text-align: right;;">2009</td><td style="background-color: #E2EFDA;;">BN</td><td style="text-align: right;background-color: #E2EFDA;;">54</td><td style="text-align: right;background-color: #E2EFDA;;">9</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">6</td><td style=";">.....</td><td style=";">...</td><td style=";">....</td><td style=";">...</td><td style="text-align: right;;"></td><td style="text-align: right;;">8220</td><td style="text-align: right;;"></td><td style="text-align: right;;">102928</td><td style="background-color: #E2EFDA;;">LO</td><td style="text-align: right;background-color: #E2EFDA;;">67</td><td style="background-color: #E2EFDA;;">P</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">7</td><td style="text-align: right;;">482</td><td style=";">K</td><td style="text-align: right;;">0</td><td style=";">7H</td><td style="text-align: right;;"></td><td style="text-align: right;;">102928</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">8</td><td style=";">....</td><td style=";">...</td><td style=";">....</td><td style=";">...</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">9</td><td style="text-align: right;;">2009</td><td style=";">BN</td><td style="text-align: right;;">54</td><td style="text-align: right;;">9</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">10</td><td style=";">....</td><td style=";">.....</td><td style=";">...</td><td style=";">....</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">11</td><td style="text-align: right;;">102928</td><td style=";">LO</td><td style="text-align: right;;">67</td><td style=";">P</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr></tbody></table><p style="width:4.8em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">I3</th><td style="text-align:left">=INDEX(<font color="Blue">$A$2:$D$11,MATCH(<font color="Red">$H3,$A$2:$A$11,0</font>),MATCH(<font color="Red">I$2,$A$2:$D$2,0</font>)</font>)</td></tr></tbody></table></td></tr></table><br />
 

Watch MrExcel Video

Forum statistics

Threads
1,102,079
Messages
5,484,548
Members
407,453
Latest member
Nchoe

This Week's Hot Topics

  • Finding issue in If elseif else with For each Loop
    Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
  • MsgBox Error
    Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
  • CELL FORMAT - IF CONDITION
    My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
  • Show numbers nearly the same
    Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...
  • Please i need your help to create formula
    I need a formula in cell B8 to do this >>if b1=1 then multiply ( cell b8) by 10% ,if b1=2 multiply by 20%,if=3 multiply by 30%. Thank you in...
  • Got error while adding column and filter
    Got error while adding column and filter In column Z has some like "Success" and "Error". I want to add column in AA if the Z cell value is...
Top