salesman commission calculation

RAMU

Active Member
Joined
Dec 11, 2009
Messages
345
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
  2. Mobile
Dear Friends,

Calculating Commission:

Main sheet: Cells A1 to H5

[TABLE="width: 683"]
<tbody>[TR]
[TD]SALESMAN[/TD]
[TD]SALESMAN NO[/TD]
[TD]BILL NO[/TD]
[TD]BILL DATE[/TD]
[TD]SOLD AMOUNT[/TD]
[TD]PAYMENT RCVD[/TD]
[TD]BALANCE[/TD]
[TD]DAYS[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD="align: right"]20[/TD]
[TD]AF-001[/TD]
[TD="align: right"]02-04-2018[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]1000[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]10[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD="align: right"]20[/TD]
[TD]AF-042[/TD]
[TD="align: right"]14-04-2018[/TD]
[TD="align: right"]2000[/TD]
[TD="align: right"]2000[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]20[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD="align: right"]20[/TD]
[TD]AF-050[/TD]
[TD="align: right"]29-04-2018[/TD]
[TD="align: right"]3000[/TD]
[TD="align: right"]2500[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD="align: right"]20[/TD]
[TD]AF-201[/TD]
[TD="align: right"]20-06-2018[/TD]
[TD="align: right"]10000[/TD]
[TD="align: right"]10000[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]14[/TD]
[/TR]
</tbody>[/TABLE]

Target: Cells K2 to J4
[TABLE="width: 128"]
<tbody>[TR]
[TD="width: 64"]TARGET[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD]MONTH[/TD]
[TD="align: right"]5000[/TD]
[/TR]
[TR]
[TD]QTR[/TD]
[TD="align: right"]15000[/TD]
[/TR]
</tbody>[/TABLE]


Calculation Desired result: Cells N1 to P3

[TABLE="width: 220"]
<tbody>[TR]
[TD]COMMISSION[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]Apr-18[/TD]
[TD="align: right"]Jun-18[/TD]
[TD]QTR-1[/TD]
[/TR]
[TR]
[TD="align: right"]50[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]220[/TD]
[/TR]
</tbody>[/TABLE]


Logics: If he achieves Monthly & qtrly target, then eligible for commission, but the invoices which full payment received within 15 days that will be in calculation. In case of monthly commission it will be 5% of bill value & for qtr that will be 2%.
N3, O3, & P3 are my desired result. Pls help me with formulas month wise & qtr wise.

Pls note monthly & qtr achievement will separately be accepted.
Thanks in advance.
Regards
Ramu
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hello,

Hopefully this should help (columns A to Q, rows 1 to 5). Sorry, I do not know how to correctly post tables with their formulas as Excel Jeanie does not seem to work.


