How to compare and combine two Excel sheets? (mac Excel 2011)

Maarten Ramadan

New Member
Joined
May 19, 2015
Messages
1
Hi guys,

I've made a couple of example tables to explain my problem (see tables below). I'm struggling with the following:

I have two sheets. Sheet T1 and sheet T2. I want Excel to take the data from column C from sheet T2 and put it into column D of sheet T1 to form sheet T3.

So Excel needs to find the data from the matching rows and put them together, without skipping or leaving out rows.

If a row from sheet T2 isn't found in sheet T1 it should be added as a new row (it doesn't matter if it's on the bottom or in alphabetic/ascending order, as long as it's added).

If a row from sheet T1 isn't found in sheet T2 value in column D can be empty or 0 as long as the row isn't removed or anything.

Hope somebody can help me out.

Thank you in advanced.

Sheet T1[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]1[/TD]
[TD]A[/TD]
[TD]111[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]B[/TD]
[TD]222[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]D[/TD]
[TD]444[/TD]
[/TR]
</tbody>[/TABLE]






Sheet T2
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]1[/TD]
[TD]A[/TD]
[TD]999[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]B[/TD]
[TD]888[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]C[/TD]
[TD]777[/TD]
[/TR]
</tbody>[/TABLE]






Sheet T3
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]1[/TD]
[TD]A[/TD]
[TD]111[/TD]
[TD]999[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]B[/TD]
[TD]222[/TD]
[TD]888[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]C[/TD]
[TD]0[/TD]
[TD]777[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]D[/TD]
[TD]444[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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