Forum Moderators: phranque
If you have a column.. for example 10 items long, in column A
and you paste the following into cell B1
=IF(ISERROR(IF(VLOOKUP($A1,A2:$A$10,1,0)=$A1,1)),0,1)
and then copy that cell into a column in B, one cell short of the column in A.. (ie B1 to B9) then this should iterate the formula down to
=IF(ISERROR(IF(VLOOKUP($A9,A10:$A$10,1,0)=$A9,1)),0,1)
you can then sum the total of the list in column B = number of duplicates in A.
pivot tables [techtv.com]
either that or whack them into Access and do a group by and count function on your columm
Actually, Excel is a pretty powerful data analysis tool, although I agree for duplicate finding it leaves something to be desired. I use an add-in called digDB that really improves duplicate handling in Excel. And unlike most such tools, there is a free trial available.
Select your column, including heading.
Data - filter - advanced filter - copy to another location - unique records only.
Click in the Copy To box and clear it if it has anything in it, click on an empty cell (and make sure its at row one).
Click OK.
That will select all the uniques and paste them to the new location. Subtract that number from your total records.
Icicle
I will let you all know, in case you want to congratulate me and arrange a medal.
:)
Icicle
The Data > Filter > Advanced Filter > Copy to another location > Unique doesn't actually tell you what's unique, just gives you a list without duplicates.
Couldn't live without that little gem.