Loan Days Calculation

Acekay

New Member
Joined
Oct 19, 2018
Messages
11
Hi
Below is the table where i need the number of days to be calculated. Its basically loan days to be calculated. I have given the values manually but requesting all if anyone can give me common formula to put in cell to give me this value (counting of days).


MONTH ENDMONTH ENDMONTH ENDMONTH ENDMONTH ENDMONTH ENDMONTH ENDMONTH END
31/07/201831/08/201830/9/201831/10/201830/11/201831/12/201831/01/201928/02/2019
Loan DatePayment DateDue Date
01/06/201825/06/201830/08/201800
0
00000
18/06/201818/07/201816/09/2018180000000
01/08/201813/09/201830/10/20180301300000
01/08/201825/10/201830/10/201803030250000
05/09/201822/11/201804/12/201800253122000
08/10/201810/01/201906/01/2019000233031100
18/10/201825/02/201916/01/20190001330313125

<tbody>
</tbody>

Thanking you in advance.
****** id="cke_pastebin" style="position: absolute; top: 25px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">
MONTH END

<tbody>
</tbody>
</body>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Enter in D2 and drag across and down :

=MAX(MIN(D$2,$B4)-MAX(EOMONTH(D$2,-1),$A4),0)
 
Last edited:
Upvote 0
Hi,
What if there is no payment date mention in the table? and want to calculate days till now ...eg under first raw if we change the data as;


MONTH ENDMONTH ENDMONTH ENDMONTH ENDMONTH ENDMONTH ENDMONTH ENDMONTH END
31/07/201831/08/201830/9/201831/10/201830/11/201831/12/201831/01/201928/02/2019
Loan DatePayment DateDue Date
01/09/201830/11/20180029220000
18/06/201818/07/201816/09/2018180000000
01/08/201813/09/201830/10/20180301300000
01/08/201825/10/201830/10/201803030250000
05/09/201822/11/201804/12/201800253122000
08/10/201810/01/201906/01/2019000233031100
18/10/201825/02/201916/01/20190001330313125

<tbody>
</tbody>

Thanx in advance.
 
Upvote 0
=max(min(d$2,if($b4="",today(),$b4))-max(eomonth(d$2,-1),$a4),0)
 
Upvote 0

Forum statistics

Threads
1,215,459
Messages
6,124,947
Members
449,198
Latest member
MhammadishaqKhan

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