Formula to increase percentage in smooth ramp

sflawson

New Member
Joined
May 28, 2021
Messages
8
Hi All,
I had a wonderful formula that I lost and I'm trying to rebuild.

What I would like to do is, gradually increase a percentage applied to a total between multiple values.

For example, if the total was 1,000,000 I would like to calculate 5.5%, but as the total increased to 1,500,000, I would like the percentage to increase to 6.5%, then if the total increased to 2,000,000 or above I would like the percentage to increase to 7.5% in a smooth ramp. For now that's as far as I need to go but I'm sure one day I'll need to expand on this and continue adding other "breakpoints" for the increases.

I used the below formula that I found on a previous post but cannot get my 3rd piece to work.
=IFS(P14<=1000000,0.055*P14,AND(P14>1000000,P14<=1500000),P14*0.065)

This is where I'm failing (in red)...
=IFS(P14<=1000000,0.055*P14,AND(P14>1000000,P14<=1500000),P14*0.065),AND(P14>=1500000,P14<=2000000),P14*.075)

Thanks
Steph
 
The description and the formula are not consistent. Considering the description, the following is possible.
Try any of the three suggestions.

Please review and compare to your expected results.
Commissions 2021.xlsm
ABCDEFG
1
22,000,000150,000.00150,000.00150,000.000.005.5%
3500,00027,500.0027,500.0027,500.001,499,999.996.5%
41,000,00055,000.0055,000.0055,000.002,000,000.007.5%
51,100,00060,500.0060,500.0060,500.00
61,600,000104,000.00104,000.00104,000.00
72,500,000187,500.00187,500.00187,500.00
810,000,000750,000.00750,000.00750,000.00
910,000550.00550.00550.00
1b
Cell Formulas
RangeFormula
B2:B9B2=A2*IF(A2<=1500000,0.055,IF(A2<=1999999.99,0.065,0.075))
C2:C9C2=A2*LOOKUP(A2,$F$2:$G$4)
D2:D9D2=A2*LOOKUP(A2,{0,0.055;1499999.99,0.065;2000000,0.075})
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Commissions 2021.xlsm
ABCDEFG
1
210,000550.00550.00550.000.005.5%
31,000,00055,000.0055,000.0055,000.001,500,000.006.5%
41,500,00097,500.0097,500.0097,500.002,000,000.007.5%
51,750,000113,750.00113,750.00113,750.00
62,000,000150,000.00150,000.00150,000.00
72,500,000187,500.00187,500.00187,500.00
810,000,000750,000.00750,000.00750,000.00
1b
Cell Formulas
RangeFormula
B2:B8B2=A2*IF(A2<1500000,0.055,IF(A2<2000000,0.065,0.075))
C2:C8C2=A2*LOOKUP(A2,$F$2:$G$4)
D2:D8D2=A2*LOOKUP(A2,{0,0.055;1500000,0.065;2000000,0.075})
 
Upvote 0
I'm sorry, I don't think I've explained what I'm looking for very well.

Manually typing out and calculating it myself it would look like this.

I'm needing everything up to 1.5MM to get calculated at 5.5%, 1.5M - 2M (500k) calculated at 6.5%, and anything above but not including 2M to get calculated at 7.5%.

267,079.0014,689.35
5.50%​
270,362.0014,869.91
5.50%​
278,250.0015,303.75
5.50%​
287,148.0015,793.14
5.50%​
319,564.0017,576.02
5.50%​
277,908.0017,288.055/5%/6.5%
299,690.0019,479.716.5%/7.5%
305,493.0022,911.98
7.50%​
295,848.0022,188.60
7.50%​
301,503.0022,612.73
7.50%​
304,252.0022,818.90
7.50%​
303,898.0022,792.35
7.50%​
3,510,995.00228,324.48
 
Upvote 0
Aren't all of these values you show above (except the last) less than 1.5 million? So, they're all 5.5%?
That's clearly not the case in your illustration. What percent should be taken at 299,690? Why not 5.5% and you have 6.5%?
Are you comparing CUMULATIVE sums?

Book2
ABC
1Check
2267,079.0014,689.355.5%
3270,362.0014,869.915.5%
4278,250.0015,303.755.5%
5287,148.0015,793.145.5%
6319,564.0017,576.025.5%
7277,908.0018,064.026.5%
8299,690.0022,476.757.5%
9305,493.0022,911.987.5%
10295,848.0022,188.607.5%
11301,503.0022,612.737.5%
12304,252.0022,818.907.5%
13303,898.0022,792.357.5%
143,510,995.00263,324.637.5%
Sheet4
Cell Formulas
RangeFormula
B2:B14B2=IF(SUM($A$2:A2)<1500000,5.5%,IF(SUM($A$2:A2)<=2000000,6.5%,7.5%))*A2
C2:C14C2=B2/A2
 
