DefiantEgg90
New Member
- Joined
- Apr 7, 2022
- Messages
- 4
- Office Version
- 2016
- Platform
- Windows
Hi,
I am building a spreadsheet that calculates tiered commissions for salespeople at my company. So far I have built my sheet so that it looks at each commission tier in a separate row and calculates the appropriate amount for that tier. Then, a simple sum at the bottom calculates the total commission.
What I would like to do is figure out how to write a formula to get the total in a single formula, rather than calculate each line and then summing (this will make it a lot easier to scale my model for many salespeople and many transactions), but I can't figure out how to do it. I think it's some combination of SUMPRODUCT and/or an array formula. Could someone help? The yellow cell in F11 is what I would like to achieve in a single formula without all the precedent calculations in F7:10.
I am building a spreadsheet that calculates tiered commissions for salespeople at my company. So far I have built my sheet so that it looks at each commission tier in a separate row and calculates the appropriate amount for that tier. Then, a simple sum at the bottom calculates the total commission.
What I would like to do is figure out how to write a formula to get the total in a single formula, rather than calculate each line and then summing (this will make it a lot easier to scale my model for many salespeople and many transactions), but I can't figure out how to do it. I think it's some combination of SUMPRODUCT and/or an array formula. Could someone help? The yellow cell in F11 is what I would like to achieve in a single formula without all the precedent calculations in F7:10.
Commission-MrExcel.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Qualified Revenue | 50,000 | ||||||
2 | Cumulative Revenue | 430,000 | ||||||
3 | Prior Cumulative Revenue | 380,000 | ||||||
4 | ||||||||
5 | Commission Scale | |||||||
6 | Min | Max | Rate | Commission | ||||
7 | - | 140,625 | 0% | - | ||||
8 | 140,625 | 400,000 | 35% | 7,000.00 | ||||
9 | 400,000 | 600,000 | 40% | 12,000.00 | ||||
10 | 600,000 | 999,999,999 | 45% | - | ||||
11 | 19,000.00 | |||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B3 | B3 | =B2-B1 |
F7:F10 | F7 | =MAX(MIN(CumRev,D7)-MAX(PriorCumRev,C7),0)*E7 |
F11 | F11 | =SUM(F7:F10) |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
CumRev | =Sheet1!$B$2 | B3, F7:F10 |
PriorCumRev | =Sheet1!$B$3 | F7:F10 |
QualRev | =Sheet1!$B$1 | B3 |