J
Jan Mannoury
i have two tables with one column in common. is there a way that i can
join them?
regards,
janm
join them?
regards,
janm
Yes, and you can get advice on how to do it if you provide a few more
details.
For example, how many columns and rows of data in the two tables, are
the two tables on separate sheets, are these separate workbooks, do you
have any duplicate entries in the common column, do you want unique
entries in the combined table, how do you want to treat data which
appears in both tables etc etc.
Ok, starting with your main table in Sheet1, copy the secondary table
into Sheet2 of the same workbook . Assume you have 100 rows in Sheet1
with a header in row 1, and 50 rows in Sheet2 also with a header in row
1. If your data is only two columns wide (A and B), enter this formula
into cell C2 of Sheet1:
=IF(ISNA(VLOOKUP(A2,Sheet2!A$2:B$50,2,0)),"",VLOOKUP(A2,Sheet2!A$2:B$50,2,0))