Duplicates/Similar Text

RBone90

New Member
Joined
Apr 20, 2018
Messages
7
I have a strange question and I am going to do the best I can to explain it. I have a large list of invoice numbers and vendor numbers, and I want to look for possible duplicate payments. I can easily write a formula to find a duplicate of the same invoice number but is there a way to find one similar? For example a invoice might be entered wrong the second time (107896 and 107869). I would like to pull that invoice so I am aware and can look into it.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
So, I threw something together trying to do this, and I ran into a major problem fairly quickly. (I was comparing the number of matching characters)

One problem is how it handles consecutive numbers.

In your case, 107896 would be deemed 'close' to 107897.

107897 would be deemed 'close' to 107898...

107898 would be deemed 'close' to 107899... (and so on...)

This would cause pretty much everything to be considered a duplicate.

Unless you are specifically looking for 2 transposed digits, I don't see how you would be able to pull it off.

(the 2 transposed digits case would still trigger a ton of flagged entries)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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