Combining data from two different tables into one

tampa123

New Member
Joined
Feb 22, 2017
Messages
2
Team,
Need some assistance. I'm looking to consolidate two tables into one without duplicating the exact same information. I've posted an example with the desired result below. Please let me know if this is possible and if you have any questions.
Table 1
ABC Company$70,000
DEF Company$80,000
XYZ Company$1,000,000
Table 2
ABC Company$70,000
GHI Company$120,000
JKL Company$65,000
XYZ Company$1,000,000
Combined Table
ABC Company$70,000
XYZ Company$1,000,000
DEF Company$80,000
GHI Company$120,000
JKL Company$65,000

<tbody>
</tbody><colgroup><col><col></colgroup>
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
There are a lot of ways you could do this... but if I am understanding your problem right it would just be that if you copy and paste it it would create a lot of duplicate data row...

The easiest way to fix this is short and sweet.

1. select and copy all the data in one of the tables (doesn't matter which one)
2. Right click on the other table that you did not select the data from and and select "Insert rows above/below"
a. this will basically combine the two tables together and you can delete the one you selected from.
3. go to your data toolbar and select the tool that says "remove duplicates"
4. you can then select the column that has the duplicate rows of data and remove them (this removes the entire row based on if there are duplicates of anything)

Does this work for what you need?
 
Upvote 0
There are a lot of ways you could do this... but if I am understanding your problem right it would just be that if you copy and paste it it would create a lot of duplicate data row...

The easiest way to fix this is short and sweet.

1. select and copy all the data in one of the tables (doesn't matter which one)
2. Right click on the other table that you did not select the data from and and select "Insert rows above/below"
a. this will basically combine the two tables together and you can delete the one you selected from.
3. go to your data toolbar and select the tool that says "remove duplicates"
4. you can then select the column that has the duplicate rows of data and remove them (this removes the entire row based on if there are duplicates of anything)

Does this work for what you need?

Thanks hissonrr. This helps and was actually my workaround, but I didn't know if there was a way to combine vlookup, ifthen, etc formulas to automate the process?
 
Upvote 0

Forum statistics

Threads
1,216,219
Messages
6,129,575
Members
449,519
Latest member
Rory Calhoun

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