Help merging!!!! Asap

Miss King

New Member
Joined
Feb 6, 2010
Messages
1
Hey please can anyone help me, I need to merge like over 3000 entries into one document... I have two excel documents with different information in each but want to merge it together...
For example - " l " will be used as a column.

Document one has...

1 l 15
2 l 20
6 l 25
7 l 30

Document two has...

1 l 2
2 l 3
4 l 4
5 l 5

I want to merge it to one document which will look like this...

1 l 15 l 2
2 l 20 l 3
4 l 0 l 4
5 l 0 l 5
6 l 25 l
7 l 30 l

PLEASE PLEASE HELP - NEED IT ASAP!!!!

Thank you
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Welcome to the Board,

A 'quick and dirty way' would be to do something like this:

Excel Workbook
ABCDEFGHIJ
1NumberDoc 1Doc 2FilterNumberDoc 1NumberDoc 2
21152Data11512
32203Data22023
4300No Data62544
5404Data73055
6505Data
76250Data
87300Data
9800No Data
10900No Data
111000No Data
Sheet1
Excel 2003
Cell Formulas
RangeFormula
B2=IF(ISNA(MATCH(A2,F$2:F$5,0)),0,VLOOKUP(A2,F$2:G$5,2,0))
B3=IF(ISNA(MATCH(A3,F$2:F$5,0)),0,VLOOKUP(A3,F$2:G$5,2,0))
B4=IF(ISNA(MATCH(A4,F$2:F$5,0)),0,VLOOKUP(A4,F$2:G$5,2,0))
B5=IF(ISNA(MATCH(A5,F$2:F$5,0)),0,VLOOKUP(A5,F$2:G$5,2,0))
B6=IF(ISNA(MATCH(A6,F$2:F$5,0)),0,VLOOKUP(A6,F$2:G$5,2,0))
B7=IF(ISNA(MATCH(A7,F$2:F$5,0)),0,VLOOKUP(A7,F$2:G$5,2,0))
B8=IF(ISNA(MATCH(A8,F$2:F$5,0)),0,VLOOKUP(A8,F$2:G$5,2,0))
B9=IF(ISNA(MATCH(A9,F$2:F$5,0)),0,VLOOKUP(A9,F$2:G$5,2,0))
B10=IF(ISNA(MATCH(A10,F$2:F$5,0)),0,VLOOKUP(A10,F$2:G$5,2,0))
B11=IF(ISNA(MATCH(A11,F$2:F$5,0)),0,VLOOKUP(A11,F$2:G$5,2,0))
C2=IF(ISNA(MATCH(A2,I$2:I$5,0)),0,VLOOKUP(A2,I$2:J$5,2,0))
C3=IF(ISNA(MATCH(A3,I$2:I$5,0)),0,VLOOKUP(A3,I$2:J$5,2,0))
C4=IF(ISNA(MATCH(A4,I$2:I$5,0)),0,VLOOKUP(A4,I$2:J$5,2,0))
C5=IF(ISNA(MATCH(A5,I$2:I$5,0)),0,VLOOKUP(A5,I$2:J$5,2,0))
C6=IF(ISNA(MATCH(A6,I$2:I$5,0)),0,VLOOKUP(A6,I$2:J$5,2,0))
C7=IF(ISNA(MATCH(A7,I$2:I$5,0)),0,VLOOKUP(A7,I$2:J$5,2,0))
C8=IF(ISNA(MATCH(A8,I$2:I$5,0)),0,VLOOKUP(A8,I$2:J$5,2,0))
C9=IF(ISNA(MATCH(A9,I$2:I$5,0)),0,VLOOKUP(A9,I$2:J$5,2,0))
C10=IF(ISNA(MATCH(A10,I$2:I$5,0)),0,VLOOKUP(A10,I$2:J$5,2,0))
C11=IF(ISNA(MATCH(A11,I$2:I$5,0)),0,VLOOKUP(A11,I$2:J$5,2,0))
D2=IF(AND(B2=0,C2=0),"No Data","Data")
D3=IF(AND(B3=0,C3=0),"No Data","Data")
D4=IF(AND(B4=0,C4=0),"No Data","Data")
D5=IF(AND(B5=0,C5=0),"No Data","Data")
D6=IF(AND(B6=0,C6=0),"No Data","Data")
D7=IF(AND(B7=0,C7=0),"No Data","Data")
D8=IF(AND(B8=0,C8=0),"No Data","Data")
D9=IF(AND(B9=0,C9=0),"No Data","Data")
D10=IF(AND(B10=0,C10=0),"No Data","Data")
D11=IF(AND(B11=0,C11=0),"No Data","Data")

Then filter on Column D with "No Data" and delete those Rows. Obviously, in reality, the lookup data wouldn't be to the right of the created list, as it would get deleted when you deleted the Rows...

Does this help?

Matty
 
Last edited:
Upvote 0
Similar: B1 and C1 filled down

<b>Sheet3</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:64px;" /><col style="width:64px;" /><col style="width:64px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td style=" border-width:3px; border-style:eek:utset;border-color:#f0f0f0; ">A</td><td style=" border-width:3px; border-style:eek:utset;border-color:#f0f0f0; ">B</td><td style=" border-width:3px; border-style:eek:utset;border-color:#f0f0f0; ">C</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >1</td><td style="text-align:right; ">1</td><td style="text-align:right; ">15</td><td style="text-align:right; ">2</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >2</td><td style="text-align:right; ">2</td><td style="text-align:right; ">20</td><td style="text-align:right; ">3</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >3</td><td style="text-align:right; ">3</td><td > </td><td > </td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >4</td><td style="text-align:right; ">4</td><td > </td><td style="text-align:right; ">4</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >5</td><td style="text-align:right; ">5</td><td > </td><td style="text-align:right; ">5</td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >6</td><td style="text-align:right; ">6</td><td style="text-align:right; ">25</td><td > </td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >7</td><td style="text-align:right; ">7</td><td style="text-align:right; ">30</td><td > </td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >8</td><td style="text-align:right; ">8</td><td > </td><td > </td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >9</td><td style="text-align:right; ">9</td><td > </td><td > </td></tr><tr style="height:18px ;" ><td style="border-width:3; border-style:eek:utset;border-color:#f0f0f0; background-color:#cacaca; text-align:center; " >10</td><td style="text-align:right; ">10</td><td > </td><td > </td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >B1</td><td >=IF(ISNUMBER<span style=' color:008000; '>(MATCH<span style=' color:#0000ff; '>(A1,Sheet1!A:A,0)</span>)</span>,INDEX<span style=' color:008000; '>(Sheet1!B:B,MATCH<span style=' color:#0000ff; '>(A1,Sheet1!A:A,0)</span>)</span>,"")</td></tr><tr><td >C1</td><td >=IF(ISNUMBER<span style=' color:008000; '>(MATCH<span style=' color:#0000ff; '>(A1,Sheet2!A:A,0)</span>)</span>,INDEX<span style=' color:008000; '>(Sheet2!B:B,MATCH<span style=' color:#0000ff; '>(A1,Sheet2!A:A,0)</span>)</span>,"")</td></tr></table></td></tr></table> <br />Excel tables to the web - Excel Jeanie Html 4
 
Upvote 0

Forum statistics

Threads
1,215,549
Messages
6,125,473
Members
449,233
Latest member
Deardevil

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