Index & Match matrix function. With number Intervals as lookup and Text as output.

DonKampfello

New Member
Joined
Apr 18, 2022
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Dear Excel-experts,

I am trying write an Index & Match formula to output what kind of wooden box I need in order to ship different pipe variants to our costumers.
The boxes has been designed to carry different pipe types with various dimensions. For now I am only interested in Type and Length, and my goal is to find the right Box with the formula output: T2, T3, T4, T5, etc, etc.

The intervals in the yellow data-area represents optimal max/min lengths in meter, which has been calculated from a weight-to-length ratio. Not sure if this is of any importance, but now you know.

It should be a relatively easy function, however, since my Length data-area is formatted into intervals, it does not seem to work for me and I am not sure whether I am using the Index & Match formula correctly.

Index & Match. boxes new.PNG


I am writing this in the Danish Excel language, but I have translated the function which should be this one. (I am sorry for the inconvenience).

=INDEX($E$9:$O$1127;XMATCH($G5;$E$8:$O$8;0;1);MATCH($F5;$D$9:$D$1127;0))

Link to my worksheet if needed:


I hope you can help me. Thanks!
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
If you are happy to change the values in row 9 how about
Mappe.xlsx
ABCDEFGHIJKLMNO
1
2
3
4GTTypeLenght=Box
5GT4418030T2
6
7
8TypeLenght Intervals
904691126141201251261301401521
10180T2T2T3T3T3T3T4T4T4T4T4
11181T2T2T3T3T3T3T4T4T4T4T4
12182T2T2T3T3T3T3T4T4T4T4T4
13183T2T2T3T3T3T3T4T4T4T4T4
14184T2T2T3T3T3T3T4T4T4T4T4
15185T2T2T3T3T3T3T4T4T4T4T4
16186T2T2T3T3T3T3T4T4T4T4T4
17187T2T2T3T3T3T3T4T4T4T4T4
18188T2T2T3T3T3T3T4T4T4T4T4
19189T2T2T3T3T3T3T4T4T4T4T4
20190T2T2T3T3T3T3T4T4T4T4T4
21191T2T2T3T3T3T3T4T4T4T4T4
22192T2T2T3T3T3T3T4T4T4T4T4
23193T2T2T3T3T3T3T4T4T4T4T4
24194T2T2T3T3T3T3T4T4T4T4T4
25195T2T2T3T3T3T3T4T4T4T4T4
26196T2T2T3T3T3T3T4T4T4T4T4
27197T2T2T3T3T3T3T4T4T4T4T4
28198T2T2T3T3T3T3T4T4T4T4T4
29199T2T2T3T3T3T3T4T4T4T4T4
30200T2T2T3T3T3T3T4T4T4T4T4
Ark1
Cell Formulas
RangeFormula
I5I5=INDEX($E$10:$O$1127,MATCH($F5,$D$10:$D$1127,0),XMATCH($G5,$E$9:$O$9,-1))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,009
Messages
6,122,674
Members
449,091
Latest member
peppernaut

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