XLOOKUP and Wildcards

AliGeeJay

New Member
Joined
Nov 28, 2018
Messages
14
Office Version
  1. 365
Platform
  1. Windows
I have an XLOOKUP formula in cell E2 that looks at cell B2, searches for that entry in Table A and returns its result in cell E2.

I have "wrapped" the search cell in a wildcard - "*"&E2&"*" - so that when I copy the formula down it would take into account any difference in the cell in column B, as in cell B3.
Cell B3 is not an exact match in Table A - there is a difference in the year between the two.

Should this formula work and if it can, why won't my example work?

XLOOKUP_ WIldcard Query.xlsx
ABCEFGHIJ
1Index No.Application NameVersionDiscovered InstallsLicenses HeldTable AResult
21Adobe Acrobat DC21.007.2009978Adobe Acrobat DC7
32Adobe After Effects 202118.4.1#N/A4Adobe Acrobat DC (64-bit)168
43PLSQL Developer 13 (32 bit)13.0.6.191115Adobe Acrobat Reader DC1954
54Apro Banking Gateway0910Adobe After Effects 20221
65Articulate 3601.56.26145.011Articulate 3601
76ASG-Remote Desktop 201811.0.6169.11520ASG-Remote Desktop 201815
87Jira Core (Server)0#N/A100PLSQL Developer 13 (32 bit)1
98Jira Software (Server)04100Apro Banking Gateway9
Restricted DB Master
Cell Formulas
RangeFormula
E2:E3E2=XLOOKUP("*"&B2&"*",I2:I8,J2:J8,,2)
E4E4=XLOOKUP("*"&B4&"*",I4:I9,J4:J9,,2)
E5E5=XLOOKUP("*"&B5&"*",I5:I9,J5:J9,,2)
E6E6=XLOOKUP("*"&B6&"*",I6:I9,J6:J9,,2)
E7E7=XLOOKUP("*"&B7&"*",I7:I9,J7:J9,,2)
E8E8=XLOOKUP("*"&B8&"*",I8:I9,J8:J9,,2)


For clarity I asked a similar question on another site, but I didn't specify the need for wildcards as I have here.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
No that formula cannot work the way you want. The wildcards before & after the cell reference means you are looking for anything in col I that includes the value in B2.
Not something that is similar.
 
Upvote 0
No that formula cannot work the way you want. The wildcards before & after the cell reference means you are looking for anything in col I that includes the value in B2.
Not something that is similar.
Hi Fluff, thanks for the reply. So if XLOOKUP as I have it won't work, is there another method I could use?
 
Upvote 0

Forum statistics

Threads
1,214,801
Messages
6,121,644
Members
449,045
Latest member
Marcus05

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