Looking for help with formula to lookup pricing

aquapowers

New Member
Joined
Jan 17, 2008
Messages
26
Hello experts, I'm looking for a formula for cell C3 that will lookup the material and quantity entered in cells A3 and B3. In the example provided, the quantity must be reached to get the price. The quantity of 50 is enough to reach the 48 quantity price of 297.71, but lower than the 100 quantity price of 283.28. There can be as few a one price break (item 88100 for example). If the minimum quantity is not reached, a price should not be populated in the resulting formula.

Contract Pricing 06.12.2024.xlsx
ABCDEFG
2ItemQuantityPriceItempricequantity
38800050297.7188000308.4820
488000297.7148
588000283.38100
688000272.59248
788000265.41500
888050352.9932
988050323.8748
1088050290.64100
1188050270.66240
1288100195.7648
1388750275.3230
1488750258.08100
1588750250.38250
1688750239.6600
Sheet1
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
This assumes the price is same or cheaper higher quantity. Secondly, it'll show the price as 0 if the requirements are not met. Try
Book1
ABCDEFG
1
2ItemQuantityPriceItempricequantity
38800050297.7188000308.4820
488000297.7148
588000283.38100
688000272.59248
788000265.41500
888050352.9932
988050323.8748
1088050290.64100
1188050270.66240
1288100195.7648
1388750275.3230
1488750258.08100
1588750250.38250
1688750239.6600
Sheet3
Cell Formulas
RangeFormula
C3C3=MINIFS($F$3:$F$16,$E$3:$E$16,A3,$G$3:$G$16,"<="&B3)
 
Upvote 0
Solution

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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