Xlookup with multiple criteria

alang84

New Member
Joined
Oct 21, 2022
Messages
22
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I am trying to use the xlookup function with multiple criteria and partial text match. The formula is in F11 on the IR tab. I want to return the value in column H is the account numbers match, and if Column F on the OAR tab contains "Max 10%", but my formula is not working. Does anyone know what's wrong with it?

Formula.xlsx
ABCDEFGHI
1
2
3
4
5
6OAR TAB
7
8
9
10Session IDRequest IDSession LabelSession TypeAccount NumberViolation DescriptionSecurityOverride StatusRequest Status
1142Cascade123SecurityLimit Restriction Max 10% Cash -- before: 4888.85 after: 16237.20 max: 12711.23XYZApproved with NoteApproved
OAR



Formula.xlsx
ABCDEFG
1
2
3
4
5
6
7
8IR TAB
9
10IdAccountSleeveAlert TypeDescriptionOverride StatusRequest Status
11123Restriction Violation#N/A
12XLOOKUP(1,(OAR!$E$11:$E$100000=B11)*(OAR!$F$11:$F$100000="*Max 10%*"),OAR!$H$11:$H$100000)
IR
Cell Formulas
RangeFormula
F11F11=XLOOKUP(1,(OAR!$E$11:$E$100000=B11)*(OAR!$F$11:$F$100000="*Max 10%*"),OAR!$H$11:$H$100000)
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
How about
Excel Formula:
=XLOOKUP(1,(OAR!$E$11:$E$100000=B11)*(ISNUMBER(SEARCH("Max 10%",OAR!$F$11:$F$100000))),OAR!$H$11:$H$100000)
 
Upvote 0
Solution
When marking a post as the solution, please mark the original post that actually contains the soluton, and not your own post acknowlegding another post as the solution.
I have updated it for you.
 
Upvote 0
When marking a post as the solution, please mark the original post that actually contains the soluton, and not your own post acknowlegding another post as the solution.
I have updated it for you.
Sorry about that.
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,842
Members
449,193
Latest member
MikeVol

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