Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default combining data from 2 sheet into new sheet based on like values

Good afternoon:

Looking for a way to take data from one spreadsheet, compare it with
another, if there's a match by cell from both spreadsheets, take both rows
and combine it into one row on a new spreadsheet or something similar.

I'm working with column O on one spreadsheet and column E on another. For
example, if 'O36' on sheet 1 matches with 'E412' from sheet 2, take both rows
of information and add it to the new sheet.

Is something like this possible?

thanks, as always for the great assistance here.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,104
Default combining data from 2 sheet into new sheet based on like values

=IF('Sheet1'!O36='Sheet2'!E412,'Sheet1'!O36,"")
if the two cells are equal (is this what you mean by "match") then the cell
with this formula will display the value of the cells, otherwise it will
display blank (a pair of double-quotes with nothing between them results is
a blank display.
Tell us if this is close to your need; or please expand on what is required.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Versace77" wrote in message
...
Good afternoon:

Looking for a way to take data from one spreadsheet, compare it with
another, if there's a match by cell from both spreadsheets, take both rows
and combine it into one row on a new spreadsheet or something similar.

I'm working with column O on one spreadsheet and column E on another. For
example, if 'O36' on sheet 1 matches with 'E412' from sheet 2, take both
rows
of information and add it to the new sheet.

Is something like this possible?

thanks, as always for the great assistance here.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default combining data from 2 sheet into new sheet based on like value

Bernard, thanks for replying. I think we're sorta on the right track and
yes, by 'match' i meant equal.

Each sheet has several columns of information. One common column from both
sheets is E from Sheet 1 and O from Sheet 2. I'd like something that will
look for all the occurences where a cell in column E from Sheet 1 matches a
cell from column O from sheet 2, copy the entire row from each sheet and
paste it to a new sheet on one row.

Additional info - sheet 1 may have around 500-1000 rows while sheet 2 will
have around 4-5 thousand rows. there might only be 100 rows that match
between the two sheets (sheet1 Column E, sheet2 Column O).

Hope i didn't make this more confusing.

thanks again!




"Bernard Liengme" wrote:

=IF('Sheet1'!O36='Sheet2'!E412,'Sheet1'!O36,"")
if the two cells are equal (is this what you mean by "match") then the cell
with this formula will display the value of the cells, otherwise it will
display blank (a pair of double-quotes with nothing between them results is
a blank display.
Tell us if this is close to your need; or please expand on what is required.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Versace77" wrote in message
...
Good afternoon:

Looking for a way to take data from one spreadsheet, compare it with
another, if there's a match by cell from both spreadsheets, take both rows
and combine it into one row on a new spreadsheet or something similar.

I'm working with column O on one spreadsheet and column E on another. For
example, if 'O36' on sheet 1 matches with 'E412' from sheet 2, take both
rows
of information and add it to the new sheet.

Is something like this possible?

thanks, as always for the great assistance here.




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
copy rows from one Data sheet to another sheet based on cell conte John McKeon Excel Discussion (Misc queries) 2 May 15th 10 06:49 AM
Populate excel sheet based on values in a separate sheet Andi Excel Discussion (Misc queries) 3 September 17th 09 02:53 PM
Hide rows of one sheet based on values in another sheet? Andrew Raastad Excel Programming 2 June 23rd 09 11:11 PM
Create new sheets based off Data sheet, and template sheet Midget Excel Programming 2 May 1st 07 09:55 PM
how to find and copy values on sheet 2, based on a list on sheet 1 evanmacnz Excel Programming 4 February 7th 05 08:33 PM


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