Partial match with XLOOKUP

namy77

New Member
Joined
Apr 19, 2016
Messages
29
Hi guys

I am trying to do an XLOOKUP to do a partial match on keywords using "*" for wildcard search, but this has been resulting in errors. Can anyone point out what I did wrong or give me an alternative solution.

In this example, the lookup cell "Pre-installed aspheric posterior intraocular lens" has the word intraocular as the keyword and should match and return the cell next to it on sheet 2 "implants"
1611857110804.png


1611857126285.png


Thanks!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
You cannot use xlookup like that, try
Excel Formula:
=LOOKUP(2,1/(ISNUMBER(SEARCH(Sheet2!$A$2:$A$21,Sheet1!A2))),Sheet2!$B$2:$B$21)

I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,216,113
Messages
6,128,904
Members
449,477
Latest member
panjongshing

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