[TABLE="width: 1860"]
<tbody>[TR]
[TD][TABLE="width: 2010"]
<tbody>[TR]
[TD]SALESMAN[/TD]
[TD]SALESMAN NO[/TD]
[TD]BILL NO[/TD]
[TD]BILL DATE[/TD]
[TD]SOLD AMOUNT[/TD]
[TD]PAYMENT RCVD[/TD]
[TD]BALANCE[/TD]
[TD]DAYS[/TD]
[TD]COMMISSION?[/TD]
[TD]MONTH[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]COMMISSION[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]20[/TD]
[TD]AF-001[/TD]
[TD]43192[/TD]
[TD]1000[/TD]
[TD]1000[/TD]
[TD]0[/TD]
[TD]10[/TD]
[TD]=IF(AND(G2=0,H2<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D2),MONTH(D2),1)[/TD]
[TD][/TD]
[TD]TARGET[/TD]
[TD][/TD]
[TD][/TD]
[TD]43191[/TD]
[TD]43252[/TD]
[TD]QTR-1[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]20[/TD]
[TD]AF-042[/TD]
[TD]43204[/TD]
[TD]2000[/TD]
[TD]2000[/TD]
[TD]0[/TD]
[TD]20[/TD]
[TD]=IF(AND(G3=0,H3<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D3),MONTH(D3),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]=SUMIFS($E$2:$E$5,$I$2:$I$5,"Y",$J$2:$J$5,O2)[/TD]
[TD]=SUMIFS($E$2:$E$5,$I$2:$I$5,"Y",$J$2:$J$5,P2)[/TD]
[TD]=SUM(O3:P3)[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]20[/TD]
[TD]AF-050[/TD]
[TD]43219[/TD]
[TD]3000[/TD]
[TD]2500[/TD]
[TD]500[/TD]
[TD]12[/TD]
[TD]=IF(AND(G4=0,H4<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D4),MONTH(D4),1)[/TD]
[TD][/TD]
[TD]MONTH[/TD]
[TD]5000[/TD]
[TD][/TD]
[TD]=O3*0.05[/TD]
[TD]=P3*0.05[/TD]
[TD]=Q3*0.02[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]20[/TD]
[TD]AF-201[/TD]
[TD]43271[/TD]
[TD]10000[/TD]
[TD]10000[/TD]
[TD]0[/TD]
[TD]14[/TD]
[TD]=IF(AND(G5=0,H5<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D5),MONTH(D5),1)[/TD]
[TD][/TD]
[TD]QTR[/TD]
[TD]15000[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I have inserted columns I and J (Commision? and Month) as helper columns.
 
Last edited:
Upvote 0
I just realised that the commission should only be calculated if the salesperson reaches their target; therefore the formulas for O4, P4 and Q4 whould be different.

[TABLE="width: 862"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]COMMISSION
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]43191[/TD]
[TD]43252[/TD]
[TD]QTR-1[/TD]
[/TR]
[TR]
[TD]=SUMIFS($E$2:$E$5,$I$2:$I$5,"Y",$J$2:$J$5,O2)[/TD]
[TD]=SUMIFS($E$2:$E$5,$I$2:$I$5,"Y",$J$2:$J$5,P2)[/TD]
[TD]=SUM(O3:P3)[/TD]
[/TR]
[TR]
[TD]=IF(O3>=$M$4,O3*0.05,0)[/TD]
[TD]=IF(P3>=$M$4,P3*0.05,0)[/TD]
[TD]=IF(Q3>=$M$5,Q3*0.02,0)[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Hi,
It works fine but sorry to mention that my another logic is name of salesman like target, month, qtr. In the main sheet I have lots of names. Here I gave instance of John but if I take another name, then how the formula would be ?
 
Upvote 0
Hello,

This should take into consideration more than one salesman:-

[TABLE="width: 2960"]
<tbody>[TR]
[TD]SALESMAN



[/TD]
[TD]SALESMAN NO[/TD]
[TD]BILL NO[/TD]
[TD]BILL DATE[/TD]
[TD]SOLD AMOUNT[/TD]
[TD]PAYMENT RCVD[/TD]
[TD]BALANCE[/TD]
[TD]DAYS[/TD]
[TD]COMMISSION?[/TD]
[TD]MONTH[/TD]
[TD][/TD]
[TD]TARGET[/TD]
[TD][/TD]
[TD][/TD]
[TD]SALESMAN[/TD]
[TD]SALES[/TD]
[TD][/TD]
[TD][/TD]
[TD]COMMISSION[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]20[/TD]
[TD]AF-001[/TD]
[TD]43192[/TD]
[TD]1000[/TD]
[TD]1000[/TD]
[TD]=E2-F2[/TD]
[TD]10[/TD]
[TD]=IF(AND(G2=0,H2<=15),"Y","N")[/TD]
[TD]=DAT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D]=DATE(YEAR(D7),MONTH(D7),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PETER[/TD]
[TD][/TD]
[TD][/TD]
[TD]43210[/TD]
[TD]15000[/TD]
[TD]15000[/TD]
[TD]=E8-F8[/TD]
[TD]10[/TD]
[TD]=IF(AND(G8=0,H8<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D8),MONTH(D8),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PETER[/TD]
[TD][/TD]
[TD][/TD]
[TD]43252[/TD]
[TD]2500[/TD]
[TD]2000[/TD]
[TD]=E9-F9[/TD]
[TD]5[/TD]
[TD]=IF(AND(G9=0,H9<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D9),MONTH(D9),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PETER[/TD]
[TD][/TD]
[TD][/TD]
[TD]43261[/TD]
[TD]5000[/TD]
[TD]4500[/TD]
[TD]=E10-F10[/TD]
[TD]20[/TD]
[TD]=IF(AND(G10=0,H10<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D10),MONTH(D10),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JAMES[/TD]
[TD][/TD]
[TD][/TD]
[TD]43206[/TD]
[TD]6000[/TD]
[TD]6000[/TD]
[TD]=E11-F11[/TD]
[TD]4[/TD]
[TD]=IF(AND(G11=0,H11<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D11),MONTH(D11),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JAMES[/TD]
[TD][/TD]
[TD][/TD]
[TD]43252[/TD]
[TD]18000[/TD]
[TD]12000[/TD]
[TD]=E12-F12[/TD]
[TD]10[/TD]
[TD]=IF(AND(G12=0,H12<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D12),MONTH(D12),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Dear Friend,
One more solution that I need, that is from commission amount I want to know the invoices against which the total commission amount covers. It will be back calculated. Pls help.

Hello,

This should take into consideration more than one salesman:-

[TABLE="width: 2960"]
<tbody>[TR]
[TD]SALESMAN


[/TD]
[TD]SALESMAN NO[/TD]
[TD]BILL NO[/TD]
[TD]BILL DATE[/TD]
[TD]SOLD AMOUNT[/TD]
[TD]PAYMENT RCVD[/TD]
[TD]BALANCE[/TD]
[TD]DAYS[/TD]
[TD]COMMISSION?[/TD]
[TD]MONTH[/TD]
[TD][/TD]
[TD]TARGET[/TD]
[TD][/TD]
[TD][/TD]
[TD]SALESMAN[/TD]
[TD]SALES[/TD]
[TD][/TD]
[TD][/TD]
[TD]COMMISSION[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]20[/TD]
[TD]AF-001[/TD]
[TD]43192[/TD]
[TD]1000[/TD]
[TD]1000[/TD]
[TD]=E2-F2[/TD]
[TD]10[/TD]
[TD]=IF(AND(G2=0,H2<=15),"Y","N")[/T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N")[/TD]
[TD]=DATE(YEAR(D7),MONTH(D7),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PETER[/TD]
[TD][/TD]
[TD][/TD]
[TD]43210[/TD]
[TD]15000[/TD]
[TD]15000[/TD]
[TD]=E8-F8[/TD]
[TD]10[/TD]
[TD]=IF(AND(G8=0,H8<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D8),MONTH(D8),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PETER[/TD]
[TD][/TD]
[TD][/TD]
[TD]43252[/TD]
[TD]2500[/TD]
[TD]2000[/TD]
[TD]=E9-F9[/TD]
[TD]5[/TD]
[TD]=IF(AND(G9=0,H9<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D9),MONTH(D9),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PETER[/TD]
[TD][/TD]
[TD][/TD]
[TD]43261[/TD]
[TD]5000[/TD]
[TD]4500[/TD]
[TD]=E10-F10[/TD]
[TD]20[/TD]
[TD]=IF(AND(G10=0,H10<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D10),MONTH(D10),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JAMES[/TD]
[TD][/TD]
[TD][/TD]
[TD]43206[/TD]
[TD]6000[/TD]
[TD]6000[/TD]
[TD]=E11-F11[/TD]
[TD]4[/TD]
[TD]=IF(AND(G11=0,H11<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D11),MONTH(D11),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]JAMES[/TD]
[TD][/TD]
[TD][/TD]
[TD]43252[/TD]
[TD]18000[/TD]
[TD]12000[/TD]
[TD]=E12-F12[/TD]
[TD]10[/TD]
[TD]=IF(AND(G12=0,H12<=15),"Y","N")[/TD]
[TD]=DATE(YEAR(D12),MONTH(D12),1)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
The "Y" indicates those invoices which are eligible for commission. You can use these values to get these invoices for each salesperson using SUMIF or SUMIFS. Play around with the formulas and try it out yourself.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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