Sumproduct multi-tiered thresholds

KingCeli

New Member
Joined
Jan 29, 2020
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I'm trying to find out if there is a formula to calculate the monthly billing fee based on the below table.

I receive monthly reports from a customer. The below table shows the billing rate per product at each threshold level.
Below the table is an example of how it is supposed to be calculated.
Starting with 9000 units of Product A and 1000 units from Product B bill at their respective first threshold rates, and then so on with Product C, D,..H.
I'm familiar with using Sumproducts to discount from the total at different levels, but that would only work on one product. I don't know how I would go about writing a formula for these many products.

I would very much appreciate help with this problem, I would waste too much time at work figuring it out on my own and this is the only customer that has their payment like this.


Book1
BCDEFGHIJ
4ThresholdsProduct AProduct BProduct CProduct DProduct EProduct FProduct GProduct H
51 to 10,000$1.35$1.21$1.18$1.09$1.02$0.87$0.82$0.71
610,001 to 50,000$1.28$1.15$1.12$1.03$0.97$0.83$0.81$0.67
750,001 to 100,000$1.22$1.09$1.07$0.98$0.92$0.79$0.77$0.64
8100,001 to 250,000$1.16$1.03$1.01$0.93$0.87$0.75$0.73$0.61
9250,001 to 500,000$1.10$0.98$0.96$0.89$0.83$0.71$0.69$0.58
10500,001 to 750,000$1.40$0.93$0.92$0.84$0.79$0.68$0.66$0.55
11750,001 to 1,000,000$0.99$0.89$0.87$0.80$0.75$0.64$0.62$0.52
121,000,001 to 3,000,000 $0.94$0.84$0.82$0.76$0.71$0.61$0.59$0.50
13
14Sample Fee Calculation:
15Product A – 9000 units
16Product B – 12000 units
17Product C – 5000 units
18Product D – 10000 units
19Product E – 2000 units
20Product F – 7000 units
21Product G – 1000 units
22Product H – 25000 units
23
24Fee Calculation = (1.35×9000(A)) + (1.21×1000(B)) + (1.15×11000(B)) + (1.12×5000(C)) + (1.03×10000(D)) + (.97×2000(E)) + (.83×7000(F)) + (.81×1000(G)) + (.67×4000(H)) + (.64×21000(H)) = $66,590.00
Sheet1
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
It was too late to post the alternative that does not use the Cumulative amount row.
The information below builds the cumulative into the formula.

Book1
CDEFGHIJKL
17October15,00048,00052,00060,00098,000150,000142,000950,000
18Oct Amount19,90054,42054,74055,80084,340106,50096,030489,250960,980
9bb
Cell Formulas
RangeFormula
D18:K18D18=SUMPRODUCT(--(SUM($D$17:D17)>$C$4:$C$11),SUM($D$17:D17)-$C$4:$C$11,D4:D11-D3:D10)-SUMPRODUCT(--(SUM($D$17:D17)-D17>$C$4:$C$11),(SUM($D$17:D17)-D17)-$C$4:$C$11,D4:D11-D3:D10)
 
Upvote 0
Attention: KingCeli

In case you ever review the suggestions or try the formulas, two points
1. Is the rate of 1.40 for Product A correct. If it should be 1.04 or some other number, the results will be impacted when you reach that bracket
2. The formula could be made more compact
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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