Return a value using 2 criteria - Index and match?

MikeGeno

Board Regular
Joined
Apr 4, 2008
Messages
130
Ive tried a few variations on index and match to return a value on 2 sets of criteria but am having issues.

In the example below the user will enter the product family name in A2 and enter an anticipated volume in B2. I would like to have the formula find the correct product group in column A, then look for the value that is less than or equal to that in column B and use the price associated with that in column C.

In this instance entering NN and 6000 would return a price of 50 in C2.

Any help would be greatly appreciated. I can rearrange how the data table is laid out if needed.
ABC
1Product FamilyVolumePrice
2NN6000???
3
PRD FAm
TiersPrice
4

SS
020
5SS200015
6SS1000010
7NN060
8NN500050
9NN2000040
10SR06
11SR500004
12SR1000002
13

<tbody>
</tbody>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi Mike

Assuming that the table has the volumes in ascending order for each product family, like in your example, try in C2:

=LOOKUP(2,1/(A4:A12=A2)/(B4:B12<=B2),C4:C12)
 
Upvote 0

Forum statistics

Threads
1,214,957
Messages
6,122,466
Members
449,086
Latest member
kwindels

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