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 / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

How do I merge 2 workbooks by comparing one column

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sadiya Bilgrami - 25 Oct 2006 15:25 GMT
I have 2 workbooks and each of them has 2 columns ITEM and DESCRIPTION. I
want to compare the item numbers and if the item nubers match want copy the
decription from workbook 2 to workbook 1 beside the description in workbook 1.

Thanks.
Richard Buttrey - 25 Oct 2006 21:11 GMT
>I have 2 workbooks and each of them has 2 columns ITEM and DESCRIPTION. I
>want to compare the item numbers and if the item nubers match want copy the
>decription from workbook 2 to workbook 1 beside the description in workbook 1.
>
>Thanks.

In C2 of Wb1 (assuming field names are in A1:B1) enter

=IF(ISERROR(VLOOKUP(A2,[Book2]Sheet1!$A$1:$B$15,2,FALSE)),"",VLOOKUP(A2,[Book2]Sheet1!$A$1:$B$15,2,FALSE))

and copy down as required.

HTH

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 
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.