find duplicate entries without specifying criteria

y2k

Board Regular
Joined
Feb 25, 2002
Messages
133
can somebody tell me if this is possible. I have a spreadsheet with quiet alot of data. how could I search column1 for duplicates without specifying any criteria. in otherwords, I just want to tell excel, go to column1 and find all the duplicate entries. is this possible?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hello

if your column range is A1:A10 GO TO B1 AND ENTER THE FOLLOWING FORMULA

=IF(COUNTIF($A$1:$A$100,A1)>1,"DUPLICATE","")

AND COPY DOWN TO THE END OF THE COLUMN


HTH

_________________
Best Regards,<font color="black"><font size=+1><font color="blue">A<font color="red">ndrea<font color="blue">S</font color="red"><font size=+1><font size=1><font color="red">using xl2000
This message was edited by sen_edp on 2002-09-20 04:57
 
Upvote 0
hi andreas,

Thanks for the code. Excel didn't seem to like the ; so I replaced it with a , - is that ok? It found two duplicates, which, as far as I can see aren't duplicates at all. why would this be?
 
Upvote 0
hi again,

I sorted my problem. I had put A1 as the cell reference, but rows 1 & 2 were headings, so I should have put A3 instead. once I changed it it worked a treat. thanks again

Martin
 
Upvote 0
Hello again

see my post above , this is the correct formula.
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,030
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top