Last edited:
Upvote 0
Aren't all of these values you show above (except the last) less than 1.5 million? So, they're all 5.5%?
That's clearly not the case in your illustration. What percent should be taken at 299,690? Why not 5.5% and you have 6.5%?T
The value of all of the above number + 299,690 = 2,000,001. So, 299,689 is calculated at 6.5% and 1 is calculated at 7.5%.

Low ThresholdHigh Threshold
$0​
$1,500,000​
5.5%​
$1,500,001​
$2,000,000​
6.5%​
$2,000,001​
and over
7.5%​
 
Upvote 0
Consider the following
Try the version that you prefer.
It is not essential to use Named Ranges but it can yield a formula that is easier to read.

C2 The array of bracket data and the array of rate differentials are named. Use Name Manager and name
aB for Brackets ={0;1500000;2000000} and rate differentials aR ={0.055;0.01;0.01}

Commissions 2021.xlsm
ABCD
1Total sales3,510,995.00
2Commission228,324.63228,324.63228,324.63
3Commission Arithmetic228,324.63
4
5
6Brackets [rB]RatesRate Deltas [rR]
7
805.5%5.50%82,500.00
91,500,0006.5%1.00%32,500.00
102,000,0007.5%1.00%113,324.63
111E+308
12
2a
Cell Formulas
RangeFormula
C2C2=SUMPRODUCT(--(B1>aB),B1-aB,aR)
D2D2=SUMPRODUCT(--(B1>A8:A10),B1-A8:A10,B8:B10-B7:B9)
B2B2=SUMPRODUCT(--(B1>A8:A10),B1-A8:A10,B8:B10-B7:B9)
B3B3=SUM(D8:D10)
C8C8=B8-N(B6)
D8:D10D8=MAX(0,MIN($B$1,A9)-A8)*B8
C9:C10C9=B9-N(B8)
A11A11=BigNum
 
Last edited:
Upvote 0
Solution
Commissions 2021.xlsm
ABCD
1Total sales1,500,000.00
2Commission82,500.0082,500.0082,500.00
3Commission Arithmetic82,500.00
4
5
6Brackets [rB]RatesRate Deltas [rR]
7
805.5%5.50%82,500.00
91,500,0006.5%1.00%0.00
102,000,0007.5%1.00%0.00
111E+308
2a
Cell Formulas
RangeFormula
C2C2=SUMPRODUCT(--(B1>aB),B1-aB,aR)
D2D2=SUMPRODUCT(--(B1>A8:A10),B1-A8:A10,B8:B10-B7:B9)
B2B2=SUMPRODUCT(--(B1>A8:A10),B1-A8:A10,B8:B10-B7:B9)
B3B3=SUM(D8:D10)
C8C8=B8-N(B6)
D8:D10D8=MAX(0,MIN($B$1,A9)-A8)*B8
C9:C10C9=B9-N(B8)
A11A11=BigNum
 
Upvote 0
Last edited:
Upvote 0
The difference of 0.15 is in 19479.71
You stated The value of all of the above number + 299,690 = 2,000,001. So, 299,689 is calculated at 6.5% and 1 is calculated at 7.5%.

=299689*0.065+1*0.075-19479.71=0.15
 
Upvote 0
Consider the following
Try the version that you prefer.
It is not essential to use Named Ranges but it can yield a formula that is easier to read.

C2 The array of bracket data and the array of rate differentials are named. Use Name Manager and name
aB for Brackets ={0;1500000;2000000} and rate differentials aR ={0.055;0.01;0.01}

Commissions 2021.xlsm
ABCD
1Total sales3,510,995.00
2Commission228,324.63228,324.63228,324.63
3Commission Arithmetic228,324.63
4
5
6Brackets [rB]RatesRate Deltas [rR]
7
805.5%5.50%82,500.00
91,500,0006.5%1.00%32,500.00
102,000,0007.5%1.00%113,324.63
111E+308
12
2a
Cell Formulas
RangeFormula
C2C2=SUMPRODUCT(--(B1>aB),B1-aB,aR)
D2D2=SUMPRODUCT(--(B1>A8:A10),B1-A8:A10,B8:B10-B7:B9)
B2B2=SUMPRODUCT(--(B1>A8:A10),B1-A8:A10,B8:B10-B7:B9)
B3B3=SUM(D8:D10)
C8C8=B8-N(B6)
D8:D10D8=MAX(0,MIN($B$1,A9)-A8)*B8
C9:C10C9=B9-N(B8)
A11A11=BigNum
Thank you!!! This was very helpful and I can even play with the percentages and numbers.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,730
Members
448,987
Latest member
marion_davis

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