Using excel formulae in ASP

Results 1 to 2 of 2

Thread: Using excel formulae in ASP

  1. #1
    Join Date
    Dec 1969

    Default Using excel formulae in ASP

    Hi I want to use the excel formula definition for RATE() function in asp for a calculation. I am not able to figure out what the actual mathematical calculation behind the Excel RATE() function. Can anyone help

  2. #2
    Join Date
    Dec 1969

    Default RE: Using excel formulae in ASP

    This might not help, but here&#039;s what Excel says about the Rate function:<BR>------------------------------------------------------------<BR>RATE<BR>See Also<BR><BR>Returns the interest rate per period of an annuity. RATE is calculated by iteration and can have zero or more solutions. If the successive results of RATE do not converge to within 0.0000001 after 20 iterations, RATE returns the #NUM! error value.<BR><BR>Syntax<BR><BR>RATE(nper,pmt,pv,fv,ty pe,guess)<BR><BR>For a complete description of the arguments nper, pmt, pv, fv, and type, see PV.<BR><BR>Nper is the total number of payment periods in an annuity.<BR><BR>Pmt is the payment made each period and cannot change over the life of the annuity. Typically, pmt includes principal and interest but no other fees or taxes. If pmt is omitted, you must include the fv argument.<BR><BR>Pv is the present value — the total amount that a series of future payments is worth now.<BR><BR>Fv is the future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0).<BR><BR>Type is the number 0 or 1 and indicates when payments are due.<BR><BR>Set type equal to If payments are due <BR>0 or omitted At the end of the period <BR>1 At the beginning of the period <BR><BR><BR>Guess is your guess for what the rate will be. <BR><BR>If you omit guess, it is assumed to be 10 percent.<BR><BR><BR>If RATE does not converge, try different values for guess. RATE usually converges if guess is between 0 and 1. <BR><BR>Remark<BR><BR>Make sure that you are consistent about the units you use for specifying guess and nper. If you make monthly payments on a four-year loan at 12 percent annual interest, use 12%/12 for guess and 4*12 for nper. If you make annual payments on the same loan, use 12% for guess and 4 for nper.<BR><BR>Example<BR><BR>To calculate the rate of a four-year $8,000 loan with monthly payments of $200:<BR><BR>RATE(48, -200, 8000) equals 0.77 percent<BR><BR>This is the monthly rate, because the period is monthly. The annual rate is 0.77%*12, which equals 9.24 percent.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts