View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Identifying Duplicate data between 2 columns

From your data it looks like ColB is sorted...With your data in ColA and ColB
with headers in row1 ;
in C2 enter the below formula and copy that down
=IF(COUNTIF($B$2:B2,B2)=1,"Unique","Duplicate")

If you want to generate a unique list use the Autofilter option

1. Select the range in Col A and ColB including the header.
2. DataFilterAdvanced FilterCopy to another location
3. In copy to I have selected D1 and check 'Unique records only'
4. Click OK will give you the unique list..



If this post helps click Yes
---------------
Jacob Skaria


"Naja" wrote:

I have the following table and I am having trouble deriving a formula for my
answer:

Store # Item #
#0111 ADSD200.21SP
#0111 ADSD200.22SP
#0111 ADSD200SP.21.12
#0111 ADSD200SP.21.12
#0111 V29K10007.7SP
#0111 V29K10007.7SP
#0119 OG313
#0119 OG313
#0202 CF101-S
#0202 CF101-S

I would like my answer to look like this:
Store # Item #
#0111 ADSD200.21SP Unique
#0111 ADSD200.22SP Unique
#0111 ADSD200SP.21.12 Unique
#0111 ADSD200SP.21.12 Duplicate
#0111 V29K10007.7SP Unique
#0111 V29K10007.7SP Duplicate
#0119 OG313 Unique
#0119 OG313 Duplicate
#0202 CF101-S Unique
#0202 CF101-S Duplicate

Is this possible? Please help.