Effect formula in Excel returns the effective annual interest rate, given the nominal annual interest rate and the number of compounding periods per year.