VLOOKUP - Fuzzy Lookup

meppwc

Well-known Member
Joined
May 16, 2003
Messages
626
Office Version
  1. 365
Platform
  1. Windows
I am trying to figure out the best way to perform a VLOOKUP where as the value I am looking for is found somewhere within an array of letters/numbers/characters of a cell.
For Example:
One of the values in my lookup table has the numeric string "841752"
The cell being searched contains the following: "[XREF TO 841752] MP PART CARTRIDGE C3000A"
I should get a "hit" on this cell because it does contain the "841752" string that I am searching on.

I have tried modifying the VLOOKUP formula changing the last part of the formula from "FALSE" to "TRUE" and the results are TOO fuzzy and often see a hit on a cell that does NOT contain the value being searched on.

Does anyone have a suggestion?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Assuming your data is in cell A1, place this formula in cell B1. It will return "TRUE' or "FALSE" : =ISNUMBER(SEARCH("841752",A1))
 
Upvote 0
Although your solution works for one specific value (841752), I have 30 different numeric values that I have to search each cell for. This is why I chose the VLOOKUP table. I tried taking the formula that you provided and replaced the "841752" with the range in my lookup table (A2:A31) and that does not work. I am sorry, but I do appreciate your assistance.
 
Upvote 0
Assuming your data is in column A, your lookup data is in column D, place this formula in B1 and copy down: =SUMPRODUCT(--ISNUMBER(SEARCH($D$1:$D$5,A1)))>0
Change the ranges in the formula to suit your needs.
 
Upvote 0
THAT IS PERFECT !!!!!.............Thank you so much
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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