Partial matches in lists of 6-digit numbers [Closed]

Report
Posts
2
Registration date
Friday June 14, 2019
Status
Member
Last seen
June 14, 2019
-
Posts
2657
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
September 22, 2020
-
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.

2 replies


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.
Posts
2
Registration date
Friday June 14, 2019
Status
Member
Last seen
June 14, 2019

That didn't change anything at all.
Posts
2657
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
September 22, 2020
440
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