Is there an excel function to calculate discounted payback period. thanks in advance for your help. RK0909