Formula for tiered commission on different quantity/price levels

Mak1

New Member
Joined
Mar 18, 2022
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hi hope this makes sense.....

I need to work out commission on (1) quantity of product and (2) its sale price.

I would appreciate some suggestions and help on the 2 points below:

  • The commission is 50% for any sales of products equal to or above £5 value and decreases by 0.1% for every penny less than £5.
    The formula I have for this so far :
    =((0.5-(5-C19)*0.1)*C19) where C19 is the sales price.

    Can this be simplified or tidied up? Also how do I include it allow a sales price over £5 to stick at 50% commission?

  • The above formula is for the first 5000 units. Thereafter every 1000 units sold the commission amount (result of formula from point above) is decreased/discounted by 1%.

    What would the formula be, if the number of units sold is E19 and I wanted to show the total commission in F19?

    For e.g.
    A) If 7000 units were sold at £6.00, commission would be as follows:
    1) 50% for the first 5000 units ( £3 x 5000 ) = £3000
    2) (50% for the units 5001 to 6000 ; £3 x 1000) with a 1% discount = £2970
    3) (50% for the units 6001 to 7000 ; £3 x 1000) with a 2% discount = £2940

    TOTAL £8910

    B) If 7000 units were sold at £0.60, commission would be as follows:
    1) 6% for the first 5000 units ( £0.036 x 5000 ) = £180
    2) (6% for the units 5001 to 6000 ; £0.036 x 1000) with a 1% discount = £35.64
    3) (6% for the units 6001 to 7000 ; £0.036 x 1000) with a 2% discount = £35.28

    TOTAL £250.92


    Should you have any questions please let me know.
 
Have you changed the definition for lower priced items?
I changed the calculation of the discount.
Have you manually checked the results?

Commission2022.xlsm
CDEFG
1
2Units SoldSales PriceTotal CommissionDave
37,001620,912.9120,912.91
412,305419,200.9628,895.40
52,50011.414,250.0014,250.00
61,00163,003.003,003.00
7534.509.009
89,5001046,875.0046,875.00
97,0000.6250.922,509.20
107,000620,910.0020,910.00
111,000,00010-19,775,500.004,751,750.00
12
2a
Cell Formulas
RangeFormula
G7G7=C7*D7*0.6
F3:F11F3=SUM(IF(C3>aB,(C3-aB)*IF(D3>=5,aR,a2R))*D3)
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
For Dave's last example in row 11 (1,000,000 units at sales price of 10/unit), here is a small section of a semi-manual calculation using elements from the formula in post #20 to generate the various arrays for inspection. Note that I added one extra unit to confirm that an extra tier holding just 1 unit was generated in the arrays:
MrExcel20220319.xlsx
BCD
1Units SoldSales PriceTotal Commission
12100000110317300.05
Sheet2
Cell Formulas
RangeFormula
D12D12=LET(tiers,1+MAX(0,CEILING($B12-5000,1000))/1000, seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01), SUMPRODUCT(IF(seqr<0.01,0.01,seqr)*$C12*(0.5-MAX(0,0.1*(5-$C12))), IF(seqt=1,MIN(5000,$B12), IF(seqt<tiers,1000, IF(seqt=tiers,IF(MOD($B12,1000)=0,1000,$B12-FLOOR($B12,1000)) ))) ))

MrExcel20220319.xlsx
HIJKLM
10997total commission -->317300.05
11baseline comm ratetierscomm factorcomm/ unitunits per tiercommission per tier
120.511.005.00500025000.00
1320.994.9510004950.00
1430.984.9010004900.00
1540.974.8510004850.00
1650.964.8010004800.00
1760.954.7510004750.00
1870.944.7010004700.00
1980.934.6510004650.00
2090.924.6010004600.00
Sheet2
Cell Formulas
RangeFormula
I10I10=1+MAX(0,CEILING($B12-5000,1000))/1000
M10M10=SUM(M12#)
H12H12=(0.5-MAX(0,0.1*(5-$C12)))
I12:I1008I12=LET(tiers,1+MAX(0,CEILING($B12-5000,1000))/1000,seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01),seqt)
J12:J1008J12=LET(tiers,1+MAX(0,CEILING($B12-5000,1000))/1000,seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01), IF(seqr<0.01,0.01,seqr))
K12:K1008K12=LET(tiers,1+MAX(0,CEILING($B12-5000,1000))/1000,seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01),IF(seqr<0.01,0.01,seqr)*$C12*(0.5-MAX(0,0.1*(5-$C12))))
L12:L1008L12=LET(tiers,1+MAX(0,CEILING($B12-5000,1000))/1000,seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01), IF(seqt=1,MIN(5000,$B12), IF(seqt<tiers,1000, IF(seqt=tiers,IF(MOD($B12,1000)=0,1000,$B12-FLOOR($B12,1000))))))
M12:M1008M12=K12#*L12#
Dynamic array formulas.

