Here are two ways that you might model this in Numbers.


The one on the left is easy to calculate (it assumes you repay the same amount of principal each month) but the payments are less even. The one on the right results in even payments for periods 1-31, another even amount for 32-45, etc.
The formulas in the first table,
| A2: | =ROW()−1 |
| C2: | =Loan terms::$B$1 |
| D2: | =−Loan terms::$B$1÷Loan terms::$B$2 |
| E2: | =SUM(C2:D2) |
| F2: | =−C2×B2÷12 |
| G2: | =D2+F2 |
| A3: | =ROW()−1 |
| C3: | =E2 |
| D3: | =−Loan terms::$B$1÷Loan terms::$B$2 |
| E3: | =SUM(C3:D3) |
| F3: | =−C3×B3÷12 |
| G3: | =D3+F3 |
With fprmulas in the third row filled down to row 301.
The formulas in the table on the right:
| A2: | =ROW()−1 |
| B2: | =Loan terms::$B$2−A2+1 |
| D2: | =Loan terms::B1 |
| E2: | =J2−G2 |
| F2: | =SUM(D2:E2) |
| G2: | =−D2×C2÷12 |
| H2: | =IF(C2≠C1,B2,H1) |
| I2: | =IF(C2≠C1,D2,I1) |
| J2: | =PMT(C2÷12,H2,I2) |
| A3: | =ROW()−1 |
| B3: | =Loan terms::$B$2−A3+1 |
| D3: | =F2 |
| E3: | =J3−G3 |
| F3: | =SUM(D3:E3) |
| G3: | =−D3×C3÷12 |
| H3: | =IF(C3≠C2,B3,H2) |
| I3: | =IF(C3≠C2,D3,I2) |
| J3: | =PMT(C3÷12,H3,I3) |
With fprmulas in the third row filled down to row 301.
A link to document on Dropbox is here.
SG