Calculate Loan Payments by Monthly Due Date in Excel
Question details
Calculate loan balances based on each loan's monthly payment due date.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet tracks loans with payments due on different days of the month, such as the 15th or 20th.
- Observed behavior
- The desired worksheet compares the current date with each payment date and subtracts payments that have become due.
Identify each loan's opening balance, payment amount, and first scheduled due date. The formulas below assume payments are made when due and do not calculate interest, fees, or missed payments.
Build a monthly repayment schedule in Excel
Use one row per due date to account for repeated monthly payments and update the remaining balance automatically.
Enter the opening balance in F1, the monthly payment amount in F2, and the first due date in A2. Format column A as dates.
In B2, enter =IF(A2<=TODAY(),MIN($F$1,$F$2),0). In C2, enter =MAX(0,$F$1-B2). Column B shows the scheduled payment applied, and column C shows the remaining balance.
In A3, enter =EDATE($A$2,ROW()-ROW($A$2)). This calculates each due date from the original date, including adjustments for shorter months.
In B3, enter =IF(A3<=TODAY(),MIN(C2,$F$2),0). In C3, enter =MAX(0,C2-B3).
Select A3:C3 and drag the fill handle down for the number of months you need. Repeat the schedule for each loan with a different first due date.

Calculate a single month's balance from the payment day
Use this shorter formula when the opening balance already reflects all previous months and you only need to check the current month's payment.
Create a monthly loan repayment schedule in WPS Spreadsheets
Use date and balance formulas in WPS Spreadsheets to track scheduled payments and remaining loan balances as due dates arrive.
- 1. Enter the loan details: In WPS Spreadsheets, enter the opening balance in F1, the monthly payment in F2, and the first due date in A2.
- 2. Calculate the first row: Enter =IF(A2<=TODAY(),MIN($F$1,$F$2),0) in B2 and =MAX(0,$F$1-B2) in C2.
- 3. Set up later rows: Enter =EDATE($A$2,ROW()-ROW($A$2)) in A3, =IF(A3<=TODAY(),MIN(C2,$F$2),0) in B3, and =MAX(0,C2-B3) in C3.
- 4. Extend and save the schedule: Drag the fill handle from A3:C3 down through the required months, then use File > Save As to save the workbook.

Frequently Asked Questions
How do I handle loans due on different days?
Enter each loan's actual first due date in its own repayment schedule. EDATE calculates subsequent monthly dates from that starting date.
What happens if a payment is due on the 31st?
EDATE adjusts to the last valid day in a shorter month. Calculate each date from the original due date, as in =EDATE($A$2,ROW()-ROW($A$2)), so later months can return to the 31st.
Why hasn't the balance changed on the due date?
Check that the due date is a real Excel date and that the formula uses <=TODAY(). If necessary, set Formulas > Calculation Options to Automatic or recalculate the workbook.
Does the schedule calculate interest or confirm a payment was made?
No. The formulas subtract scheduled payments when they become due; they do not calculate interest or verify actual payments. Add interest calculations and an actual-payment record if your loan requires them.