And here is a snapshot of the top portion of the table where we can see the declining commission rate factors, declining commission/unit sold, units in each tier, and the calculated commission in each tier. I've hidden several hundred rows, but have included the transition region as the tier number hits 100, whereupon the commission factor is fixed at 0.01 (so that some commission is earned and it never goes negative). The very end of the table is also shown to confirm that the extra unit sold appears in the 997th tier. The total commission is summed in the upper right corner (317,300.05 for 1,000,001 units sold at a price of 10/unit.
1647812300584.png
 
Upvote 0
Have you changed the definition for lower priced items?
I changed the calculation of the discount.
Have you manually checked the results?

Commission2022.xlsm
CDEFG
1
2Units SoldSales PriceTotal CommissionDave
37,001620,912.9120,912.91
412,305419,200.9628,895.40
52,50011.414,250.0014,250.00
61,00163,003.003,003.00
7534.509.009
89,5001046,875.0046,875.00
97,0000.6250.922,509.20
107,000620,910.0020,910.00
111,000,00010-19,775,500.004,751,750.00
12
2a
Cell Formulas
RangeFormula
G7G7=C7*D7*0.6
F3:F11F3=SUM(IF(C3>aB,(C3-aB)*IF(D3>=5,aR,a2R))*D3)


Hi Dave,

