Formula to work out how many payments left on a loan?

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone,

So I'm trying to work out how many payments are left on a loan?

I have a start Date in D4
End Date in F4
Number of months in B4

So all i want to do is look at the End date, and todays date and work out how many payments are left?
the dates are shown as DD/MM/YY so for example last Payment date = "26/12/21" so it should say i have 4 payments left, but 13/12/21 would be 3

please help if you can

Thanks
Tony
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
=DATEDIF(TODAY(),F4,"M")
would give 3 and 13/12/21 would give 2
Why 13th Dec ?
is that because its before today's date of 23 sep
"M" is complete months
so the 22nd would be 2 and 23/24 would be 3


if so then -
=DATEDIF(TODAY(),F4,"M")+1
 
Upvote 0
Thanks etaf,
yes it was just an example as i'm having trouble with if the payment is due tomorrow so there are 3 payments but only two months,
so what i was trying to do is count how many "23rd" there are between the two dates but it wasn't working,
I'll give you idea a go see what happens
thanks
Tony
 
Upvote 0
that should work ,

Book6
BCDEF
3MonthEnd date
4312/21/21
5312/22/21
6412/23/21
7412/24/21
8412/25/21
Sheet1
Cell Formulas
RangeFormula
B4:B8B4=DATEDIF(TODAY(),F4,"M")+1
 
Upvote 0
Hi, sorry but the above is correct, it works perfectly,
thanks
Tony
 
Upvote 0
This will count numbers of 23's between today and Date in F4. Change 23 as required.

=SUMPRODUCT(1*(DAY(ROW(INDIRECT(TODAY()&":"&$F$4)))=23))

To count 26

=SUMPRODUCT(1*(DAY(ROW(INDIRECT(Today()&":"&EndDate)))=26))
 
Upvote 0
Solution

Forum statistics

Threads
1,214,911
Messages
6,122,195
Members
449,072
Latest member
DW Draft

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