Duplicate Data Spotting

Joneye

Well-known Member
Joined
May 28, 2010
Messages
777
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
I have a data sheet Colum A1 to A1000 has 1000 items in it, im sure some have been entered in twice how can I spot this with a formula?

regards

Jon
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hi,

Sadly this does not work, I have copied the formula and have put in 3 duplicates to test, not a duplicate gets listed as a number 1 and duplicates get listed as a 2 if they are a cell apart (i.e. on ontop of the other) if not they are represented by a 0.

Am i going wrong somewere?

Im using excel 2003, the data is A:1 to A:1000 it can be located anywere in this stacking...
 
Upvote 0
Hello

This methd works. Note the anchor on the first A1 ($A$1):
Excel Workbook
AB
1Value11
2Value21
3Value31
4Value32
5Value33
6Value22
7Value12
8Value13
Sheet1
Excel 2007
Cell Formulas
RangeFormula
B1=COUNTIF($A$1:A1,A1)


All results greater than 1 are duplicates.
 
Upvote 0
Hey Jon
try
Code:
=COUNTIF(A1:A1000,$A1)
 
Upvote 0
worked a GEM many thanks.
 
Upvote 0

Forum statistics

Threads
1,214,617
Messages
6,120,541
Members
448,970
Latest member
kennimack

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