There is a discrepancy here. For example row 7 ( 5 units sold at £3 ) should show a payout of £4.50 (£0.90 x 5). I have attached my reference sheet with splits from £5 to £3 below (£3 sales price being the bottom last line I've included )

20.03.22 trial commission sheet.xlsx
ABCDEFGHIJKLMN
34*FOREX USED
35GBPEURUSD
36£ 1.00€ 1.20$ 1.36
37GBP sales price examples used in tables below, showing consequent EUR and USD conversions at current FOREX rates.
38
39Sales price per unitSplit%Supplier amount per unitCommission amount per unit
40GBPEURUSDSupplierUsGBPEURUSDGBPEURUSD
41
42£ 5.00€ 6.00$ 6.8050.0%50.0%£ 2.50000€ 3.00$ 3.40£ 2.50000£ 3.00000$ 3.40000
43£ 4.95€ 5.94$ 6.7350.5%49.5%£ 2.49975€ 3.00$ 3.40£ 2.45025£ 2.94030$ 3.33234
44£ 4.90€ 5.88$ 6.6651.0%49.0%£ 2.49900€ 3.00$ 3.40£ 2.40100£ 2.88120$ 3.26536
45£ 4.85€ 5.82$ 6.6051.5%48.5%£ 2.49775€ 3.00$ 3.40£ 2.35225£ 2.82270$ 3.19906
46£ 4.80€ 5.76$ 6.5352.0%48.0%£ 2.49600€ 3.00$ 3.39£ 2.30400£ 2.76480$ 3.13344
47£ 4.75€ 5.70$ 6.4652.5%47.5%£ 2.49375€ 2.99$ 3.39£ 2.25625£ 2.70750$ 3.06850
48£ 4.70€ 5.64$ 6.3953.0%47.0%£ 2.49100€ 2.99$ 3.39£ 2.20900£ 2.65080$ 3.00424
49£ 4.65€ 5.58$ 6.3253.5%46.5%£ 2.48775€ 2.99$ 3.38£ 2.16225£ 2.59470$ 2.94066
50£ 4.60€ 5.52$ 6.2654.0%46.0%£ 2.48400€ 2.98$ 3.38£ 2.11600£ 2.53920$ 2.87776
51£ 4.55€ 5.46$ 6.1954.5%45.5%£ 2.47975€ 2.98$ 3.37£ 2.07025£ 2.48430$ 2.81554
52£ 4.50€ 5.40$ 6.1255.0%45.0%£ 2.47500€ 2.97$ 3.37£ 2.02500£ 2.43000$ 2.75400
53£ 4.45€ 5.34$ 6.0555.5%44.5%£ 2.46975€ 2.96$ 3.36£ 1.98025£ 2.37630$ 2.69314
54£ 4.40€ 5.28$ 5.9856.0%44.0%£ 2.46400€ 2.96$ 3.35£ 1.93600£ 2.32320$ 2.63296
55£ 4.35€ 5.22$ 5.9256.5%43.5%£ 2.45775€ 2.95$ 3.34£ 1.89225£ 2.27070$ 2.57346
56£ 4.30€ 5.16$ 5.8557.0%43.0%£ 2.45100€ 2.94$ 3.33£ 1.84900£ 2.21880$ 2.51464
57£ 4.25€ 5.10$ 5.7857.5%42.5%£ 2.44375€ 2.93$ 3.32£ 1.80625£ 2.16750$ 2.45650
58£ 4.20€ 5.04$ 5.7158.0%42.0%£ 2.43600€ 2.92$ 3.31£ 1.76400£ 2.11680$ 2.39904
59£ 4.15€ 4.98$ 5.6458.5%41.5%£ 2.42775€ 2.91$ 3.30£ 1.72225£ 2.06670$ 2.34226
60£ 4.10€ 4.92$ 5.5859.0%41.0%£ 2.41900€ 2.90$ 3.29£ 1.68100£ 2.01720$ 2.28616
61£ 4.05€ 4.86$ 5.5159.5%40.5%£ 2.40975€ 2.89$ 3.28£ 1.64025£ 1.96830$ 2.23074
62£ 4.00€ 4.80$ 5.4460.0%40.0%£ 2.40000€ 2.88$ 3.26£ 1.60000£ 1.92000$ 2.17600
63£ 3.95€ 4.74$ 5.3760.5%39.5%£ 2.38975€ 2.87$ 3.25£ 1.56025£ 1.87230$ 2.12194
64£ 3.90€ 4.68$ 5.3061.0%39.0%£ 2.37900€ 2.85$ 3.24£ 1.52100£ 1.82520$ 2.06856
65£ 3.85€ 4.62$ 5.2461.5%38.5%£ 2.36775€ 2.84$ 3.22£ 1.48225£ 1.77870$ 2.01586
66£ 3.80€ 4.56$ 5.1762.0%38.0%£ 2.35600€ 2.83$ 3.20£ 1.44400£ 1.73280$ 1.96384
67£ 3.75€ 4.50$ 5.1062.5%37.5%£ 2.34375€ 2.81$ 3.19£ 1.40625£ 1.68750$ 1.91250
68£ 3.70€ 4.44$ 5.0363.0%37.0%£ 2.33100€ 2.80$ 3.17£ 1.36900£ 1.64280$ 1.86184
69£ 3.65€ 4.38$ 4.9663.5%36.5%£ 2.31775€ 2.78$ 3.15£ 1.33225£ 1.59870$ 1.81186
70£ 3.60€ 4.32$ 4.9064.0%36.0%£ 2.30400€ 2.76$ 3.13£ 1.29600£ 1.55520$ 1.76256
71£ 3.55€ 4.26$ 4.8364.5%35.5%£ 2.28975€ 2.75$ 3.11£ 1.26025£ 1.51230$ 1.71394
72£ 3.50€ 4.20$ 4.7665.0%35.0%£ 2.27500€ 2.73$ 3.09£ 1.22500£ 1.47000$ 1.66600
73£ 3.45€ 4.14$ 4.6965.5%34.5%£ 2.25975€ 2.71$ 3.07£ 1.19025£ 1.42830$ 1.61874
74£ 3.40€ 4.08$ 4.6266.0%34.0%£ 2.24400€ 2.69$ 3.05£ 1.15600£ 1.38720$ 1.57216
75£ 3.35€ 4.02$ 4.5666.5%33.5%£ 2.22775€ 2.67$ 3.03£ 1.12225£ 1.34670$ 1.52626
76£ 3.30€ 3.96$ 4.4967.0%33.0%£ 2.21100€ 2.65$ 3.01£ 1.08900£ 1.30680$ 1.48104
77£ 3.25€ 3.90$ 4.4267.5%32.5%£ 2.19375€ 2.63$ 2.98£ 1.05625£ 1.26750$ 1.43650
78£ 3.20€ 3.84$ 4.3568.0%32.0%£ 2.17600€ 2.61$ 2.96£ 1.02400£ 1.22880$ 1.39264
79£ 3.15€ 3.78$ 4.2868.5%31.5%£ 2.15775€ 2.59$ 2.93£ 0.99225£ 1.19070$ 1.34946
80£ 3.10€ 3.72$ 4.2269.0%31.0%£ 2.13900€ 2.57$ 2.91£ 0.96100£ 1.15320$ 1.30696
81£ 3.05€ 3.66$ 4.1569.5%30.5%£ 2.11975€ 2.54$ 2.88£ 0.93025£ 1.11630$ 1.26514
82£ 3.00€ 3.60$ 4.0870.0%30.0%£ 2.10000€ 2.52$ 2.86£ 0.90000£ 1.08000$ 1.22400
Sheet1 (2)
Cell Formulas
RangeFormula
B42:B82B42=A42*$B$36
C42:C82C42=A42*$C$36
H42:H82H42=A42*E42
I42:I82I42=B42*E42
J42:J82J42=C42*E42
L42:L82L42=A42*F42
M42:M82M42=B42*F42
N42:N82N42=C42*F42
 
Upvote 0
I see that. The issue is with the rule to decrease the commission rate by 1 % for each higher tier. This part of the formula creates that array of commission rate factors: SEQUENCE(tiers,,1,-0.01)
So when the number of tiers is less than 100, the array will be {1;0.99;0.98;...} and never going below 0, but in your example with a large number of units sold (300000 units), we'll have 296 tiers and the sequence goes negative. To set a lower bound, I think it would make sense to generate this array with an IF function. To try it out, I changed the name of the original sequence to seqt (for the sequence related to the tier count, and then created a new variable named seqr to generate the original sequence for commission rates...and then seqr is fed into an IF statement to change commission rates to 0.01 where they dropped below 0.01. This is the formula to try that out, were B10 holds the quantity sold:
=LET(tiers,1+MAX(0,CEILING($B10-5000,1000))/1000,seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01),IF(seqr<0.01,0.01,seqr))
Making this change, revising the references to seqt and also tweaking the IF(seqt=tiers statement to incorporate an IF function rather than the somewhat more convoluted original version, the revised formula looks like this:
MrExcel20220319.xlsx
ABCD
1Units SoldSales PriceTotal Commission
27001620912.91
312305419200.96
4250011.414250
5100163003
6510.5
795001046875
870000.6250.92
97000620910
103000006169380
Sheet2
Cell Formulas
RangeFormula
D2:D10D2=LET(tiers,1+MAX(0,CEILING($B2-5000,1000))/1000, seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01), SUMPRODUCT(IF(seqr<0.01,0.01,seqr)*$C2*(0.5-MAX(0,0.1*(5-$C2))), IF(seqt=1,MIN(5000,$B2), IF(seqt<tiers,1000, IF(seqt=tiers,IF(MOD($B2,1000)=0,1000,$B2-FLOOR($B2,1000)) ))) ))

