Reputation: 1
I've been looking everywhere and I can't seem to get the results I want. I haven't used Excel in a while and am having trouble doing partial matches from two columns. I want to find partial matches of column A in column B and return the position where the matches are. Column A contains a data set of company names and column B contains another set. I want to make sure that ABC llc comes back as a partial for abc inc.
Is there a formula for that? I want to find a partial anywhere in the columns and for multiple companies.
Example:
ColumnA 1st Choice Staffing 84 Lumber Company Accent Hiring Group Accent Hiring Group Accountants Intl.
ColumnB: 1199SEIU Benefit and Pension Funds 171263 Canada Inc 1-800-FLOWERS.COM, Inc. 1St Franklin Financial Corporation 1St Source Bank
Upvotes: 0
Views: 891
Reputation: 31
Another add-in that may be of interest is the PowerUps add-in for Excel. The PowerUps add-in works in Excel 2003 thru 2013 and it has a function called pwrVLOOKUP that does fuzzy vlookups and operates basically the same as vlookup, just fuzzy if you want. An example is posted on the page here: http://officepowerups.com/2013/10/23/fuzzy-vlookup-in-excel/. It would do just what you're looking in your example. If not a pwrVLOOKUP, then the pwrMATCH would do the trick.
Upvotes: 0
Reputation: 354
VLOOKUP is fantastic as long as you are looking for exact matches. The TRUE / FALSE argument doesn't really serve the purpose you'd thought it serves. When you're looking for things that are not so black and white, you'd need some fuzzy logic here.
A quick example of where VLOOKUP falls short :
Microsoft released a free add in to Excel (compatible with most recent versions) that enables fuzzy vlook up'ing. Get the file (add-in + documentation + example) here :
http://www.microsoft.com/en-us/download/details.aspx?id=15011
And to Pnuts's point, the algorythm is based on Levenshtein distance.
Upvotes: 1