Trying to align/merge two data sets/tables

Sprackers

New Member
Joined
Aug 9, 2017
Messages
31
Ive been working on trying to do this for 4 days and I still can't do it. gone through every tutorial everywhere.

Trying to do this


List 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]ID258[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD]ID236[/TD]
[/TR]
</tbody>[/TABLE]

List 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]ColumnB[/TD]
[/TR]
[TR]
[TD]John [/TD]
[TD]Carrots[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD]Apples[/TD]
[/TR]
</tbody>[/TABLE]

To this

[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column c[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]ID 258[/TD]
[TD]Carrots[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD]ID 236[/TD]
[TD]Apples[/TD]
[/TR]
</tbody>[/TABLE]


This is VERY simplistic example which is good.

List 1 is 1500 names and IDs
List 2 is 375 with vegetables and fruits and sometimes both.

I have 1500 names in no specific order so its not as simple as sort in alphabetical order and they will all be opposite each other.

Any help apprreciated

Sprackers
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi MArt

Firstly thanks for comng back, Thats what I was trying to say ive studied Vlookup and index match and niether work. the examples people show me assume I am already a excel wizard. Which clearly I am not.

thats why I made the example simple so someone could perhaps write the formula and I could see how to do it.

REgards

Phil
 
Upvote 0
Excel Workbook
ABCDE
1List 1List 2
2NameIDNameF/V
3JohnID258JohnCarrots
4PeterID236PeterApples
5
6
7NameIDF/VIDF/V
8JohnID258CarrotsID258Carrots
9PeterID236ApplesID236Apples
Sheet
 
Upvote 0
YES....its works...Brilliant

Thanks Mart a life saver.

What no one told me was that you needed all 4 formulas for it to work. I was led to believe that one single formula in one single cell would do it all.


No wonder I couldn't figure it out.


Thanks again and and with the example so simple I am able to go through it and understand whats happening.....a bit.

Cheers

Sprackers
 
Upvote 0
Not 4 but 2 formulas are enough.
I give two examples: one with 2 VLOOKUP (B8 and C8) and one with 2 INDEX/MATCH (D8 and E8) solutions.
You can choose from VLOOK or INDEX/MATCH.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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