nper
Number of payment periods for a loan or investment.
Syntax
Section titled “Syntax”v = nper(rate, pmt, pv, fv, type)Description
Section titled “Description”Returns the number of periods needed to reach fv (default 0) starting from pv with periodic payment pmt at rate rate.
Example
Section titled “Example”nper(0.05/12, -1500, 200000) % months to pay off