late fee formula

apgmin

Board Regular
Joined
Mar 1, 2010
Messages
139
Office Version
  1. 2013
Platform
  1. Windows
In cell A1 I put the date when the fees is supposed/committed to be paid by the student
In cell B1 I put the date when the fees is actually paid by the student

In cell C1 I put the amount which is supposed/committed to be paid by the student on date A1
In cell D1 I put the amount that is actually paid by the student
Now if he pays after the committed date or pays less than the combined amount he needs to pay a penalty which should be calculated in cell E1

The rules are as follow for computing the penalty :
If he pays less than commited then automatically 100 USD is to be paid by him
or if he pays after the comitted date then the amount should be USD 100 per month delay

the results in cell E! sould be higher of the 2 above
 
thanks works perfectly

You're welcome and thanks for the feedback.

By the way, try this small modification in my last suggestion:

In E2 and copy down

=MAX((DATEDIF(A2,B2,"m")+(DAY(B2) > DAY(A2)))*100,(D2 < C2)*150)


ABCDEF
1Date 01Date 02Value 1Value 2Result
202/01/201812/01/20195005001300
302/01/201802/01/2018500400150
402/01/201812/03/2018500300300
5
*************************************************

<tbody>
</tbody>


Markmzz
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,528
Messages
6,120,065
Members
448,942
Latest member
sharmarick

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