Function · Financial
Excel NPER function
The Excel NPER function returns how many periods a rate and a deposit take to reach a goal. $8,000 plus $300 a month at 5% reaches $50,000 in 101.49 months.
Syntax =NPER(rate, pmt, pv, [fv], [type])
=NPER(0.05/12,-300,-8000,50000)Arguments
| Name | Required | What to pass |
|---|---|---|
| rate | Required | Interest rate per period. |
| pmt | Required | Deposit each period. Negative if you want a positive goal and a positive starting balance's opposite sign. |
| pv | Required | The amount you already have. Negative when the deposits are negative and the goal is positive. |
| fv | Optional | The balance you want at the end. Default is 0, which is a loan paid off, not a savings goal. |
| type | Optional | 0, the default, deposits at the end of the period. 1 deposits at the beginning. |
Examples
Months to reach $50,000
=NPER(0.05/12,-300,-8000,50000)Result 101.49 months
| A | B | |
|---|---|---|
| 1 | Starting balance | 8000 |
| 2 | Annual rate | 5% |
| 3 | Monthly deposit | 300 |
| 4 | Goal | 50000 |
| 5 | Months | 101.49 |
NPER runs the compound-interest question backward. How many months until the balance hits the goal? Starting from $8,000, adding $300 at the end of each month, at 5% a year compounded monthly, the $50,000 goal takes 101.49 months. That matches the FV page, which uses the same figures and shows the balance after 101 deposits is still about $49,752.
The result is a count of periods, and the fraction is a partial period. It is not a promise that month 101 lands on $50,000. Deposits at the beginning of the month, type 1, finish a little sooner. The rate has to be the rate per period. Divide the annual rate by 12 for a monthly deposit.