Partial matches in lists of 6-digit numbers

Posts
2
Registration date
Friday June 14, 2019
Status
Member
Last seen
June 14, 2019
- - Latest reply: TrowaD
Posts
2566
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
November 19, 2019
- Jun 20, 2019 at 11:29 AM
Hello! I have a list of ~500 6-digit numbers. They were all hand entered, and we want to proof the list and see if any of them were duplicated by typing 1 digit in wrong. For example, If the number 123456 was entered, then when the number was encountered again it was mis-typed as 123457. Or 133456. Basically I want to see if any of these numbers are off by any 1 single digit. Any idea how I can do this?

This is what I've been trying on my test table:
=VLOOKUP("*"&LEFT(F3,5)&"*",$E$2:$F$24,2,0)
And it's just giving me "#N/A" even though there are definitely values it should catch.
See more 

2 replies

Posts
13034
Registration date
Monday June 3, 2013
Status
Moderator
Last seen
October 11, 2019
1537
0
Thank you
Ok we just dealt with an issue such as this recently. Make certain the columns that you are using are actually marked up as number, and the text you want to return is marked up as text. Make certain the cells you are performing the vlookup function in, are marked up as general. Once we applied these formats to our sheet, the formula started returning the proper lookups! Make certain the cell contents are the proper types.
baxterkix
Posts
2
Registration date
Friday June 14, 2019
Status
Member
Last seen
June 14, 2019
-
That didn't change anything at all.
Respond to ac3mark
Posts
2566
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
November 19, 2019
370
0
Thank you
Hi Baxter,

Even though I'm confused as to what you are trying to achieve, to make your formula produce a result try this:

=VLOOKUP("*"&LEFT(F3,5)&"*",$E$2:$F$24&"",2,0)
INSTEAD of pressing enter to confirm, press Ctrl+Shift+Enter to confirm formula. When done correctly the formula will be enclosed by curly brackets.

Best regards,
Trowa
Respond to TrowaD