#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Merging Data

I have two excel spreadsheets in 2003. I want to search the main spreadsheet
for certain ID code. Once that code is found to dump the associated
information that has 10 separate columns on one row from the second
spreadsheet into new columns in the main sheet.

Example:

Main sheet has 15 columns of personal information with a keycode. Let's says
the keycode I want is 129. In the other sheet I have name, address, province,
country, postal code and key codes. I want to take the customer info
associated with key code 129 and dump into the main sheet in all places that
has the key code 129.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Merging Data

Let's say the Main worksheet has data in rows 1 to 220 and columns A to 0:
so the table $A$1:$O$220 and that the sheet is called Main. As long as the
key in in the first column we can use VLOOKUP

On the second sheet in A1 you have entered the key to be found (129)
In a cell to the right of this enter =VLOOKUP($A1,Main!$A$1:$O$220,2,FALSE)
to extract the data from column 2 of the table from the row with key 129. To
get data from column 3 use =VLOOKUP($A1,Main!$A$1:$O$220,3,FALSE)

If the key is not in the first column we need to you MATCH and INDEX so
please tell us how the data is arranged if VLOOKUP does not work for you
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"John" wrote in message
...
I have two excel spreadsheets in 2003. I want to search the main
spreadsheet
for certain ID code. Once that code is found to dump the associated
information that has 10 separate columns on one row from the second
spreadsheet into new columns in the main sheet.

Example:

Main sheet has 15 columns of personal information with a keycode. Let's
says
the keycode I want is 129. In the other sheet I have name, address,
province,
country, postal code and key codes. I want to take the customer info
associated with key code 129 and dump into the main sheet in all places
that
has the key code 129.



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
Help with merging data vel Excel Worksheet Functions 1 February 12th 08 02:06 AM
Merging multiple columns of data into one column of data Archangel Excel Discussion (Misc queries) 7 February 24th 07 10:02 AM
Merging data Vern Halen Excel Discussion (Misc queries) 1 October 3rd 06 06:34 PM
Merging data Eric Stephens Excel Discussion (Misc queries) 0 June 7th 05 06:35 PM
Should Merging workbooks pick up new data or only edited data? Peggy L. Excel Worksheet Functions 0 January 13th 05 05:31 PM


All times are GMT +1. The time now is 09:15 PM.

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"