vlookup wildcard not working

=vlookup("*"&A1"*",vtable,false) is not pulling data from vtable.  Please see attached. Thanks!
Sasha42Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sasha42Author Commented:
The attachment doesn't seem to be uploading.
vlookup-wildcard-problem.xlsx
Saurabh Singh TeotiaCommented:
Use this formula and drag it...

=LOOKUP(2^15,SEARCH($D$1:$D$4,A1,1),$E$1:$E$4)

Also for mortgage it shows N/A because you notice the spelling is different once you correct the spelling it will do what you are looking for..

Enclosed is your workbook for reference...

Saurabh...
vlookup-wildcard-problem.xlsx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
The problem with your Vlookup function is.....

1) You used the wild card with A1 which is a complete sentence not a particular keyword you are looking for in vtable.

2) The second issue is you omitted the column Index argument within the Vlookup formula. It is a mandatory argument so cannot be left in the formula.

Ideally you are trying to look the values D1:D4 in each row in A1:A4 and if any of the value within D1:D4 is found in say A1, you want to return the corresponding value from E1:E4 in B1.

To achieve this, you may also use the combination of Index/Match with IsNumber and Search Functions like this....

In B1, try this....

=INDEX($E$1:$E$4,MATCH(TRUE,INDEX(ISNUMBER(SEARCH($D$1:$D$4,A1)),0),0))

Open in new window

and copy down.

Also correct the spelling of the word Mortgage in A4 to get the correct output in B4.
Martin LissOlder than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.