Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Compare data from two worksheets and display difference into 3rd s

Hi,
I'm trying to compare names in two worksheets and display unmatching names
on a third worksheet.

WS#1 compares a new list of names in column A to WS#2 which is the old list
of names in column A. I want to pull the names that are in WS#1 that are not
in WS#2 and display those new names onto WS#3 in column A.

I've tried what I can using LOOKUP and IF-AND-OR, but apparently don't know
what I'm doing since it won't work.

Thanks for your help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Compare data from two worksheets and display difference into 3rds

Assuming you have a header row and your data starts on row 2 in both
sheets, then in a helper cell in Sheet1 (cell B2 ?) you can put this
formula:

=IF(ISNA(MATCH(A2,Sheet2!A:A,0)),"Unique","duplica te")

and copy this down to cover all the names in Sheet1. Then apply
autofilter to the helper column, and select Unique from the filter
pull-down. Now highlight all the visible data in Sheet1, including
headers, and click <copy then paste into Sheet3. Then you can remove
the helper column from Sheet1.

Hope this helps.

Pete

On Aug 6, 5:04*pm, auntiespyke
wrote:
Hi,
I'm trying to compare names in two worksheets and display unmatching names
on a third worksheet.

WS#1 compares a new list of names in column A to WS#2 which is the old list
of names in column A. *I want to pull the names that are in WS#1 that are not
in WS#2 and display those new names onto WS#3 in column A.

I've tried what I can using LOOKUP and IF-AND-OR, but apparently don't know
what I'm doing since it won't work.

Thanks for your help.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Compare data from two worksheets and display difference into 3

Hi Pete,

I'm getting an error - it's not accepting 0 for the match_type in the formula.



"Pete_UK" wrote:

Assuming you have a header row and your data starts on row 2 in both
sheets, then in a helper cell in Sheet1 (cell B2 ?) you can put this
formula:

=IF(ISNA(MATCH(A2,Sheet2!A:A,0)),"Unique","duplica te")

and copy this down to cover all the names in Sheet1. Then apply
autofilter to the helper column, and select Unique from the filter
pull-down. Now highlight all the visible data in Sheet1, including
headers, and click <copy then paste into Sheet3. Then you can remove
the helper column from Sheet1.

Hope this helps.

Pete

On Aug 6, 5:04 pm, auntiespyke
wrote:
Hi,
I'm trying to compare names in two worksheets and display unmatching names
on a third worksheet.

WS#1 compares a new list of names in column A to WS#2 which is the old list
of names in column A. I want to pull the names that are in WS#1 that are not
in WS#2 and display those new names onto WS#3 in column A.

I've tried what I can using LOOKUP and IF-AND-OR, but apparently don't know
what I'm doing since it won't work.

Thanks for your help.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Compare data from two worksheets and display difference into 3

Never mind!! It works just perfectly. I just had it in the wrong sheet.

Thank you much for the solution.



"auntiespyke" wrote:

Hi Pete,

I'm getting an error - it's not accepting 0 for the match_type in the formula.



"Pete_UK" wrote:

Assuming you have a header row and your data starts on row 2 in both
sheets, then in a helper cell in Sheet1 (cell B2 ?) you can put this
formula:

=IF(ISNA(MATCH(A2,Sheet2!A:A,0)),"Unique","duplica te")

and copy this down to cover all the names in Sheet1. Then apply
autofilter to the helper column, and select Unique from the filter
pull-down. Now highlight all the visible data in Sheet1, including
headers, and click <copy then paste into Sheet3. Then you can remove
the helper column from Sheet1.

Hope this helps.

Pete

On Aug 6, 5:04 pm, auntiespyke
wrote:
Hi,
I'm trying to compare names in two worksheets and display unmatching names
on a third worksheet.

WS#1 compares a new list of names in column A to WS#2 which is the old list
of names in column A. I want to pull the names that are in WS#1 that are not
in WS#2 and display those new names onto WS#3 in column A.

I've tried what I can using LOOKUP and IF-AND-OR, but apparently don't know
what I'm doing since it won't work.

Thanks for your help.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Compare data from two worksheets and display difference into 3

You're welcome - thanks for feeding back.

Pete

On Aug 6, 6:51*pm, auntiespyke
wrote:
Never mind!! *It works just perfectly. *I just had it in the wrong sheet.

Thank you much for the solution.

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 Data from two Worksheets mcarrigg Excel Discussion (Misc queries) 4 July 28th 08 06:06 AM
Compare several columns of data and display unique ones [email protected] Excel Discussion (Misc queries) 0 March 13th 07 04:12 PM
compare data in 2 worksheets Josh Excel Worksheet Functions 1 September 22nd 06 10:44 PM
compare worksheets data find data that changed Excel Discussion (Misc queries) 3 September 19th 05 09:43 PM
How do I compare 2 worksheets, 1 old, 1 updated to find difference alienstew Excel Discussion (Misc queries) 1 January 31st 05 02:01 PM


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