Please let me know if this yields expected values and if you encounter any other issues.
This seems to be the ticket!

Thank you so much!
 
Upvote 0
Please show the brackets and rates that you are using.
If there are differences, show how you manually calculate the amount.

Commission2022.xlsm
CDEF
1
2Units SoldSales PriceDave
37,001620,912.91
412,30542,889.54
52,50011.414,250.00
61,00163,003.00
7530.90
89,5001046,875.00
97,0000.6250.92
107,000620,910.00
111,000,000104,751,750.00
121,000,0000.042,280.84
13
14
15BracketsPayout
16
17050.0%6.00%
185,00049.5%5.94%
196,00049.0%5.88%
207,00048.5%5.82%
218,00048.0%5.76%
229,00047.5%5.70%
23
2a
Cell Formulas
RangeFormula
F3:F12F3=SUM(IF(C3>aB,(C3-aB)*IF(D3>=5,aR,a2R))*D3)
F18F18=$F$17*0.99
F19F19=$F$17*0.98
F20F20=$F$17*0.97
F21F21=$F$17*0.96
F22F22=$F$17*0.95
 
Upvote 0
Please show the brackets and rates that you are using.
If there are differences, show how you manually calculate the amount.

Commission2022.xlsm
CDEF
1
2Units SoldSales PriceDave
37,001620,912.91
412,30542,889.54
52,50011.414,250.00
61,00163,003.00
7530.90
89,5001046,875.00
97,0000.6250.92
107,000620,910.00
111,000,000104,751,750.00
121,000,0000.042,280.84
13
14
15BracketsPayout
16
17050.0%6.00%
185,00049.5%5.94%
196,00049.0%5.88%
207,00048.5%5.82%
218,00048.0%5.76%
229,00047.5%5.70%
23
2a
Cell Formulas
RangeFormula
F3:F12F3=SUM(IF(C3>aB,(C3-aB)*IF(D3>=5,aR,a2R))*D3)
F18F18=$F$17*0.99
F19F19=$F$17*0.98
F20F20=$F$17*0.97
F21F21=$F$17*0.96
F22F22=$F$17*0.95
Hi Dave,

