Formula Help - Daily charges - Increasing after 4 days

Vansar

New Member
Joined
May 7, 2019
Messages
3
Hello all,

I am struggling with writing a formula that will calculate a fine dependant on the road type, however some of the road attract higher charges after 3 days, eg: 0 T/S 5 day overrun = 3x5000, 2 x 10000 = 35000, i do have a column that works out my working days overrun by checking against a table =IF(O2="","",(IFERROR(NETWORKDAYS(O2+1,P2,Holidays!$A$1:$A$96),"")))

I have tried using a Vlookup but cannot work out how to trigger the 4th day higher rate but also multiply the first 3 days correctly

V-Lookup Table

RoadAmount4th Day+
0 T/S£5,000.00£10,000.00
0£2,500.00£2,500.00
1 T/S£5,000.00£10,000.00
1£2,500.00£2,500.00
2 T/S£3,000.00£8,000.00
2£2,000.00£2,000.00
3 T/S£750.00£750.00
3£250.00£250.00
4 T/S£750.00£750.00
4£250.00£250.00

<tbody>
</tbody>

Example Table with Formulas Showing

Days OverrunRoad CatNotice End DateDate ClearedPot ChargeUplift
=IF(C2="","",(IFERROR(NETWORKDAYS(C2+1,D2,Holidays!$A$1:$A$96),"")))0 T/S4355743567=E2*0.125

<tbody>
</tbody>

Any help with this would be much appreciated

Cheers

Craig
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
this will works out fine based on no of working days


Book1
ABC
1RoadAmount4th Day+
20 T/S£5,000.00£10,000.00
30£2,500.00£2,500.00
41 T/S£5,000.00£10,000.00
51£2,500.00£2,500.00
62 T/S£3,000.00£8,000.00
72£2,000.00£2,000.00
83 T/S£750.00£750.00
93£250.00£250.00
104 T/S£750.00£750.00
114£250.00£250.00
12
13
140 T/S535000
152 T/S417000
164 T/S32250
Sheet1
Cell Formulas
RangeFormula
C14=VLOOKUP(A14,$A$1:$C$11,2,0)*MIN(B14,3)+VLOOKUP(A14,$A$1:$C$11,3,0)*MAX(B14-3,0)
 
Upvote 0
AlanY,

Many thanks for this, it has been pickling my head for a while

Thanks you again

Craig
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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