What is the best way to find duplicate records in an Excel worksheet? The worksheet has 7 columns and over 30,000 lines. There are two columns that need to be checked for dupes and are a combination of both numbers and letters of varying length. Any suggestions?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Finding Duplicates (Excel 2000 SR-1)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Finding Duplicates (Excel 2000 SR-1)
- This topic has 3 replies, 4 voices, and was last updated 23 years, 9 months ago.
AuthorTopicWSSultanofCyber
AskWoody LoungerJuly 27, 2001 at 1:13 am #358446Viewing 2 reply threadsAuthorReplies-
WSPrestonK
AskWoody LoungerJuly 27, 2001 at 2:11 am #534889I personally would export the sheet to Access and there it becomes a table. Then a query can be built that has its criteria set to find duplicates, which can be done using one of the wizards. All that is necessary is to set the criteria under the field to >1 . You’ll get a recordset of duplicates.
-
WSHans Pottel
AskWoody LoungerJuly 27, 2001 at 6:17 am #534904Have a look at . I am sure that this will help. You can also find some other interesting things about duplicates on Chip Pearson’s site: Click Here. Then look for topics and scroll to ‘duplicates’.
-
H. Legare Coleman
AskWoody PlusJuly 27, 2001 at 12:15 pm #534942I would do something like this:
Public Sub FindDups() Dim I As Long, J As Long, lMax As Long imax = Range("A65536").End(xlUp).Row For I = 1 To imax - 1 For J = I + 1 To imax If Cells(I, 1) = Cells(J, 1) Then MsgBox "Cells " & Cells(I, 1).Address & " and " & _ Cells(J, 1).Address & " are duplicates" End If Next J Next I End Sub
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Marriage Counseling – Manages To Do It Save Our Marriage? (Awaiting moderation)
by
lynwoodspellman
2 hours, 4 minutes ago -
Where’s the cache today?
by
Up2you2
1 hour, 57 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
9 hours, 3 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
9 hours, 23 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
2 hours, 38 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
19 hours, 11 minutes ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
19 hours, 18 minutes ago -
regarding april update and may update
by
heybengbeng
20 hours, 47 minutes ago -
MS Passkey
by
pmruzicka
8 minutes ago -
Can’t make Opera my default browser
by
bmeacham
1 day, 4 hours ago -
*Some settings are managed by your organization
by
rlowe44
15 hours, 10 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 day, 3 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day, 23 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
2 days, 8 hours ago -
AI slop
by
Susan Bradley
1 hour, 58 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
2 days, 9 hours ago -
Two blank icons
by
CR2
21 hours, 4 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
2 days, 18 hours ago -
End of 10
by
Alex5723
2 days, 20 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
1 day, 18 hours ago -
test post
by
gtd12345
3 days, 2 hours ago -
Privacy and the Real ID
by
Susan Bradley
2 days, 17 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
19 hours, 24 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
3 days, 7 hours ago -
Upgrading from Win 10
by
WSjcgc50
1 day, 18 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day, 22 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days, 22 hours ago -
The story of Windows Longhorn
by
Cybertooth
3 days, 10 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
4 days ago -
Are manuals extinct?
by
Susan Bradley
1 day, 1 hour ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.