I have a difficult one, Well I think it's difficult PLEASE HELP!!!

tommygunnz

New Member
Joined
Dec 20, 2017
Messages
17
I'm trying to make a commission structure for Excel and it's pretty difficult

So we get paid 30% of the front gross + 10% of the back gross = total commission.

Example: $2,000 front = $600, and $2000 back =$200 grand total $800

if the front is negative, subtract that to the back gross x 10%.
if its below 250, you get paid 250 minimum. if its above 250, you the higher pay.

example $-2000 front & $4000 back = 10% x $2000= $200 id get $250 commission
example $-2000 front & $8000 back = 10% x $6000=$600 id get paid $600
example $-20 front & $4000 back=10% x $3980 id get paid $398
example $200 front (200*.3=60) & $4000 back (4000*.1=400) total paid $460

We will always get paid a minimum of $250 total.

any way someone can help me make an function for this?
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi,

This should do it:


Book1
ABCD
1Front GrossBack GrossCommission
2-$2,000.00$4,000.00$250.00
3-$2,000.00$8,000.00$600.00
4-$20.00$4,000.00$398.00
5$200.00$4,000.00$460.00
Sheet1
Cell Formulas
RangeFormula
D2=MAX(IF(A2<0,SUM(A2:B2)*0.1,SUM(A2*0.3,B2*0.1)),250)


D2 formula copied down, adjust cell references as needed.
 
Upvote 0
so my excel looks like this, but I can always change it
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
Commission should be Front Gross Back Gross
Gross Commission Gross Commission
$485 $ 2,234.00 $ 335.10 $1500 $150
$250 $(2,042.00) $ 250.00 $ 1,566.00 $ 156.60
$536$ 2,050.00 $ 307.50 $ 2,292.00 $ 229.20
$237$ 28.62 $ 250.00 $ 7,907.00 $ 790.70
$946.7$ 2,614.00 $ 392.10 $ 5,546.00 $ 554.60
$250
$(2,178.00) $ 250.00 $ 3,720.00 $ 372.00

<colgroup><col style="width: 102px"><col width="76"><col width="74"><col width="75"><col width="69"><col width="63"></colgroup><tbody>
</tbody>
 
Upvote 0
Assuming front is in A1 and back is in A2:

=IF(A1>=0,MAX(0.3*A1+0.1*B1,250),MAX(0.1*SUM(B1,A1),250))

HTH
 
Upvote 0
WOW!!! Fantastic!!

I forgot one thing! I Thank you so so much for taking the time to do this for me.

but sometime the deals are split in half. but only the front is split so it would be .15 not .3 the back is always 10%
my spreed sheet looks like this
a b c d e f g h i j k l
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
DateUsedNewStock #VehicleCustomer Front Gross Back Gross Deal # VinRDR
Gross Gross
112/150.5 $ 2,234.00 $ -
212/191 $ (2,042.00) $ 1,566.00
312/210.5 $ 2,050.00 $ 2,292.00
512/221 $ 28.62 $ 7,907.00
612/230.5 $ 2,614.00 $ 5,546.00
712/261 $ (2,178.00) $ 3,720.00
712/271 $ (794.00)
812/271 $ (2,895.00)
912/271 $ 3,033.00 $ 3,329.00
1012/281 $ 624.00 $ 4,700.00
1112/301 $ (2,262.00) $ -
1212/300.5 $ (1,560.00) $ 1,000.00
13

<colgroup><col style="width: 20px"><col width="34"><col width="37"><col width="36"><col width="63"><col width="111"><col width="102"><col width="76"><col width="75"><col width="63"><col width="55"><col width="35"></colgroup><tbody>
</tbody>


What i was originally doing was telling the front gross to multiply but by C1 or D1 to get either a full or half commission.

is this possible?
 
Upvote 0
WOW!!! Fantastic!!

I forgot one thing! I Thank you so so much for taking the time to do this for me.

