Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

Posted on 2013-01-19
Medium Priority
2,242 Views
The attached spreadsheet shows a simple declining rate commission table.

I just need to know a formula for how to calculate the commission based on the tiered rates in the table. I've included an example result on the spreadsheet.

Commission-Calc.xls
0
Question by:Tim Jackoboice
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2

LVL 26

Accepted Solution

redmondb earned 2000 total points
ID: 38797783
Hi, Cactus1994.

=IF(B1>B7,(B1-B7)*C8,0)+IF(B1>B6,(MIN(B1,B7)-B6)*C7,0)+IF(B1>B5,(MIN(B1,B6)-B5)*C6,0)+MIN(B1,B5)*C5
...which could be siplified if it could be guaranteed that B4 and B9 were empty.

Regards,
Brian.
0

Author Closing Comment

ID: 38797804
Hi Brian:

Long-winded, but dead on ... and exactly what I needed!

Thanks.
0

LVL 26

Expert Comment

ID: 38797808
Thanks, Cactus1994.

The attached is a shorter, but more complicated array-entered formula...
=SUM(IF(B1>B4:B7,(IF(B1<B5:B8,B1,B5:B8)-B4:B7)*C5:C8,0))

This formula makes it much easier to increase/decrease the table's entries. It requires a small hack in that B4 appears to be a string ("But Not Over") but is actually zero - the string is actually a custom number format.

Please feel free to post here any queries on either formula.

Regards,
Brian.
Commission-Calc-V2.xls
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.