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
Column AColumn B
JohnID258
PeterID236

<tbody>
</tbody>

List 2
Column AColumnB
John Carrots
PeterApples

<tbody>
</tbody>

To this

Column AColumn BColumn c
JohnID 258Carrots
PeterID 236Apples

<tbody>
</tbody>


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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

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