Multiple xlookups not working

Jaffabfc

Board Regular
Joined
Jul 5, 2013
Messages
239
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am wanting to lookup what is in column A:A to match cell O2 and what is in cells I1:T1 to match what is in cell O3 with the answer coming from I2:T1048576

I have tried Index Match i have tried sumifs (as it will only appear once) tried xlookup multiples but nothing just errors all time.

Can someone help?

I did post about it a while ago and got no response but i managed to fix it, since then the file got corrupt and i have had to start all over again and cant remember what formula i used.

Thanks
 
Hello, could you possibly post a sample of the data and how the output should look like?
 
Upvote 0
Hi,
Thanks for coming back i seem to have got it working, i received an office update so i saved my work did the update then loaded it back up and now the formula is working.

So unsure what was going wrong, i knew i had the formula right but i didnt know if i had the wrong formatting but clearly was just excel playing up
 
Upvote 0
Here are 2 options:

20250314 XLookup 2D Jaffabfc.xlsx
NOP
1
2ID10
3ColumnMar
4ResultK10TrimRange
5K10Without Trim Range
Sheet2
Cell Formulas
RangeFormula
O4O4=LET(data,DROP(TRIMRANGE(Sheet1!A:T,2,0),1), valCol,XLOOKUP(O3,Sheet1!A1:T1,data), result,XLOOKUP(O2,INDEX(data,0,1),valCol), result)
O5O5=LET(data,Sheet1!A2:T10000, valCol,XLOOKUP(O3,Sheet1!A1:T1,data), result,XLOOKUP(O2,INDEX(data,0,1),valCol), result)


My test data on Sheet1

20250314 XLookup 2D Jaffabfc.xlsx
ABCDEFGHIJKLMNOPQRST
1IDCol2Col3Col4Col5Col6Col7Col8JanFebMarAprMay
22I2J2K2L2M2
33I3J3K3L3M3
44I4J4K4L4M4
55I5J5K5L5M5
66I6J6K6L6M6
77I7J7K7L7M7
88I8J8K8L8M8
99I9J9K9L9M9
1010I10J10K10L10M10
1111I11J11K11L11M11
1212I12J12K12L12M12
1313I13J13K13L13M13
Sheet1
 
Upvote 0

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