Ignoring Rows 11 & 12 for now, I can still see a discrepancy in rows 4 and 7 payouts, manual workings below:

Book1
ABCDEFG
2ROW 4: 12305 units at £4ROW 7 : 5 units at £3
3UnitsSale price per unitTotal CommissionUnitsSale price per unitTotal Commission
45000£1.60£8,000.005£0.90£4.50
51000£1.58£1,584.00
61000£1.57£1,568.00
71000£1.55£1,552.00
81000£1.54£1,536.00
91000£1.52£1,520.00
101000£1.50£1,504.00
111000£1.49£1,488.00
12305£1.47£448.96
1312305£19,200.965£4.50
14
15 Sales price Commission % Commission £
16£ 4.0040%$ 1.60
17£ 3.5035%$ 1.23
18£ 3.0030%$ 0.90
19£ 2.5025%$ 0.63
Sheet3
Cell Formulas
RangeFormula
G4G4=F4*E4
B4B4=4*0.4
B5B5=$B$4*0.99
B6B6=$B$4*0.98
B7B7=$B$4*0.97
B8B8=$B$4*0.96
B9B9=$B$4*0.95
B10B10=$B$4*0.94
B11B11=$B$4*0.93
B12B12=$B$4*0.92
A13,G13,E13,C13A13=SUM(A4:A12)
C4:C12,F16:F19C4=A4*B4


The figures for rows 11 and 12 are as below in column E, using Kirk's latest route:
Book1
CDEF
91000000103173009682700
1010000000.0410.153639989.85
Sheet1 (2)
Cell Formulas
RangeFormula
E9:E10E9=LET(tiers,1+MAX(0,CEILING($C9-5000,1000))/1000, seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01), SUMPRODUCT(IF(seqr<0.01,0.01,seqr)*$D9*(0.5-MAX(0,0.1*(5-$D9))), IF(seqt=1,MIN(5000,$C9), IF(seqt<tiers,1000, IF(seqt=tiers,IF(MOD($C9,1000)=0,1000,$C9-FLOOR($C9,1000)) ))) ))
F9:F10F9=(D9*C9)-E9
 
Upvote 0
Hi Dave,

Ignoring Rows 11 & 12 for now, I can still see a discrepancy in rows 4 and 7 payouts, manual workings below:

Book1
ABCDEFG
2ROW 4: 12305 units at £4ROW 7 : 5 units at £3
3UnitsSale price per unitTotal CommissionUnitsSale price per unitTotal Commission
45000£1.60£8,000.005£0.90£4.50
51000£1.58£1,584.00
61000£1.57£1,568.00
71000£1.55£1,552.00
81000£1.54£1,536.00
91000£1.52£1,520.00
101000£1.50£1,504.00
111000£1.49£1,488.00
12305£1.47£448.96
1312305£19,200.965£4.50
14
15 Sales price Commission % Commission £
16£ 4.0040%$ 1.60
17£ 3.5035%$ 1.23
18£ 3.0030%$ 0.90
19£ 2.5025%$ 0.63
Sheet3
Cell Formulas
RangeFormula
G4G4=F4*E4
B4B4=4*0.4
B5B5=$B$4*0.99
B6B6=$B$4*0.98
B7B7=$B$4*0.97
B8B8=$B$4*0.96
B9B9=$B$4*0.95
B10B10=$B$4*0.94
B11B11=$B$4*0.93
B12B12=$B$4*0.92
A13,G13,E13,C13A13=SUM(A4:A12)
C4:C12,F16:F19C4=A4*B4


The figures for rows 11 and 12 are as below in column E, using Kirk's latest route:
Book1
CDEF
91000000103173009682700
1010000000.0410.153639989.85
Sheet1 (2)
Cell Formulas
RangeFormula
E9:E10E9=LET(tiers,1+MAX(0,CEILING($C9-5000,1000))/1000, seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01), SUMPRODUCT(IF(seqr<0.01,0.01,seqr)*$D9*(0.5-MAX(0,0.1*(5-$D9))), IF(seqt=1,MIN(5000,$C9), IF(seqt<tiers,1000, IF(seqt=tiers,IF(MOD($C9,1000)=0,1000,$C9-FLOOR($C9,1000)) ))) ))
F9:F10F9=(D9*C9)-E9
Apologies, headers in B3 and F3 in the first table should state "commission per unit" not "sales price per unit"
 
