Create an Excel Compound Interest Template for Irregular Payments
Question details
The user needs a billing workbook that calculates compound interest on unpaid balances and records payments made on irregular dates.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Track dated charges and payments while calculating interest on the outstanding balance.
- Observed behavior
- The desired workbook should update the balance using transaction dates, an interest rate, charges, and payments.
Determine the annual interest rate, opening balance, transaction dates, and required compounding schedule. The example below assumes a fixed annual rate, daily compounding, and a 365-day year.
Build a dated balance tracker in Excel
Use a transaction table to calculate daily compound interest between charges and irregular payments.
This example applies interest to the previous balance up to each transaction date, then adds the charge and subtracts the payment. Enter transactions in chronological order; transactions on the same date accrue no interest between them.
In Excel, select File > New > Blank workbook. Enter Date, Charge, Payment, and Balance in cells A1 through D1. Enter Annual rate in G1 and the rate, such as 5%, in H1.
Enter the opening date in A2 and the opening balance in D2. Leave B2 and C2 blank.
Enter the next transaction date in A3, its charge in B3, and its payment in C3. Leave either amount blank if it does not apply.
In D3, enter =D2*(1+$H$1/365)^(A3-A2)+B3-C3. Copy D3 down the Balance column for each subsequent transaction.
Format column A as dates and columns B through D as currency. Check a few rows against your billing terms, including the order in which interest and payments are applied.

Customize an Excel financial template
Start with a Microsoft financial-management template if you prefer an existing layout.
Calculate irregular-payment balances in WPS Spreadsheets
Create a dated transaction table in WPS Spreadsheets and use a formula to compound interest between charges and payments.
- 1. Set up the sheet: Open WPS Spreadsheets and create a blank workbook. Enter Date, Charge, Payment, and Balance in A1:D1, then enter your annual rate in H1.
- 2. Enter the opening balance: Enter the opening date in A2 and the opening balance in D2.
- 3. Record transactions: Starting in row 3, enter each transaction date in column A, charges in column B, and payments in column C. Keep the dates in chronological order.
- 4. Calculate balances: Enter =D2*(1+$H$1/365)^(A3-A2)+B3-C3 in D3 and copy it down for the remaining transactions. Check that the daily compounding assumptions match your billing terms.

Frequently Asked Questions
How does the formula handle payments made on different dates?
It uses A3-A2 to count the days since the preceding row, compounds interest over that period, and then subtracts the payment entered in C3.
How can I calculate the balance on a date with no payment?
Add a row with the desired date in column A, leave the charge and payment cells blank, and copy the balance formula into column D.
Can I use the same formula for monthly compounding?
Not without changing it. The example uses a daily rate of the annual rate divided by 365; monthly compounding requires a formula based on your agreement's monthly compounding and partial-period rules.
Where can I find an existing Excel payment template?
In Excel, select File > New and search for loan, payment, or financial templates. Check whether the template supports dated transactions and modify its interest formulas if needed.




