excel - VLookup Formula with Wildcard "*" Not Working Properly -


i have formula strips prefix of value need find in workbook's table. returning #n/a don't understand why? goal strip asm: in workbook b, find john smith in workbook a.

workbook              workbook b john smith (245)        asm: john smith 

here formula not working:

=vlookup("*"&right($a$4,len($a$4)-5)&"*",'[sy2018 direct-inside sales quotas.xlsx]yearly asm quotas (full)'!$a:$f,5,false) 

see @jeeped's comment explaination

=vlookup("*"&trim(right($a$4,len($a$4)-5))&"*",'[sy2018 direct-inside sales quotas.xlsx]yearly asm quotas (full)'!$a:$f,5,false) 

Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -