Multiple criteria lookup including partial text match

Samosa

New Member
Joined
Nov 9, 2014
Messages
23
Hello,

I'm trying to match cases from my lookup list to my master list below using multiple criteria, to get the output in column H. I am able to match the "Chris Dobbs" case in row 4 by concatenating last name and gender on each of the two lists. But i cant figure out how I would find "Greg Hamm" given the first name is Greg in the Associate list and Greg B in the master list.

Thanks in advance for your help,
Roy

[TABLE="width: 576"]
<tbody>[TR]
[TD="class: xl111, width: 64"][/TD]
[TD="class: xl111, width: 64"]A[/TD]
[TD="class: xl111, width: 64"]B[/TD]
[TD="class: xl111, width: 64"]C[/TD]
[TD="class: xl111, width: 64"]D[/TD]
[TD="class: xl111, width: 64"]E[/TD]
[TD="class: xl111, width: 64"]F[/TD]
[TD="class: xl111, width: 64"]G[/TD]
[TD="class: xl111, width: 64"]H[/TD]
[/TR]
[TR]
[TD="class: xl111, align: right"]1[/TD]
[TD="class: xl110, colspan: 2"]ASSOCIATE list[/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl110, colspan: 2"]MASTER LIST[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl111, align: right"]2[/TD]
[TD]FIRST[/TD]
[TD]LAST[/TD]
[TD]GENDER[/TD]
[TD][/TD]
[TD]FIRST[/TD]
[TD]LAST[/TD]
[TD]GENDER[/TD]
[TD]Associate?[/TD]
[/TR]
[TR]
[TD="class: xl111, align: right"]3[/TD]
[TD]Al[/TD]
[TD]Baker[/TD]
[TD]M[/TD]
[TD][/TD]
[TD]Al B[/TD]
[TD]Baker[/TD]
[TD]F[/TD]
[TD="class: xl112"]No[/TD]
[/TR]
[TR]
[TD="class: xl111, align: right"]4[/TD]
[TD]Chris[/TD]
[TD]Dobbs[/TD]
[TD]M[/TD]
[TD][/TD]
[TD]Chris[/TD]
[TD]Dobbs[/TD]
[TD]M[/TD]
[TD="class: xl112"]Yes[/TD]
[/TR]
[TR]
[TD="class: xl111, align: right"]5[/TD]
[TD]Ed[/TD]
[TD]Franken[/TD]
[TD]F[/TD]
[TD][/TD]
[TD]Ed R[/TD]
[TD]Franken[/TD]
[TD]F[/TD]
[TD="class: xl112"]Yes[/TD]
[/TR]
[TR]
[TD="class: xl111, align: right"]6[/TD]
[TD]Greg[/TD]
[TD]Hamm[/TD]
[TD]F[/TD]
[TD][/TD]
[TD]Greg B[/TD]
[TD]Hamm[/TD]
[TD]F[/TD]
[TD="class: xl112"]Yes[/TD]
[/TR]
[TR]
[TD="class: xl111, align: right"]7[/TD]
[TD]Illene[/TD]
[TD]James[/TD]
[TD]M[/TD]
[TD][/TD]
[TD]Illene[/TD]
[TD]James[/TD]
[TD]M[/TD]
[TD="class: xl112"]Yes[/TD]
[/TR]
[TR]
[TD="class: xl111, align: right"]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Kevin[/TD]
[TD]Lamb[/TD]
[TD]M[/TD]
[TD="class: xl112"]No[/TD]
[/TR]
[TR]
[TD="class: xl111, align: right"]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Mike[/TD]
[TD]Nelson[/TD]
[TD]M[/TD]
[TD="class: xl112"]No[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi,

Try this, Array Formula to be confirmed by CSE (Control, Shift, Enter):


Book1
ABCDEFGH
1ASSOCIATE listMASTER LIST
2FIRSTLASTGENDERFIRSTLASTGENDERAssociate?
3AlBakerMAl BBakerFNo
4ChrisDobbsMChrisDobbsMYes
5EdFrankenFEd RFrankenFYes
6GregHammFGreg BHammFYes
7IlleneJamesMIlleneJamesMYes
8KevinLambMNo
9MikeNelsonMNo
Sheet218
Cell Formulas
RangeFormula
H3{=IF(IFERROR(MATCH(LEFT(E3,FIND(" ",E3&" ")-1)&F3&G3,A$3:A$7&B$3:B$7&C$3:C$7,0),0),"Yes","No")}
Press CTRL+SHIFT+ENTER to enter array formulas.


Formula copied down.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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