Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2008

Tip: Looking for answers? Try searching our database.

Merge rows from 2 XLS files using a common key field.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gene - 20 May 2008 19:44 GMT
I have 2 Excel files with customer records.  Each file has a common customer
number and the other fields are different.  I would like to combine the data
into one file by using the common customer number to link the related records
from the 2 spreadsheets.
ShaneDevenshire - 20 May 2008 20:16 GMT
Hi,

If there is a unique identifier you might consider using
=VLOOKUP(Key,Table,Col,Type)
Where you place the formula in one file and the Key is the common
identifier, Table is the data in the other file (the Key must be found in the
leftmost column of the Table range), Col is the column of the Table you want
to return, counted from left to right in the table range, Type indicates
whether you want an approximate or an exact match, in your case exact, so you
should use False (or 0).

Cheers,
Shane Devenshire
Microsoft Excel MVP

> I have 2 Excel files with customer records.  Each file has a common customer
> number and the other fields are different.  I would like to combine the data
> into one file by using the common customer number to link the related records
> from the 2 spreadsheets.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.