hattan

New Member
Joined
Jan 5, 2016
Messages
4
Hi I need help on formula to calculate commission in Excel

Commission Scale
1-50 @$2
51-100 @$4
101- above @$6

For example
if someone sell 161 units he/she gets $666 (50X2)+(50X4)+(61X6)
if someone sell 71 units he/she gets $184 (50X2)+(21X4)

Thank you

Hattan

 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
I never would have dreamt of using median for a formula like this. Genius!
 
Upvote 0
try either of

=((A2>0)*A2+(A2>50)*(A2-50)+(A2>100)*(A2-100))*2

or

=SUMPRODUCT(--(A2>E2:E4),A2-E2:E4,G2:G4)

E2:E4 has the brackets 0, 50.001, 100.001
G2:G4 has the rate differential
 
Last edited:
Upvote 0
Thank you vey much for this! i just tried it and it works as what i wanted

This?

Excel 2010
AB
1161666
271184

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet7

Worksheet Formulas
CellFormula
B1=MIN(A1,50)*2 +MEDIAN(0,A1-50,50)*4 +MAX(A1-100,0)*6

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,214
Members
448,874
Latest member
b1step2far

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