Search similar values

lionginass

New Member
Joined
Jul 29, 2016
Messages
24
Hello,

I have an issue.
There are column of numbers

12345
23456
66666
77777
98543

All of these numbers were entered manually.

The last number was mistyped. It should be 96543 instead of 98543.
So my questions is: Is it possible to find similar values in array formula or vba? i cannot find any info in google about that.
Lets say if 4 numbers match, formula returns TRUE or 1. Dont need exact location

Help with a hint where to find info about this or how to google formula?


Thank you
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi Lionginass,

I don't see how you could identify a typing mistake without further information.

There is, however, an old accounting trick if your books don't balance and you suspect a transposition error (the most common type of entry error).
Subtract the expected total from the actual and divide by 9. If it's exactly divisible by 9 then it's probably a transposition error and the result of the division tells you where.

In this example the expected total is 278,787 but I'm getting 276,087. Subtracting gets 2,700 which is divisible by 9 and returns 300, so this tells me the transposition is between the thousands and hundreds digits, in this case I entered 95843 instead of 98543.

Lionginass.xlsx
HIJKL
1GoodBadGood SUM278,787
21234512345Bad SUM276,087
32345623456Subtract2,700
46666666666Divide by 9300
57777777777
69854395843
Sheet1
Cell Formulas
RangeFormula
L1L1=SUM(H2:H6)
L2L2=SUM(I2:I6)
L3L3=L1-L2
L4L4=L3/9
 
Upvote 0

Forum statistics

Threads
1,223,445
Messages
6,172,177
Members
452,446
Latest member
walkman99

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