View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
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.