Duplicate / Match

KrazyAl

Board Regular
Joined
Sep 28, 2007
Messages
75
Hi

I tried multiple suggestions I found on the site, none worked. I have a list of names that have been written two different ways (I.e. First name Last name and Last Name First Name)

A1 = Bill Gates
A2 = Gates Bill

I need to find these duplicates so I can fix them. I tried the text to columns and conditional format, it will find duplicate names, however still an issue to filter and find Bill Gates/Gates Bill

Thanks for you help!

Réal
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
This may be pointless without knowing what you've already tried, or what you intend to do once you isolate which names are duplicates - for example, how would you determine which is the correct first/last name combination?

This may be helpful, nonetheless. Determine what the opposite scenario is, then look for it in the list. If you get a "match" (i.e. non-#N/A value), then there's a duplicate, then you can filter on that value and proceed.
Excel Workbook
ABCDE
1Bill GatesBillGatesGates Bill2
2Gates BillGatesBillBill Gates1
3Tim BarnesTimBarnesBarnes Tim#N/A
Sheet
 
Upvote 0
Try using this formular to transpose the name on A1 on cell A3:

=IFERROR(MID(A1,FIND(" ",A1,1)+1,LEN(A1))&" "&LEFT(A1,FIND(" ",A1)),"")

Regards

Rotimi
 
Upvote 0
Hello

I tried the formulas you presented me and I keep getting an increase in value (Column E).

The list I have is about 120 names and about 30 are duplicate, meaning instead of following the naming convention: First Name + Last Name they were written as Last Name + First Name. I need to highlight or mark all duplicates. Once identified I can delete the incorrect name. Both Bill Gates and Gates Bill are the same person.

Here is a copy of what I got using your formulas.



Thanks
 
Upvote 0
Pasting the code below on A3 solves the problem:

=IFERROR(MID(A1,FIND(" ",A1,1)+1,LEN(A1))&" "&LEFT(A1,FIND(" ",A1)),"")

Regards

Rotimi
 
Upvote 0
You're missing the 0 as the last argument of MATCH.

You *do* want the #N/A error - that means there isn't a duplicate. Everything that has a number (regardless of how small or big the number) that means there's a duplicate in the list.
 
Upvote 0
Thanks I had noticed my missing 0.

This solution will help... the N/A was me trying something else and not removing the formula

Thanks!
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,723
Members
452,939
Latest member
WCrawford

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