#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default comparing 2 sheets

hey all,

i have 2 sheets that contain a column of names on both

s1
john
amy

s2
john
chris

is there a way to find out, for example, names in s1 that don't exist in s2?

thanks,
rodchar
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default comparing 2 sheets

The easiest way is to use a separat column. let's assume your lists are in
column A of both, and start in cell A2 (A1 being a header)

in B2 of sheet1, enter:

=countif(sheet2!A:A,A2)

change your sheet name and column references as needed.

any with a 0 are not in the other list.

You can do boh ways to capture those one either list but not on the other.

"rodchar" wrote:

hey all,

i have 2 sheets that contain a column of names on both

s1
john
amy

s2
john
chris

is there a way to find out, for example, names in s1 that don't exist in s2?

thanks,
rodchar

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default comparing 2 sheets

Thanks for the help,
rod.

"Sean Timmons" wrote:

The easiest way is to use a separat column. let's assume your lists are in
column A of both, and start in cell A2 (A1 being a header)

in B2 of sheet1, enter:

=countif(sheet2!A:A,A2)

change your sheet name and column references as needed.

any with a 0 are not in the other list.

You can do boh ways to capture those one either list but not on the other.

"rodchar" wrote:

hey all,

i have 2 sheets that contain a column of names on both

s1
john
amy

s2
john
chris

is there a way to find out, for example, names in s1 that don't exist in s2?

thanks,
rodchar

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
Comparing Two Sheets Pete Petersen Excel Worksheet Functions 2 April 7th 10 10:04 PM
Comparing 2 sheets PauloG Excel Discussion (Misc queries) 5 May 13th 08 12:47 PM
Comparing Across Sheets RJB Excel Discussion (Misc queries) 1 March 6th 08 02:23 AM
comparing 2 sheets rodchar Excel Discussion (Misc queries) 3 September 11th 07 03:55 AM
comparing 2 sheets studentcog Excel Worksheet Functions 1 February 15th 06 04:46 PM


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