ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Creating a macro to find duplicate names (https://www.excelbanter.com/excel-discussion-misc-queries/34110-creating-macro-find-duplicate-names.html)

Carter Devereaux

Creating a macro to find duplicate names
 
I'm trying to locate all the duplicate names in a long list that I have. Is
there a macro or something that I could use to tell Excel to do that?

Jim Rech

What I usually do is sort by name and then insert a temporary column and run
a formula like this down it to mark the dups:

=IF(B1=B2,"X","")

--
Jim
"Carter Devereaux" wrote in
message ...
| I'm trying to locate all the duplicate names in a long list that I have.
Is
| there a macro or something that I could use to tell Excel to do that?




All times are GMT +1. The time now is 02:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com