Threshold formula

DellNiv

New Member
Joined
Jan 30, 2017
Messages
18
Hi,

I am attempting to use a Sumproduct Froumla to work out commission but it isn't quite working.

The below is what I am attempting.

Profit1000
Starters1
Actual starters16
16000
Commision: 3194.8 =SUMPRODUCT(--(16000>0;16;31;41),--(16000-0;16;31;41),0;0.1;0.05;0.05)
Low ThresholdHigh Threshold RateDiff.Rate
0150%0%
163010%10%
314015%5%
4120%5%

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>

Profit for 1 person is 1000. 0-15 0% commission. 16-30 10% - so the commision should be 1600 for 16 people hired but my formula is pulling through 3194.8. Then a further 5% for any over 30. and so on.

Hope this makes sense.

Let me know if it doesn't.

Thanks,
Dell
 
Maybe something like this


A
B
C
D
E
1
Profit​
1000​
2
Starters​
1​
3
4
Actual starters​
35​
5
Total Profit​
35000​
6
Commision:​
3750​
7
8
Low Threshold​
High Threshold​
Rate​
Helper1​
Helper2​
9
0​
15​
0%​
0​
0​
10
16​
30​
10%​
30​
30​
11
31​
40​
15%​
40​
5​
12
41​
20%​
35​
0​

<tbody>
</tbody>


Formula in D9 copied down (Helper1)
=IF(B9="",B$4,IF(B9<=15,0,B9))

Formula in E9 copied down (Helper2)
=IF(B$4<=15,0,MAX(0,MIN(B$4-SUM(E$8:E8),D9-N(D8))))

Result in B6
=SUMPRODUCT(C9:C12,E9:E12)*B1

M.

sorry that does not work either, I cannot change the starters for it to pick up the next threshold. for example if there is 50 starters next month I'll have to do another formula again. The point of this is that the thresholds should be interchangeable and the starters should be too and the one formula should be left as it is.
 
Last edited:
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
You can change the value of B4 to 50 and the result (B6) will be 6500. Isn't it what you want?

M.
 
Upvote 0
Sorry this does not work still? When I change the value of B4 the value of B6 stays the same
 
Last edited:
Upvote 0
Sorry this does not work still? When I change the value of B4 the value of B6 stays the same

It worked perfectly for me

B4 = 16

A
B
C
D
E
1
Profit​
1000​
2
Starters​
1​
3
4
Actual starters​
16​
5
Total Profit​
16000​
6
Commision:​
1600​
7
8
Low Threshold​
High Threshold​
Rate​
Helper1​
Helper2​
9
0​
15​
0%​
0​
0​
10
16​
30​
10%​
30​
16​
11
31​
40​
15%​
40​
0​
12
41​
20%​
16​
0​

<tbody>
</tbody>


B4 = 35

A
B
C
D
E
1
Profit​
1000​
2
Starters​
1​
3
4
Actual starters​
35​
5
Total Profit​
35000​
6
Commision:​
3750​
7
8
Low Threshold​
High Threshold​
Rate​
Helper1​
Helper2​
9
0​
15​
0%​
0​
0​
10
16​
30​
10%​
30​
30​
11
31​
40​
15%​
40​
5​
12
41​
20%​
35​
0​

<tbody>
</tbody>


B4 = 50

A
B
C
D
E
1
Profit​
1000​
2
Starters​
1​
3
4
Actual starters​
50​
5
Total Profit​
50000​
6
Commision:​
6500​
7
8
Low Threshold​
High Threshold​
Rate​
Helper1​
Helper2​
9
0​
15​
0%​
0​
0​
10
16​
30​
10%​
30​
30​
11
31​
40​
15%​
40​
10​
12
41​
20%​
50
10​

<tbody>
</tbody>


Check if you have used exactly the formulas I've suggested in post 10

M.
 
Upvote 0
The sumproduct doesn't even link into the amount of actual starters?

I can do the if formula but it's too long I was hoping for a sum product to work.
 
Upvote 0
The sumproduct doesn't even link into the amount of actual starters?

I can do the if formula but it's too long I was hoping for a sum product to work.

I don't understand what you're saying.
The SUMPRODUCT (B6) uses the values in C9:C12 (given Rates) and the calculated values in Helper2 column (E9:E12) that are linked with B4 (amount of starters).
It's a very short formula
=SUMPRODUCT(C9:C12,E9:E12)*B1

M.
 
Last edited:
Upvote 0
The sumproduct doesn't even link into the amount of actual starters?

I can do the if formula but it's too long I was hoping for a sum product to work.

See if this solution is more in line with what you expected.


A
B
C
D
1
Profit​
1000​
2
Starters​
1​
3
Min (Trigger)​
15​
4
5
Actual starters​
16​
6
Total Profit​
16000​
7
Commision:​
1600​
8
9
Low Threshold​
High Threshold​
Rate​
Marginal Rate​
10
1​
30​
10%​
10%​
11
31​
40​
15%​
5%​
12
41​
20%​
5%​

<tbody>
</tbody>


Criteria in B1:B3

Formula in B6
=B1*B5

Formula in B7
=IF(B5>B3,SUMPRODUCT(--(B5>=A10:A12),B5+1-A10:A12,D10:D12)*B1,0)

M.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,283
Members
449,075
Latest member
staticfluids

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