PV(rate,nper,pmt[,fv,type])
PV calculates the present value of an investment. rate is the periodic interest rate, nper is the number of periods used for compounding. pmt is the payment made each period, fv is the future value and type is when the payment is made.
FV.