I have company names in a cell and sometimes the company names include more than one word
I have another table that has a list of company names with a company ID in the adjacent column
I wrote an xlookup function to lookup the company name from one table in another, and return the matching company ID
However, this only works if the match is exact. If, for example the lookup value is "Best Management" and the name in the lookup array is "Best", the function will not return a value.
I thought I can combine Xlookup with Left+Find but I get an error when trying that. Im pretty sure Im on the right track because when I use the Left+Find function by itself, it returns the first word of the cell. But that's not optimal bc then I need an extra column to do the xlookup in.
I hope this is clear and appreciate any help accomplishing this task.
Bookmarks