I have a large dataset in which I need to find a list of partial string matches, and then return a value associated with each unique partial string match.
Example
======
The dataset:
indallastexas
musicfan
bluechair
twentyminutesago
The lookup table:
LookupValue MasterValue
------------ ------------
dallas city
music noun
blue color
minutes time
Desired result:
indallastexas city
musicfan noun
bluechair color
twentyminutesago time
So for all occurences of the word "dallas", I need to return the value "city" in that row. My dataset is quite large, and I need to repeat this periodically so simply finding/replacing is not an option. I also cannot parse the dataset in a way that will put all of my exact lookup values into a column. There are no character patterns in the data that vlookup can use, in other words everything is a string and the lookup values in the strings do not have consistent placement patterns in the cells.
This seems like a vlookup with a partial match vs. exact match. Any ideas?
Bookmarks