but sometime the deals are split in half. but only the front is split so it would be .15 not .3 the back is always 10%
my spreed sheet looks like this
a b c d e f g h i j k l
DateUsedNewStock #VehicleCustomerFront GrossBack GrossDeal #VinRDR
GrossGross
112/150.5$ 2,234.00$ -
212/191$ (2,042.00)$ 1,566.00
312/210.5$ 2,050.00$ 2,292.00
512/221$ 28.62$ 7,907.00
612/230.5$ 2,614.00$ 5,546.00
712/261$ (2,178.00)$ 3,720.00
712/271$ (794.00)
812/271$ (2,895.00)
912/271$ 3,033.00$ 3,329.00
1012/281$ 624.00$ 4,700.00
1112/301$ (2,262.00)$ -
1212/300.5$ (1,560.00)$ 1,000.00
13

<tbody>
</tbody>


What i was originally doing was telling the front gross to multiply but by C1 or D1 to get either a full or half commission.

is this possible?
 
Last edited:
Upvote 0
Hi,

Is this what you mean?


Book1
ABCDEFGHIJKL
1DateUsedNewStock #VehicleCustomerFront GrossBack GrossDeal #VinRDRCommission
215-Dec0.5$2,234.00335.1
319-Dec1($2,042.00)$1,566.00250
421-Dec0.5$2,050.00$2,292.00536.7
522-Dec1$28.62$7,907.00799.286
623-Dec0.5$2,614.00$5,546.00946.7
726-Dec1($2,178.00)$3,720.00250
827-Dec1($794.00)250
927-Dec1($2,895.00)250
1027-Dec1$3,033.00$3,329.001242.8
1128-Dec1$624.00$4,700.00657.2
1230-Dec1($2,262.00)250
1330-Dec0.5($1,560.00)$1,000.00250
Sheet4
Cell Formulas
RangeFormula
L2=MAX(IF(G2<0,SUM(G2:H2)*0.1,SUM(G2*IF(OR(B2=0.5,C2=0.5),0.15,0.3),H2*0.1)),250)


L2 formula copied down.
 
Upvote 0
This works fantastic!!! Your awesome!!




When I add the formula, all my fields show a $250 commission, when I haven't added anything to the row. How can it show blank or 0 till I add something?

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
17$250.00
18$250.00
19$250.00
20$250.00

<colgroup><col style="width: 20px"><col width="34"><col width="37"><col width="36"><col width="63"><col width="111"><col width="102"><col width="76"><col width="75"><col width="96"></colgroup><tbody>
</tbody>
 
Upvote 0
Hi,

This will leave the "Commission" column BLANK if there are no entries in columns G and H (Front Gross and Back Gross):


Book1
ABCDEFGHIJKL
1DateUsedNewStock #VehicleCustomerFront GrossBack GrossDeal #VinRDRCommission
215-Dec0.5$2,234.00335.1
319-Dec1($2,042.00)$1,566.00250
421-Dec0.5$2,050.00$2,292.00536.7
522-Dec1$28.62$7,907.00799.286
623-Dec0.5$2,614.00$5,546.00946.7
726-Dec1($2,178.00)$3,720.00250
827-Dec1($794.00)250
927-Dec1($2,895.00)250
1027-Dec1$3,033.00$3,329.001242.8
1128-Dec1$624.00$4,700.00657.2
1230-Dec1($2,262.00)250
1330-Dec0.5($1,560.00)$1,000.00250
1431-Dec
Sheet4
Cell Formulas
RangeFormula
L2=IF(AND(G2="",H2=""),"",MAX(IF(G2<0,SUM(G2:H2)*0.1,SUM(G2*IF(OR(B2=0.5,C2=0.5),0.15,0.3),H2*0.1)),250))


L2 formula copied down.
 
Upvote 0

Forum statistics

Threads
1,214,400
Messages
6,119,288
Members
448,885
Latest member
LokiSonic

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