For this example, we want to calculate the number of payments for a $5000 loan, with a 4.5% interest rate, and fixed payments of $93.22. The NPER function is configured as follows: rate - The interest rate per period. We divide the value in C6 by 12 since 4.5% represents annual interest: pmt - The payment made each period. This is the known amount $93.22, which comes from cell C7. pv - The present value, or total value of all payments now. In the case of a loan, this is input as a negative value by adding a negative sign in front of C5: fv - the future value, or desired balance after last payment. We do not provide a value since the default is zero and makes sense for a loan. type - When payments are due, where 0 = end of period and 1 = beginning of period. Default is 0 so we do not provide a value. With these inputs, the NPER function returns 59.996, which is rounded to 60 in the example, representing 60 months = 5 years. The monthly payment is rounded to the nearest penny, which causes NPER to return a number slightly less than 60.

### Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.