Formula to calculate bonus percentage that is not linear?

fumann

New Member
Joined
Mar 28, 2005
Messages
10
I'm having a brain fart. How do I write a formula that calculates the percentage of bonus payout based on the picture/table below?
  1. If the quota sold is less than 96 widgets, there is no bonus
  2. If you reach 96 widgets you immediately receive 50% of your bonus.
  3. Prorate the bonus with a linear formula when the number of widgets are sold between 97 to 101
  4. Receive 150% Bonus if widget sold is between 103 and 107
  5. Receive 200% bonus if widget sold is greater than 107
Thanks in advance!
 

Attachments

  • Calculating Bonus.png
    Calculating Bonus.png
    7.4 KB · Views: 14

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
#3 Is not clear. What bonus?
What version of Excel are you using?
You are more likely to receive a clear example if you post your information in a format that we can use; not a picture.
N.B. You can use the forum's tool named XL2BB to post an extract of your information.
 
Upvote 0
=IF(A2<96,0,IF(A2<97,0.5,(IF(A2<102,(A2-96)*0.1+0.5,IF(A2<108,1.5,2)))))

Please note that sales of 102 widgets is missing from you post.
 
Last edited:
Upvote 0
You can review and test the following.
There are complex linear formulas that you could use.

l
T202304a.xlsm
ABCDE
1
2110200%200%00%
39650%
4102100%
5103150%
6108200%
7
5e
Cell Formulas
RangeFormula
B2B2=LOOKUP(A2,$D$1:$E$6)+AND(A2>96,A2<102)*(A2-96)/(102-96)*(1-0.5)
C2C2=LOOKUP(A2,{0,0;0,0;96,0.5;102,1;103,1.5;108,2})+AND(A2>96,A2<102)*(A2-96)/6*0.5
 
Upvote 0

Forum statistics

Threads
1,215,196
Messages
6,123,578
Members
449,108
Latest member
rache47

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