Volume discouting matrix over time

bjornc

New Member
Joined
Aug 3, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi guys, i have a problem i have been trying to solve the last couple of days inbetween a very busy schedule, for the love of my life i can't seem to figure this one out.

The problem is quite simple by nature, i can do the math by hand, but i can't do the formula.

I have one Table which contains the pricing the tiers:

FromToPrice
0​
50​
1​
51​
100​
2​
101​
200​
3​

And then i am trying to calculate the revenue/invoice based on sold units accumulated:

20262027202820292030
Units sold1003040040003000
Total acc.10013053045307530
Revenue250????

Any help is appreciated.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
How are you calculating revenue? I can't track how you're getting 250 for 2026.
 
Upvote 0
How are you calculating revenue? I can't track how you're getting 250 for 2026.

I managed to clutter the copy-pasta, it should be 150 for 2026, and for 2027 it should be 210.

(Btw, how do edit my post, i can't find the edit button).
 
Upvote 0
Ok, but I still don't understand how you're coming up with those values.

For example.

In 2026 it says that there were 100 units sold. The table says that the price per unit should be 2.

So, I would think that 2026 should be $2 * 100 units sold = $200.
 
Upvote 0
Commissions 2023.xlsm
ABCDEF
1
220262027202820292030
3Units sold1003040040003000
4Total acc.10013053045307530
5Revenue150901,20012,0009,000
6150901,20012,0009,000
7
8BracketRate
9
1001
11502
121003
2a
Cell Formulas
RangeFormula
B5:F5B5=SUM((B4>$A$10:$A$12)*(B4-$A$10:$A$12)*($B$10:$B$12-$B$9:$B$11))-SUM($A$5:A5)
B6:F6B6=LET(cumul,SUM($A$3:B3),SUM((cumul>{0;50;100})*(cumul-{0;50;100})*({1;1;1})))-SUM($A$6:A6)


Commissions 2023.xlsm
ABCDEFG
1Total 753022440TRUE
220262027202820292030
3Units sold1003040040003000
4Total acc.10013053045307530
5Revenue150901,20012,0009,000
6150901,20012,0009,000Without row 4
7
8BracketRate
9
1001
11502
121003
2a
Cell Formulas
RangeFormula
C1C1=SUM((B1>{0;50;100})*(B1-{0;50;100})*({1;1;1}))
E1E1=SUM(B5:F5)=C1
B5:F5B5=SUM((B4>$A$10:$A$12)*(B4-$A$10:$A$12)*($B$10:$B$12-$B$9:$B$11))-SUM($A$5:A5)
B6:F6B6=LET(cumul,SUM($A$3:B3),SUM((cumul>{0;50;100})*(cumul-{0;50;100})*({1;1;1})))-SUM($A$6:A6)
 
Last edited:
Upvote 0
Commissions 2023.xlsm
ABCDEF
1
220262027202820292030
3Units sold1003040040003000
4Total acc.10013053045307530
5Revenue150901,20012,0009,000
6150901,20012,0009,000
7
8BracketRate
9
1001
11502
121003
2a
Cell Formulas
RangeFormula
B5:F5B5=SUM((B4>$A$10:$A$12)*(B4-$A$10:$A$12)*($B$10:$B$12-$B$9:$B$11))-SUM($A$5:A5)
B6:F6B6=LET(cumul,SUM($A$3:B3),SUM((cumul>{0;50;100})*(cumul-{0;50;100})*({1;1;1})))-SUM($A$6:A6)


Commissions 2023.xlsm
ABCDEFG
1Total 753022440TRUE
220262027202820292030
3Units sold1003040040003000
4Total acc.10013053045307530
5Revenue150901,20012,0009,000
6150901,20012,0009,000Without row 4
7
8BracketRate
9
1001
11502
121003
2a
Cell Formulas
RangeFormula
C1C1=SUM((B1>{0;50;100})*(B1-{0;50;100})*({1;1;1}))
E1E1=SUM(B5:F5)=C1
B5:F5B5=SUM((B4>$A$10:$A$12)*(B4-$A$10:$A$12)*($B$10:$B$12-$B$9:$B$11))-SUM($A$5:A5)
B6:F6B6=LET(cumul,SUM($A$3:B3),SUM((cumul>{0;50;100})*(cumul-{0;50;100})*({1;1;1})))-SUM($A$6:A6)

In the first year, we sell 50 unit @ 1 USD = 50 usd. Then in the same year, we sell an additional 50 units @ 2 USD. = 150.
For the next year, we only sold 30 units @ 3 USD (since the total volume is above 100). So total revenue for that year is 90, but accumulated it is 210.
 
Upvote 0
What calculation would you expect on the the total?
The information does not seem consistent with the term Discount.
Why is the accumulated in second year 210?

Commissions 2023.xlsm
ABC
15130
16BracketRate
17
180150
19502150
201003240
211E+35
2a
Cell Formulas
RangeFormula
C18:C20C18=MIN($A$15-A18,A19-A18)*B18+C17
A21A21=10^35
 
Upvote 0
I'm with Dave on this one. It seems like 2027 should be returning 240, not 210. Either way, this is what I have.

bj
ABCDEF
820262027202820292030
9Units sold100304004,0003,000
10Total acc.1001305304,5307,530
11Revenue1502401,44013,44022,440
Sheet2
Cell Formulas
RangeFormula
B10:F10B10=SCAN(0,B9:F9,LAMBDA(s,c,s+c))
B11:F11B11=MAP(B10#,LAMBDA(x,LET(t,x,a,IF(t-50>0,50,t),b,IF(t-100>0,50,t-a),c,IF(a+b>t,0,t-(a+b)),SUM(VSTACK(a,b,c)*{1;2;3}))))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,267
Messages
6,123,964
Members
449,137
Latest member
yeti1016

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