Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Compare 2 lists and merge


Hi,

Could someone help please, I have 2 worksheets 20 columns in each (both
sheets have identical row headers) and 30-40 rows, in column A of both
sheets is a field that may or may not appear in both sheets, what I
would like to do is merge the information from both sheets and create a
master list in sheet3 is this possible?

I have attached a sample workbook if this helps!

Regards,

Sanjay


+-------------------------------------------------------------------+
|Filename: merge list.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3684 |
+-------------------------------------------------------------------+

--
sanjay
------------------------------------------------------------------------
sanjay's Profile: http://www.excelforum.com/member.php...fo&userid=5915
View this thread: http://www.excelforum.com/showthread...hreadid=394780

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Compare 2 lists and merge

not enough information.
Why not simply move table2 and append it to table1

Are the items in column A supposed to be unique? If so, when the item is on
both tables, what data columns do you take - from table1 or table2? Or maybe
add them together?


"sanjay" wrote:


Hi,

Could someone help please, I have 2 worksheets 20 columns in each (both
sheets have identical row headers) and 30-40 rows, in column A of both
sheets is a field that may or may not appear in both sheets, what I
would like to do is merge the information from both sheets and create a
master list in sheet3 is this possible?

I have attached a sample workbook if this helps!

Regards,

Sanjay


+-------------------------------------------------------------------+
|Filename: merge list.zip |
|Download: http://www.excelforum.com/attachment.php?postid=3684 |
+-------------------------------------------------------------------+

--
sanjay
------------------------------------------------------------------------
sanjay's Profile: http://www.excelforum.com/member.php...fo&userid=5915
View this thread: http://www.excelforum.com/showthread...hreadid=394780


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Compare 2 lists and merge


Sorry Patrick,

I hope this makes sense:

Sheet 1
ID B C D
A1 2 4
A2 3 5
A4 4 4
A5 5 5

Sheet 2
ID B C D
A1 3 4
A2 1 3 5
A3 5 6 7
A6 6 6 6


Sheet 3 (merged sheet)
ID B C D
A1 2 3 4
A2 1 3 5
A3 5 6 7
A4 4 4
A5 5 5
A6 6 6 6

Regards,

San

--
sanja
-----------------------------------------------------------------------
sanjay's Profile: http://www.excelforum.com/member.php...nfo&userid=591
View this thread: http://www.excelforum.com/showthread.php?threadid=39478

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Compare 2 lists and merge

what if
Sheet 1
ID B C D
A1 2 4
A2 3 5
Sheet 2
ID B C D
A1 3 4
A2 1 4 5


in A2 column C. would you take the 3 or the 4?

"sanjay" wrote in
message ...

Sorry Patrick,

I hope this makes sense:

Sheet 1
ID B C D
A1 2 4
A2 3 5
A4 4 4
A5 5 5

Sheet 2
ID B C D
A1 3 4
A2 1 3 5
A3 5 6 7
A6 6 6 6


Sheet 3 (merged sheet)
ID B C D
A1 2 3 4
A2 1 3 5
A3 5 6 7
A4 4 4
A5 5 5
A6 6 6 6

Regards,

Sanj


--
sanjay
------------------------------------------------------------------------
sanjay's Profile:
http://www.excelforum.com/member.php...fo&userid=5915
View this thread: http://www.excelforum.com/showthread...hreadid=394780



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
compare lists Jim S.[_3_] Excel Discussion (Misc queries) 3 October 14th 09 10:30 AM
Compare two lists RichUE Excel Worksheet Functions 2 December 15th 08 02:29 PM
compare two lists lark Excel Worksheet Functions 3 May 6th 08 02:12 AM
compare and merge lists in separate worksheets EAH Excel Worksheet Functions 1 March 7th 08 05:03 AM
Compare Lists Lemmesee Excel Discussion (Misc queries) 5 January 9th 07 03:15 AM


All times are GMT +1. The time now is 11:12 AM.

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"