Upvote 0
I used the brackets and rates that you cited in the initial post.
If you want to use different rates and factor, you can edit the formulas.


Please show the brackets and rates that you are using!!!
If there are differences, show how you manually calculate the amount!!!
 
Upvote 0
Hi Dave,
I modified the example I posted earlier to allow for a user to select a particular case number (indicated by column A), and by typing that number into F1, the baseline commission rate will be calculated along with the various arrays indicating the declining commission factors, commission per unit sold, and the distribution of units sold across tiers. These latter two arrays are multiplied together to yield the commission per tier, and a final sum across all tiers produces the total commission (these steps are actually done by SUMPRODUCT in the single-line version of the formula). I'm hoping that this might help to resolve the apparent discrepancies that have been mentioned. One twist discovered involved a large number of tiers, which drove the commission factor negative, so a lower bound of 0.01 is established...i.e., the commission factor declines by 0.01 as one moves into the next tier until 0.01 is reached, and then it remains constant at 0.01.
MrExcel20220319.xlsx
ABCDEFGHIJKLM
12<-- Case #9<--Total TiersTotal Commission -->19200.96
2Case #Units SoldSales PriceTotal CommissionUnits SoldSales PriceCommission Rate BaselineTiersCommission FactorCommission per Unit SoldUnits per TierCommission per Tier
317001620912.911230540.411.001.6050008000.00
4212305419200.9620.991.5810001584.00
53250011.41425030.981.5710001568.00
6410016300340.971.5510001552.00
75510.550.961.5410001536.00
869500104687560.951.5210001520.00
9770000.6250.9270.941.5010001504.00
108700062091080.931.4910001488.00
119300000616938090.921.47305448.96
12101800006165780
1311100000110317300.05
Sheet2
Cell Formulas
RangeFormula
I1I1=1+MAX(0,CEILING(F3-5000,1000))/1000
M1M1=SUM(M3#)
F3F3=VLOOKUP(F1,A3:C13,2)
G3G3=VLOOKUP(F1,A3:C13,3)
H3H3=(0.5-MAX(0,0.1*(5-G3)))
I3:I11I3=LET(tiers,1+MAX(0,CEILING(F3-5000,1000))/1000,seqt,SEQUENCE(tiers,,1,1),seqt)
J3:J11J3=LET(tiers,1+MAX(0,CEILING(F3-5000,1000))/1000,seqr,SEQUENCE(tiers,,1,-0.01), IF(seqr<0.01,0.01,seqr))
K3:K11K3=LET(tiers,1+MAX(0,CEILING(F3-5000,1000))/1000,seqr,SEQUENCE(tiers,,1,-0.01),IF(seqr<0.01,0.01,seqr)*G3*(0.5-MAX(0,0.1*(5-G3))))
L3:L11L3=LET(tiers,1+MAX(0,CEILING(F3-5000,1000))/1000,seqt,SEQUENCE(tiers,,1,1),IF(seqt=1,MIN(5000,F3), IF(seqt<tiers,1000, IF(seqt=tiers,IF(MOD(F3,1000)=0,1000,F3-FLOOR(F3,1000))))))
M3:M11M3=K3#*L3#
D3:D13D3=LET(tiers,1+MAX(0,CEILING($B3-5000,1000))/1000, seqt,SEQUENCE(tiers,,1,1),seqr,SEQUENCE(tiers,,1,-0.01), SUMPRODUCT(IF(seqr<0.01,0.01,seqr)*$C3*(0.5-MAX(0,0.1*(5-$C3))), IF(seqt=1,MIN(5000,$B3), IF(seqt<tiers,1000, IF(seqt=tiers,IF(MOD($B3,1000)=0,1000,$B3-FLOOR($B3,1000)) ))) ))
Dynamic array formulas.
 
Upvote 0
KRice That looks very good. Can I sit in on the meeting when Mak1 explains the calculation to his executives and/or people who receive the commission.

Sometimes a simple clear commission plan is best.
With an earlier post I asked a couple of leading questions.

What are the brackets and rates if you base the calculations on the value of the of the sales? With that information, what are your expected results?
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
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