Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ronski1
 
Posts: n/a
Default Merging two spread sheets

I would like to merge two seperate spread sheets by matching the unique data
that appears in one column on each of the two spread sheets. Example one
sheet as 20 columns one of which is serial number, the other has 10 columns
one of which is serial number. I would like to end up with one spread sheet
with 30 columns where the data comes together only when the serial numbers
match.
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

you should be able to use VLOOKUP for this.

assuming worksheet A (the 20 column one has all the serial numbers you
want), and column A contains the serial number. Go to cell
U2 (i'm assuming this is your first blank column in this sheet) and type

=VLOOKUP($A2,Sheet2!$A$2:$J$1000,2,0)
then fill across the ten columns, in column V change the formula to
=VLOOKUP($A2,Sheet2!$A$2:$J$1000,3,0)
in W to
=VLOOKUP($A2,Sheet2!$A$2:$J$1000,4,0)
etc
then fill down all the necessary rows .. this should populate these 10
columns as required. You can then select them and use copy, edit / paste
special / values to convert them to values after you have your information.

Note, the VLOOKUP function requires that the first column mentioned in the
2nd parameter contains the data that matches the lookup value (the 1st
parameter) i.e. your serial numbers need to be in column A in the worksheet
with the 10 columns.

hope this helps
Cheers
JulieD

"ronski1" wrote in message
...
I would like to merge two seperate spread sheets by matching the unique
data
that appears in one column on each of the two spread sheets. Example one
sheet as 20 columns one of which is serial number, the other has 10
columns
one of which is serial number. I would like to end up with one spread
sheet
with 30 columns where the data comes together only when the serial numbers
match.



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
Copying multiple sheets from one book 2 another and undertake spec Pank Mehta Excel Discussion (Misc queries) 14 March 16th 05 04:41 PM
how do I get a download for excel spread sheets only fmj distributing Excel Discussion (Misc queries) 3 February 18th 05 09:16 AM
Copy comments to several sheets in a workbook? jen_l_333 Excel Worksheet Functions 1 January 7th 05 10:30 PM
Multiple sheets selected twa14 Excel Discussion (Misc queries) 2 December 21st 04 11:15 AM
how do i compare 2 spread sheets if the content of a cell is avai. Hayitsme Excel Worksheet Functions 1 December 16th 04 11:27 PM


All times are GMT +1. The time now is 05:12 PM.

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

About Us

"It's about Microsoft Excel"