Implement MS Excel RATE function as method/function

  • Status Closed
  • Budget N/A
  • Total Bids 1

Project Description

Need the actual formula for the Excel RATE function.

Searching Excel help file reveals the one formula that is used for all of Excel's finance functions. (Open Excel, go to help, search for PV, the function, open that topic, scroll down). My attempts and those around me to actually rearrange the formula have failed. So now I'm opening up the problem to include Excel rather then, here is formula make rate the subject (rate =).

The way I'm doing it at the moment is getting the monthly payment (pmt) as pv+extra,rate,nper,fv,type. This gives me [url removed, login to view] for example. then I get the pmt with pv,rate,nper,fv,type and I get [url removed, login to view] (for example) so now i just increase rate until I get pmt(pv+extra) == pmt(pv).

Obviously this takes a few iterations of the loop to get the rate. Surely Excel isn't doing this in its RATE function because the answer is solved in milliseconds.

Figure out how the RATE function works so I can put values into a function and get the rate.

I just need it as something I can do on a calculator (5 + 5 = 10), use whatever language you want really. The language I'm using is ruby. But like I said as long as I can use a calculator with plus,minus,time,divide,square root,notation, etc, then your solution can go into whatever language.

Get free quotes for a project like this
Awarded to:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online