G_DURATION(rate,pv,fv)
rate: effective annual interest rate
pv: present value
fv: future value
G_DURATION calculates the number of periods needed for an investment to attain a desired value.
G_DURATION is the OpenFormula function PDURATION.
FV, PV, DURATION, MDURATION.