V/H Lookup or INDEX

jake424

New Member
Joined
Dec 5, 2013
Messages
13
I'm trying to look up rates based off of weight and miles.


Weight
Miles500100015002000
250
4.56.58.510.5
500
7.59.511.513.5
75012.514.516.518.5

<tbody>
</tbody>

I have a cell where I type in the weight and another cell where I type in the miles. I want the 3rd table to be the rate

Weight675
Miles300
RateXX

<tbody>
</tbody>

I know the answer should be 4.5, but not sure how to look it up. Do I use vlookup, hlookup, INDEX, or a combination?


Thanks!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
jake424, Good afternoon.

Your scenario:

ABCDE
1Weight
2Miles500100015002000
32504.56.58.510.5
45007.59.511.513.5
575012.514.516.518.5

<tbody>
</tbody>

G2 --> WEIGHT --> 675

G3 --> MILES ----> 300

G4 --> FORMULA --> =INDEX($B$3:$E$5, MATCH(G3, $A$3:$A$5, 1), MATCH(G2, $B$2:$E$2, 1))

Is that what you want?
I hope it helps.
 
Upvote 0
Assuming Miles in A3:A5, Weight in B2:E2 and data table in B3:E5

I'd do something like...
=INDEX(B3:E5,MATCH(LOOKUP(C9,A3:A5),A3:A5),MATCH(LOOKUP(C8,B2:E2),B2:E2))
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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