Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Consolidating multiple files into 1 target

I have 4 different files that I want to merge into one.
The data set is gigantic so I wanted to create a macro to
do the dirty work for me. The three files each of keys.
1 file is 1 key the 2nd file is the 2nd key and the 3rd
file is the one that matches the first and second keys to
give me a name. Now I want to get the information from
all of these onto one file. So basically im asking is how
to go about matching them up. I need them to be matched
and then the corresponding row be added into the already
existing row in the target file. THANK YOU!!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Consolidating multiple files into 1 target

paste the first and second keys into a single file, (column A and Column B)

then make a concatenated column in column C of the first and second key
(Column A and B).

Make a similar column in column A of the third file (insert a new column A).
(if necessary)

Now use the vlookup function using the values in column C of the combined
file to lookup the values in the third file using column A as the key.

--
Regards,
Tom Ogilvy


Mark wrote in message
...
I have 4 different files that I want to merge into one.
The data set is gigantic so I wanted to create a macro to
do the dirty work for me. The three files each of keys.
1 file is 1 key the 2nd file is the 2nd key and the 3rd
file is the one that matches the first and second keys to
give me a name. Now I want to get the information from
all of these onto one file. So basically im asking is how
to go about matching them up. I need them to be matched
and then the corresponding row be added into the already
existing row in the target file. THANK YOU!!!



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
Consolidating multiple worksheets into one [email protected] Excel Worksheet Functions 2 April 2nd 09 06:49 PM
need help in consolidating multiple data dromayn Excel Discussion (Misc queries) 0 December 6th 05 10:43 PM
Consolidating multiple sheets Phil Osman Excel Discussion (Misc queries) 4 June 30th 05 02:11 AM
Consolidating multiple workbooks John Robinson Excel Worksheet Functions 1 March 6th 05 09:14 PM
Consolidating multiple files using a row column range Jim[_16_] Excel Programming 2 July 10th 03 09:26 PM


All times are GMT +1. The time now is 07:33 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"