Matrix Lookup (finding a match using two criterion)

evilrammy

New Member
Joined
Apr 9, 2014
Messages
10
Hi Team,

Would you please help me develop an index match or some type of lookup formula that has the following:

Lookup table looks like this

Code
Start WeightEnd WeightABCD
0.000.8$5.08$5.55$5.13$5.17
0.810.9$5.11$5.58$5.16$5.20
0.911.4$5.23$5.81$5.28$5.32
1.411.5$5.50$5.85$5.55$5.60

<colgroup><col span="4"><col><col></colgroup><tbody>
</tbody>

And then find the rates using the weight and code. (I've filled in the rate manually, that's what I'm trying to find with a formula).

WeightCodeRate
.95A$5.11
.80B$5.55
1.50B$5.85
.97D$5.32
1.10C$5.28
.74C $5.13

<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>

<colgroup><col span="4"><col></colgroup><tbody>
</tbody>

I appreciate any and all help on this. Thank you very much! David
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try:

ABCDEF
1Code
2Start WeightEnd WeightABCD
300.8$5.08 $5.55 $5.13 $5.17
40.810.9$5.11 $5.58 $5.16 $5.20
50.911.4$5.23 $5.81 $5.28 $5.32
61.411.5$5.50 $5.85 $5.55 $5.60
7
8
9WeightCodeRate
100.95A$5.23
110.8B$5.55
121.5B$5.85
130.97D$5.32
141.1C$5.28
150.74C$5.13
16

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
C10=VLOOKUP(A10,$A$3:$F$6,MATCH(B10,$A$2:$F$2,0))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



Check your first entry, I got a different result.
 
Upvote 0

Book1
ABCDEFGHIJ
1Start WeightEnd WeightABCDWeightCodeRate
200.8$5.08$5.55$5.13$5.170.95A$5.11
30.810.9$5.11$5.58$5.16$5.200.8B$5.55
40.911.4$5.23$5.81$5.28$5.321.5B$5.85
51.411.5$5.50$5.85$5.55$5.600.97D$5.32
61.1C$5.28
70.74C$5.13
8
Sheet1


In J2 enter and copy down:

=LOOKUP(H2,$A$2:$A$5,INDEX($C$2:$F$5,0,MATCH(I2,$C$1:$F$1,0)))
 
Upvote 0

Forum statistics

Threads
1,215,851
Messages
6,127,291
Members
449,374
Latest member
analystvar

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