A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Rob P,
A clean way to handle this is to calculate the number of days between the previous adjusted due date and the current adjusted due date, where any “due day” that doesn’t exist in a month is treated as that month’s last day (for example, “30th of February” becomes Feb 28/29).
Using your layout:
-
D7= annual amount due -
D8= daily amount due (=D7/365.25) -
D9= normal due day of month -
D11= day count -
D10= amount due -
A1= any date in the billing month being calculated (replace with your actual “billing month” date cell)
Day count (D11)
Paste this into D11:
=MIN($D$9,DAY(EOMONTH(A1,0)))-MIN($D$9,DAY(EOMONTH(A1,-1)))+DAY(EOMONTH(A1,-1))
Amount due (D10)
Then in D10:
=D11*$D$8
Example: If the due day is 30 and the billing month is February, the formula effectively compares 30 Jan with 28 Feb (or 29 Feb in a leap year), so the day count is 29, which matches the prorated expectation you described.
If you’d like, share what cell you’re using for the “billing month” date (the equivalent of A1), and I can map the references so you can fill the formula down cleanly for a full year.
Please let me know if this proves useful to you, or if you would like further assistance.
I'm looking forward to your reply.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment”.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.