late fee formula

apgmin

Board Regular
Joined
Mar 1, 2010
Messages
143
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
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi,
Please provide sample data, so that a suitable formula can be shared with you..





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
 
Upvote 0
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

ABCDE
1fees payable datefees paid datefees payable amountfees paid amountpenalty amount
202-Jan12-Mar500500300
302-Jan02-Jan500400150
402-Jan12-Mar500300300

<tbody>
</tbody>

Now the student 1 instead of paying on 2nd jan paid on 12 march so 3 months late ( 2nd jan, 2nd feb and 2nd march ) so he should pay 300USD @ 100 usd per month. as penalty
now student 2 even though he paid on time he paid instead of 500 only 400 usd so to the penalty 150 USD
the student 3 paid late and also paid less so his penalty is Maximum of the 2 scenario above ( because he is supposed to pay penalty for late payment @ 300 and less payment @ 150 so the actual penalty he pays is max of the two amounts ie. 300 USD
give me the formula for the 3rd student in row 4 to be put in cell e4 ( THE RESULTS FOR THE SAME FORMULA SHOULD BE 300 FOR E4, 150 FOR E3 AND 300 FOR E2 )
 
Last edited:
Upvote 0
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

Maybe this in E1 and copy down:

=D1-C1-(DATEDIF(A1,B1,"m")+(DAY(B1) > DAY(A1))+(D1 < C1))*100<c1))*100< font="">
</c1))*100<>
<c1))*100< font="">
Markmzz</c1))*100<><c1))*100< font=""></c1))*100<>
 
Last edited:
Upvote 0
sir, it is not showing expected results
 
Upvote 0
Hi apgmin,
Please use the following formula in E column:
=MAX(IF(B2>A2,MONTH(B2-A2)*100,0),IF(D2>=C2,0,150))
 
Upvote 0
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

ABCDE
1fees payable datefees paid datefees payable amountfees paid amountpenalty amount
202-Jan12-Mar500500300
302-Jan02-Jan500400150
402-Jan12-Mar500300300

<tbody>
</tbody>

Now the student 1 instead of paying on 2nd jan paid on 12 march so 3 months late ( 2nd jan, 2nd feb and 2nd march ) so he should pay 300USD @ 100 usd per month. as penalty
now student 2 even though he paid on time he paid instead of 500 only 400 usd so to the penalty 150 USD
the student 3 paid late and also paid less so his penalty is Maximum of the 2 scenario above ( because he is supposed to pay penalty for late payment @ 300 and less payment @ 150 so the actual penalty he pays is max of the two amounts ie. 300 USD
give me the formula for the 3rd student in row 4 to be put in cell e4 ( THE RESULTS FOR THE SAME FORMULA SHOULD BE 300 FOR E4, 150 FOR E3 AND 300 FOR E2 )

Hi!

Sorry, but now you have new rules.

Anyway, try this in E4 and copy down:

=MAX(DATEDIF(A4,B4,"m")*100+(DAY(B4) > DAY(A4))*100,(D4 < C4)*150)

<c4)*150)< font="">
</c4)*150)<>
<c4)*150)< font=""><strike>
</strike>
ABCDEF
1
2
3Date 01Date 02Value 1Value 2Result
402/01/201812/03/2018500500300
502/01/201802/01/2018500400150
602/01/201812/03/2018500300300
7
*************************************************

<tbody>
</tbody>


Markmzz</c4)*150)<><c4)*150)< font=""></c4)*150)<>
 
Last edited:
Upvote 0
=MAX(IF(B4>A4,MONTH(B4-A4)*100,0),IF(D4>=C4,0,150))
In my excel, the value of Student 3 is calculated in E4.
 
Upvote 0

Forum statistics

Threads
1,215,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

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