The Hun said:
We need a formula to put into 24 cells that'll return
the principal +interest amount to pay down a loan.
Well, you omit some critical facts. Assuming a US (or similar) loan with
normal amortization and monthly payments, you might compute the monthly
principal and interest amounts the following way.
Note: With these assumptions, the fact that interest is compounded is
irrelevant because the periodic payment for "normal amortization" covers the
interest charged for each period. So I wonder if you have a different loan
structure in mind.
If B2:B25 contains the payment number (1 through 24), then put the following
into C2 and D2:
C2, principal: =PPMT(7.5%/12,B2,24,-100)
D2, interest: =IPMT(7.5%/12,B2,24,-100)
Copy C2
2 down through C25
25.
Note: You could dispense with B2:B25 by replacing B2 with ROW(C1) above.
But that becomes unreliable if you insert rows above. There are ways to
avoid that; but I digress.
That's probably good enough for your example. But generally, I do not like
PPMT and IPMT because they assume that the periodic payment is exactly
PMT(7.5%/12,24,-100).
In the real world, that is almost never the case. The periodic payment is
at least rounded to the penny (in the US), and lenders are free to round it
differently, e.g. rounding to the dollar, or even to choose an arbitrary
payment amount, as long as it meets the terms of the loan.
And because of those real-world constraints, the last payment amount might
not be the same as the regular payment amount. Or the prudent lender might
accept the regular payment amount and treat the excess as additional
interest.
So alternatively, put the regular payment amount into A1, for example:
A1: =ROUNDUP(PMT(7.5%/12,24,-100),2)
Then set up the following, again with B2:B25 set to 1 through 24:
E1, initial loan: 100
C2, principal: =IF(B2=24, E1, $A$1-D2)
D2, interest: =IF(B2=24, ROUNDUP(E1+E1*7.5%/12,2)-E1, E1*7.5%/12)
E2, remaining balance: =E1-C2
Copy C2:E2 down through C25:E25.
PS: Of course, it would be better to put the constants 100, 7.5%, 24 and 12
into cells, and replace them with absolute cell references in the formulas
above.
----- original message -----