Fuzzy VLOOKUP using a Range of Values

sys8dmin

New Member
Joined
May 10, 2018
Messages
6
Hi,

I have a problem where I am trying to VLOOKUP a certain code from a range but the source field has the target string in a larger "messy" string.

E.g. trying to search the cell "Y:\Certificates awaiting approval\1 Station Road TMV Dalex 090118.pdf" for the string "1 Station Road" and return the code "/1 Station Road, TOWN 5135/".

I have looked at using a fuzzy VLOOKUP using "*"&A!&"*" but had no success.

Is there an easier way to do this? I have 60,000 row spreadsheet to input the codes for so hoping to find a solution.:eeek:

Thanks!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Screenshots:

https://imgur.com/a/xmjCU3H
xmjCU3H
 
Upvote 0
I think this can be done using the TRUE parameter of VLOOKUP which uses approximation. Assuming your cells with the source text all start with "Y:\Certificates awaiting approval" and your table with the codes is sorted by street name then use the following formula in B2:

VLOOKUP(RIGHT(A2,LEN(A2)-34),CodeTableRange,2,TRUE)

This strips the first part of the source code before performing the approximate lookup.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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