Written by Allen Wyatt (last updated June 17, 2025)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021
Every month Judy needs to calculate an amount of interest to charge on her company's overdue accounts. They charge 18% annually, but Judy wants to compound the amount on a daily basis, based upon the customer's balance each day. She can't quite figure out how to come up with the monthly interest that should be charged to each customer's account.
A large part of the answer is going to depend on the nature of the data with which you are working. If your customers' balances change during the month because of payments and purchases, then the most understandable way to handle the situation is with a worksheet for each of your customers. Column A can have dates in it, column B can have purchases, column C payments, column D would be the interest charge, and column E would be the balance.
In this scenario you only need to place the amount of daily purchases and payments in columns B and C. Column D, which computes the daily interest, would have this formula:
=(E1+B2-C2)*0.18/365
This takes the previous day's balance, adds the purchases, subtracts the payments, and then calculates the interest on that amount. In this case, it is 18% (the annual interest rate) divided by the number of days in the year. In column E you would then calculate the balance for the new day, as follows:
=E1+B2-C2+D2
You can copy down the formulas in columns D and E and you will always know the balance for the account at the end of each day.
If the account only makes a single purchase or payment per month, then you can use the FV (future value) worksheet function to calculate the interest to be assessed at the time of each change in the account balance. You would do that using this formula:
=FV(0.18/365,days,0,start)
The only two variables you need to plug in here are the number of days between transactions (such as 23 days or 30 days or whatever it has been since there was a change in the balance) and the start balance at the beginning of that period. This start balance should be plugged in as a negative amount.
For instance, let's say that the account had a $1,000 balance at the beginning of the period. On the 25th of the month the account paid $250, so that was the day there was a change in the account's balance. As of the day before the change (as of the 24), the formula to compute the balance with interest would have been this:
=FV(0.18/365,24,0,-1000)
Of course, before you start charging interest to your customers you'll want to check to see if you are legally permitted to compound interest daily. Some governments may not permit you to do so. In that case you may be looking at calculating interest differently. Some companies forego compounded daily interest and simply charge a simple interest rate on the closing date for the month. This amount of interest is easy to compute, assuming your billing months correspond with calendar months:
=Balance * 0.18/12
There are a number of other interest-charging techniques that might be applied, as well. For instance, you might institute minimum monthly service charges (sometimes called carrying charges) or you might calculate interest based on a 360-day year or on a 13-month year.
To make sure you are calculating the charges appropriately, you'll want to check with both your accountant and your lawyer. (The latter because there could be verbiage in account agreements that stipulate how interest is to be charged and there could be laws that restrict some sorts of charges.)
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10344) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Calculating Monthly Interest Charges.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2019 For Dummies today!
The second parameter of the COUNTIF function is used to specify the criteria to be used when determining what should be ...
Discover MoreIf you use Excel to track projects on which you are working, you may want to determine how many projects were in-process ...
Discover MoreNeed to get at the next-to-last value in a column, regardless of how many cells are used within that column? This tip ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2025-06-17 10:57:21
jamies
Nelja,
Re.
"I am trying to figure out the formula for overdue payments. All clients have a due date of Jan/31/2020. We charge a late fee of $5 monthly once someone is 10 days past the due date, and charges the 10th of each month thereafter. We also charge an annual 10% interest starting 20 days after the due date, and compounds monthly on the 20th of each month (interest calculated includes original amount due, plus late fees, plus any prior interest). I am trying to figure out this formula in excel. Any help would be greatly appreciated!"
start point for what seems, at a first look to be a simple process
within the row? for the client's details:
you will have the date the agreement took effect,
the amount loaned
The date of the last payment made on time
the date of the last payment made
the date of the last calculation of interest and charges
So - update the last calculation date, to today's date - note not just = today()
you have the last payment - so if that date was more than 10 days past the due date - there is 1 month's $5.00 fee due
and if that date is more than a "month" after the duedate+10 days
use date(y, m, d) on last payment and the just set date of the calculation, or maybe datediff () depends on how your process is set to count months -
you can add more $5.00 charges.
Similarly do the interest payments re the 20th of the month,
Now - there are problems that - interest on a daily basis is not 10%/365
and "months" may have different numbers of days ,
and what about months where the close of business on the 19th or is it the 20th, or the 21st is not usable as that day is not a banking day !
and the amount owed will change as penalties are applied, and unpaid interest due accumulates.
So - maybe you should be maintaining a running total of the debt, decreased by payments, and increased by interest on the debt, and penalties levied, and interest on them.
So - a row in a sheet detailing each debt owed.
and another sheet with each charge and payment having individual date entries -
The will allow the debt owed sheet to do sumproduct() of the number of balance-to-date of the debt as each new payment or charge is added
That does, however mean that there has to be an entry for every change in the balance owed.
And the interest owed can be the total of the charges, and individual interest calculations - to as many decimal places as you want,
and from that you subtract the total amount paid ( which will be in cents)
then you need to either round the difference in charged, and paid to the nearest cent - either up, or down - your choice.
You then have the problem of determining what is actually an overdue for payment amount - depending on the actual due date of the interest payment against the date that there was a payment last made,
and how the late fees will be included within that.
2025-06-17 07:37:08
jamies
Why are you showing calculations that don't work for about 25% of the years ?
No rounding to values that a bank will process,
if the interest is to be a daily rate, then the daily rate that equates to the declared 18% needs to be calculated, and then that interest rate compounded for the number of days the interest is being calculated for
as in - for a leap year it's 366 days not 365
and the 18% - well what daily rate - in that year will (1+rate)^366 give 0.18
- or maybe use the built-in Excel formulas for that
and when would the 366 rather than the 365 apply -
as in what is the "year" start and end that applies for the period the interest is being calculated for -
as in period 1st Feb to 29th Feb of the year probably needs the 366, but what about 1st Jan to 31st Jan of the same calendar year
and - then 1st Feb 2023 to 1st Feb 2024, or 2025
And 1st Feb 1900 to 1st Feb 1901
Also - for many calculations if payments are made on Jan 1st is that to be applied to the calculation as reducing the balance on the 1st Jan, the 2nd Jan, or maybe not until the 3rd Jan ?
different countries have different official "bank/public holidays"
Also - re "$5 monthly " what actually constitutes a "month"
remembering that only 7 "months" in the "Christian calendar " actually have 31st days, and what about those where the elapsed month would be on the 29th, 30th, or 31st day of the following calendar month, if that "month" had that many days -
And ..
there is the problem of fractional amounts of the minimum currency portion managed by a bank ( as in what you can demand be paid)
and the rounding that would need to be applied - being done on a daily calculated, and rounded amount, or the monthly calculated amount rounded, or the 20 days interest rounded on that 20th day -
and, are all loans made on the 30th January to be repaid on the 31st of January, or the 31st of any month, or the last day of any month
And are fractional amounts of interest to be carried forward and included in the next period's interest before that is rounded
( can lead to a 30 day month's charge being more than the charge for a 31 day month - maybe only the penny - but that's bound to get queried by someone, and disputed - with a request to courts that the loan agreement be declared void due to the inappropriate payment amounts demanded.
If it ain't in the agreement ... .... ......
2020-06-06 14:03:34
Ram
Hi Allen
Thanks for writing this post. This has provided me a starting point for my scenario.
However, I am struck as my case is little different. I give my customer a credit of 30 days and I charge simple daily interest from the 31st day.
Can you please help me with a tip for my case.
My Columns are
Col A - Date
Col B - Party Name
Col C - Purchase Amount
Col D - Payment Amount
2020-02-16 00:08:59
Nelja
HELP!
I am trying to figure out the formula for overdue payments. All clients have a due date of Jan/31/2020. We charge a late fee of $5 monthly once someone is 10 days past the due date, and charges the 10th of each month thereafter. We also charge an annual 10% interest starting 20 days after the due date, and compounds monthly on the 20th of each month (interest calculated includes original amount due, plus late fees, plus any prior interest). I am trying to figure out this formula in excel. Any help would be greatly appreciated!
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments