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

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
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,553
Messages
6,120,184
Members
448,949
Latest member
keycalinc

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