View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dav Dav is offline
external usenet poster
 
Posts: 1
Default comparing two columns of data to find common values


It depends how you want to display things countif(a:A,b1) would tell you
how many times the value in cell b1 appears in column a, say in cell c1

It could be changed into an if statement

=if(countif(a:a,b1)0,"Duplicate","Unique")

in d1

=if(countif(b:b,a1)0,"Duplicate","Unique")

both these formulas could be copied down to all the rows and maybe then
filter by these values to select what you require

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=564605