What is the best way to join/merge two tables by column cell matching in Excel?
Posted
by
blunders
on Stack Overflow
See other posts from Stack Overflow
or by blunders
Published on 2010-12-29T19:06:38Z
Indexed on
2010/12/29
19:54 UTC
Read the original article
Hit count: 440
I've found this excel add-in to buy that appears to do what I need, but I'd rather have code that's open to use as I wish. While a GUI is nice, it's not required.
In an attempt to make the question more clear, I'm adding some two sample "input" tables in tab delimited form, and the resulting output table:
SAMPLE_INPUT_TABLE_01
NAME<tab>Location
John<tab>US
Mike<tab>CN
Tom<tab>CA
Sue<tab>RU
SAMPLE_INPUT_TABLE_02
NAME<tab>Age
John<tab>18
Mike<tab>36
Tom<tab>54
Mary<tab>18
SAMPLE_OUTPUT_TABLE_02
NAME<tab>Age<Location>
John<tab>18<tab>US
Mike<tab>36<tab>CN
Tom<tab>54<tab>CA
Sue<tab>""<tab>RU
Mary<tab>18<tab>""
If it matters, I'm using Office 2010 on Windows 7.
© Stack Overflow or respective owner