#1   Report Post  
Posted to microsoft.public.excel.misc
CH CH is offline
external usenet poster
 
Posts: 49
Default Merge 2 database

Hi Everybody,

I'm trying to merge 2 databases (both in .csv files) using Excel, each
having about 8 fields. I need to merge them by 2 Fields "SerialNumber" and
"MachineNumber".

Can anybody help? Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Merge 2 database

Usually macros are the best method. Another alternative is to use SumProduct
which is need if you are doing a table lookup using two columns.

Put each CSV file on a seperate worksheet

Then add the mising columns from sheet two into sheet 1.

So if you are looking up columns A and column b and getting data in column C
use this

=SumProduct(--(A1=Sheet2!A1:A100),--(B1=Sheet2!B1:B100),Sheet2!C1:C100)

"ch" wrote:

Hi Everybody,

I'm trying to merge 2 databases (both in .csv files) using Excel, each
having about 8 fields. I need to merge them by 2 Fields "SerialNumber" and
"MachineNumber".

Can anybody help? Thanks in advance.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Mail merge invoice from excel database BostonHR Excel Discussion (Misc queries) 0 October 15th 07 09:19 PM
merge database or sort? anand Excel Worksheet Functions 5 June 16th 07 07:28 AM
problems using Excel as a mail merge database in Office XP djcten Excel Worksheet Functions 3 December 28th 06 05:26 PM
Can I create a database to merge an organizational chart Sheree Excel Discussion (Misc queries) 0 August 22nd 05 04:00 PM
Excel database - merge to Word Cheesehead Packer Fan Lisa Excel Worksheet Functions 2 May 4th 05 04:40 PM


All times are GMT +1. The time now is 02:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"