Formula for tiered pricing

BarbSs

New Member
Joined
Jul 15, 2018
Messages
1
I cannot find a formula that works for tiered pricing. Please help.

1-6000 gals is priced at $3.55 per 1000 gals ($0.00355 per gallon)
6000-25000 gals is priced at $3.95 per 1000 gals ($0.00395 per gallon)
25000 gals and up is priced at $4.40 per 1000 gals ($0.00440 per gallon)

I want to set up a formula that returns the total price when I put in the total number of gallons. So if the total of gallons is 33,144 the formula should give me a total cost based on all those tiers.

I tried using sumproduct but can't get it to work. All of the formulas I have found have price breaks. This formula needs to calculate price increase.

Any ideas? Thanks!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Excel 2010
BCDEFG
1GallonsAmountBracketsRatesDelta
233,144.00132.1800.0035500.003550
36,0000.0039500.000400
425,0000.0044000.000450
5
6T10_1807a2d
2d
Cell Formulas
RangeFormula
C2=SUMPRODUCT(--(B2>rB),B2-rB,rD)
F2=3.55/1000
G2=F2-N(F1)
Named Ranges
NameRefers ToCells
rB='2d'!$E$2:$E$4
rD='2d'!$G$2:$G$4
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,942
Members
449,094
Latest member
teemeren

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