Partial String Match

tcarterg

New Member
Joined
Sep 15, 2014
Messages
9
I've got two lists that I want to compare and return the value in A column. I've tried the following to no avail.

List #1List #2Results
Wells Fargo Bank, NAWells Fargo Bank Sioux Falls, S.D
Citigroup Global Markets, INCCity National Bank Los Angeles
JPMorgan Securities, INC.JPMorgan Chase Bank Columbus, Ohio
JPMorgan Chase & CoBank of America, USA

<tbody>
</tbody>


=LOOKUP(1E+100,SEARCH(A2:A5,B2),A2:A5) - no results

and

=VLOOKUP(CONCATENATE("*",LEFT(B2,8),"*"),A2:A5,1,FALSE)

too broad, comes up with unrelated results, even when expanding it out from 8 to 12-15.

Any help?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
I'd like to see it come back with the matching result in column A. So the above would look like this:
List #1List #2Results
Wells Fargo Bank, NAWells Fargo Bank Sioux Falls, S.DWells Fargo Bank, NA
Citigroup Global Markets, INCCity National Bank Los AngelesN/A
JPMorgan Securities, INC.JPMorgan Chase Bank Columbus, OhioJPMorgan Chase & Co
JPMorgan Chase & CoBank of America, USAN/A

<tbody>
</tbody>
 
Upvote 0
I'd like to see it come back with the matching result in column A. So the above would look like this:
List #1
List #2
Results
Wells Fargo Bank, NA
Wells Fargo Bank Sioux Falls, S.D
Wells Fargo Bank, NA
Citigroup Global Markets, INC
City National Bank Los Angeles
N/A
JPMorgan Securities, INC.
JPMorgan Chase Bank Columbus, Ohio
JPMorgan Chase & Co
JPMorgan Chase & Co
Bank of America, USA
N/A

<TBODY>
</TBODY>

This cannot be done with the LOOKUP formula even if you use the most convenient constant as look up value.

Have a look rather at:
http://www.mrexcel.com/forum/excel-questions/195635-fuzzy-matching-new-version-plus-explanation.html
 
Upvote 0
I've looked at it but I haven't tried it. Seeing as you are pointing me towards it and I've seen it twice now in related searches on here, It might be the way to go, but I wanted to see if I was just going the long way around the barn and someone knew a function I could use.
 
Upvote 0

Forum statistics

Threads
1,214,815
Messages
6,121,715
Members
449,049
Latest member
THMarana

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