Need to calculate tiered commissions based on YTD volume

amccoy

New Member
Joined
Oct 29, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hey everyone,

I've searched high and low for the best way (or even the worst way) to calculate this. Here's what I am trying to accomplish:

I need to use YTD volumes ($) to determine what rate (%) should be used. I've tried SUMPRODUCT and various nested IF statements, but as soon as I get to a transaction that falls between two tiers, the formula fails.

Here are the tiers:
1667075749473.png


The min/max ranges are based on YTD volumes (also a running tally in the sheet). I want the formula to look at the running tally, and determine what rate % to apply to another column (commissions).

As I mentioned, I seem to be having the most trouble is when a transaction falls between two tiers. For example, a transaction brings the YTD total to $7,744,606. I need a portion allocated to the 30% rate, and the rest at the new 25% rate. I can get a few approaches to work when a transaction falls entirely in a tier.

Unfortunately, I am helping a friend and this is her personal transaction/comissions so I can't attach the sheet - but hopefully I've been concise enough that you can point me in the right direction.

Thanks!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Are you looking something like this:
Excel Formula:
=VLOOKUP(7744606,$A$2:$C$6,3,1)
EDIT: After seeing @AhoyNC 's answer, I understand that my approach is completely wrong.
 
Last edited by a moderator:
Upvote 0
See if this works:
Book1
ABCD
1MinMax%% Dif
2$ -$ 7,500,00030%
3$ 7,500,001$ 10,000,00025%-5%
4$ 10,000,001$ 15,000,00020%-5%
5$ 15,000,001$ 20,000,00015%-5%
6$ 20,000,001$ 10,000,00010%-5%
7
8Amount YTD$ 7,744,606
9
10Comission$ 2,311,151.55
Sheet2
Cell Formulas
RangeFormula
D3:D6D3=C3-C2
B10B10=SUMPRODUCT(--(B8>$A$2:$A$6),(B8-$A$2:$A$6),{0.3;-0.05;-0.05;-0.05;-0.05})
 
Upvote 0
Since you have 365, try the following C10
Commission2022.xlsm
ABCD
1Brackets%Rate DifArithmetic
2030%30%2,250,000.00
37,500,00025%-5%61,151.50
410,000,00020%-5%0.00
515,000,00015%-5%0.00
620,000,00010%-5%0.00
7
8Amount YTD7,744,606.00
9
10Commission2,311,151.502,311,151.502,311,151.50
11
10a
Cell Formulas
RangeFormula
C2:C6C2=B2-N(B1)
D2:D6D2=MAX(0,MIN(A3-A2,$B$8-A2)*B2)
B10B10=SUMPRODUCT(--(B8>$A$2:$A$6),(B8-$A$2:$A$6),C2:C6)
C10C10=SUM((B8>A2:A6)*(B8-A2:A6)*C2:C6)
D10D10=SUM(D2:D6)
 
Upvote 0
With D11, the Bracket and Rate Difference arrays are named. Use Formulas Name Manager and name the arrays.
For aR, select C11 and highlight B3:B7-B2:B6 and press F9; copy the array and move to Name Manager.

Commission2022.xlsm
ABCD
1Brackets%
2B2 is blank
3030%
47,500,00025%
510,000,00020%
615,000,00015%
720,000,00010%
8
9Amount YTD7,744,606.00
10
11Commission2,311,151.502,311,151.502,311,151.50
12
10aa
Cell Formulas
RangeFormula
B11B11=SUMPRODUCT(--(B9>$A$3:$A$7),(B9-$A$3:$A$7),B3:B7-B2:B6)
C11C11=SUM((B9>A3:A7)*(B9-A3:A7)*(B3:B7-B2:B6))
D11D11=SUM((B9>aB)*(B9-aB)*aR)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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