I have written a custom function that uses a combination of FV and PV . When I run it in excel it first returns a Value and when I clcik the cell again it shows the correct answer.
This is the function can anyone suggest what I am doing incorrectly.
Function FV2Way(yield, Years, Inflation, FirstPayment)
ActiveCell = FV(yield, Years, 0, PV((1 + yield) / (1 + Inflation) – 1, Years, FirstPayment, 0, 1))
End Function
thanks
peter