INDEX_Lookup Issue

BRACE

New Member
Joined
Jan 31, 2025
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello,


I'm trying to return the correct value here:

Example:

If I have a height of 2140 and a width of 605, I need the formula to return the value in Cell E7 "375"

I'm currently using INDEX and MATCH but it's not working correctly and in this particular intance its returning "N/A"

ABCDEFGHIJKLMN
WHITE4005006007008009001000110012001300140015001600
11000£304£304£304£304£304£324£324£324£324£374£374£374
21200£304£304£304£304£304£324£324£324£324£374£374£374
31400£324£324£324£324£324£324£324£324£324£374£374£374
41600£324£324£324£324£324£324£324£324£324£374£374£374
51800£324£324£324£324£324£324£324£324£324£374£374£374
62000£324£324£324£324£324£324£324£324£324£374£374£374
72200£374£374£374£374£374£374£374£374£374£374£374£374
82400£374£374£374£374£374£374£374£374£374£374£374£374
92600£424£424£424£424£424£424£424£424£424£424£424£424
102800£424£424£424£424£424£424£424£424£424£424£424£424
113000£424£424£424£424£424£424£424£424£424£424£424£424
 
Glad we could help & thanks for the feedback.
 
Upvote 0
Another option
Fluff.xlsm
ABCDEFGHIJKLMNOP
1WHITE400500600700800900100011001200130014001500
21000£304£304£304£304£304£324£324£324£324£374£374£374
31200£304£304£304£304£304£324£324£324£324£374£374£3742140375
41400£324£324£324£324£324£324£324£324£324£374£374£374605
51600£324£324£324£324£324£324£324£324£324£374£374£374
61800£324£324£324£324£324£324£324£324£324£374£374£374
72000£324£324£324£324£324£324£324£324£324£374£374£374
82200£374£374£374£375£374£374£374£374£374£374£374£374
92400£374£374£374£374£374£374£374£374£374£374£374£374
102600£424£424£424£424£424£424£424£424£424£424£424£424
112800£424£424£424£424£424£424£424£424£424£424£424£424
123000£424£424£424£424£424£424£424£424£424£424£424£424
Data
Cell Formulas
RangeFormula
P3P3=INDEX(B2:M12,XMATCH(O3,A2:A12,1),XMATCH(O4,B1:M1,1))

Reading about using the 1 in the XLOOKUP, should this not look up the cross sections at 2000 and 500? "The largest value less than or equal to the lookup value"

2000 less than 2140
500 less than 600

1738342161152.png
 
Upvote 0
That image is for match, not xmatch or xlookup.
 
Upvote 0
Ah I see I thought they (Excel) would have gone with same logic with MATCH and XMATCH.

Thanks!
 
Upvote 0
No, because xmatch is an improved version of match with more capability.
 
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,926
Members
453,767
Latest member
922aloose

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