Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default comparing and isolating duplicates in two columns

Thanks for your help in advance.

If i have values in column A, and values in column B, is there a quick and
easy formula that will isolate the duplicates--the values that are
identical--in the two columns? It's basically comparing 2 lists, names for
example, and trying to cross reference them.

Thanks again. I hope someone can help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default comparing and isolating duplicates in two columns

Enter this in C1
=IF(COUNTIF($A$1:$A$100,B1)0,"Present in Col A","Not found in Col A")
and copy down as far as you have entries in Col B after changing 100 to the
last row of data in Col A

You can use, in D1 to look in Col B for values in Col A
=IF(COUNTIF($B$1:$B$100,A1)0,"Present in Col B","Not found in Col B")
"monkeytrader" wrote:

Thanks for your help in advance.

If i have values in column A, and values in column B, is there a quick and
easy formula that will isolate the duplicates--the values that are
identical--in the two columns? It's basically comparing 2 lists, names for
example, and trying to cross reference them.

Thanks again. I hope someone can help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default comparing and isolating duplicates in two columns

One way...

Let's asume we're comparing column B to column A. Column A will contain only
unique names.

Enter this formula in C1 and copy down:

=IF(COUNTIF(A$1:A$20,B1),"Match on row "&
LOOKUP(1E100,1/(A$1:A$20=B1),ROW(A$1:A$20)),"")

--
Biff
Microsoft Excel MVP


"monkeytrader" wrote in message
...
Thanks for your help in advance.

If i have values in column A, and values in column B, is there a quick and
easy formula that will isolate the duplicates--the values that are
identical--in the two columns? It's basically comparing 2 lists, names
for
example, and trying to cross reference them.

Thanks again. I hope someone can help.



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
sumproduct with duplicates in two columns MAANI Excel Worksheet Functions 7 January 8th 09 08:48 AM
Finding and Isolating Duplicates leimst Excel Worksheet Functions 4 September 20th 08 08:24 PM
Comparing two columns of information with 2 new columns of informa cbuck Excel Discussion (Misc queries) 1 January 16th 07 09:49 PM
Comparing two ranges and the positions of duplicates ExcelMonkey Excel Worksheet Functions 3 January 7th 07 06:41 PM
Comparing two worksheets with two columns each for duplicates jlcnewyork Excel Discussion (Misc queries) 0 February 15th 06 02:32 PM


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