tijnar

New Member
Joined
Oct 7, 2015
Messages
1
ABC
1RangeNo. of DeliveriesInventive
20-4Zero
35-8 ₹ 5.00
49-14 ₹ 10.00
515-18 ₹ 15.00
618 Onwards ₹ 20.00
7
8No. of DeliveriesInventive
925???
1010???

<tbody>
</tbody>
In the column A you see a range in nos. and column B has no of
deliveries that a person does,
Column C has the incentive that will be paid to the person for doing this in the range.
Suppose a person does :
4 deliveries : he gets nothing
7 deliveries : he gets 3*5=15
10 deliveries : he gets (from 5-8 he gets 4*5=20) + 2 deliveries within
range 9-14 ie. (2*10=20) So he get total of 20+20=40
25 deliveries: he gets Range 5-8 = 4 @5=20; Range 9-14=6 @10= 60;
Range 15-18=4 @15=60; and Range 18 onwards =8 @20 =160: Total incentive becomes 20+60+60+160= 300

What I want is that when I enter the no. of deliveries it formula should calculate the amount automatically? What should be the formula in this case.
Many thanks for the support.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi and welcome to the MrExcel Message Board!

I am not sure I agree about your figure for 25 deliveries.

Are you saying that if there are 18 deliveries then the rate for the 18th delivery is 15.00 but if there are 19 deliveries then the rate for the 18th is now 20.00?

Otherwise:

Excel 2013
AB
1Number of DeliveriesIncentive
210
320
430
540
655
7610
8715
9820
10930
111040
121150
131260
141370
151480
161595
1716110
1817125
1918140
2019160
2120180
2221200
2322220
2423240
2524260
2625280
Sheet1
Cell Formulas
RangeFormula
B2=((MAX(4,MIN(A2,8))-4)*5)+((MAX(8,MIN(A2,14))-8)*10)+((MAX(14,MIN(A2,18))-14)*15)+((MAX(18,A2)-18)*20)
 
Upvote 0
How about this: =MAX(0,F10-18)*($C$6-$C$5)+MAX(0,F10-14)*($C$6-$C$5)+MAX(0,F10-8)*($C$5-$C$4)+MAX(0,F10-4)*($C$4-$C$3)

which gives the same result as Rick, but is slightly differently constructed.
 
Upvote 0

Forum statistics

Threads
1,214,885
Messages
6,122,085
Members
449,064
Latest member
MattDRT

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