Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

IRR ( cf0 ; cf1 ; cf2 ; cf3 ; cf4 ; cf5 ; cf6 ; cf7 ; cf8 ; cf9 ; cf10 ; cf11 ; x1 ; x2 ; accuracy )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.4  (31 votes)
  Discuss this Custom Function

Pascal Marazzi-de Lima, Wuest&Partner
http://www.wuestundpartner.com

Calculates the internal rate of return (IRR)

Sample Input:
IRR ( 0 ; -18184526 ; 983537 ; 983537 ; 983537 ; 19683537 ; 0 ; 0 ; 0 ; 0 ; 0 ; 0 ; 0 ; .2 ; .000001 )
Sample Output:
.0605609345657417


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

A recursive function that calculates the internal rate of return (IRR).

The first investment must be entered as a negative number in cf0, up to 10 cashflows can be entered in cf1 to cf11. x1 is always 0.0, x2 should be 0.2.

Accuracy must be entered as a fraction, eg. 0.000001. This means that the calculation is accurate up to the sixth decimal place.

In normal cases the calculation is done in less than 10 iterations but in some cases (don't know when) it takes longer.

Sometimes exist more than one result for the IRR, this case is not solved yet.

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it

Discuss:

Hi Brian,

Custom functions is the point that I don't know anything at all and I really have to make the calculation of IRR. I used your instructions and filemaker is asking for the field of cf0 do I have to create fields for every variable on your function or am I doing something wrong?

Okcun Sahin, Turkey
August 02, 2012 3:18am

Hi Okcun
First of all you need Filemaker Advanced in order to use custom functions.
The variables cf0, cf1 ... accuracy are the input variables for the custom function, not fields.
This is a recursive function, therefor it only works in custom functions and not in a normal calculation field.

Hope that helps
Pascal

Pascal, Zurich
August 02, 2012 5:16am

Hallo Pascal,
ich würde gerne Ihre Formel verwenden, jedoch habe ich Probleme sie in die eigenen Funktionen einzubauen. könnten Sie mir vielleicht einen Screenshot zusenden oder hier als Download reinstellen?

Danke
Robert

Robert, Germany
August 06, 2012 8:24am

Hallo Robert
Ich verstehe nicht ganz, welche Probleme Sie haben. Zudem weiss ich nicht, wie ich hier einen Screenshot publizieren kann.
Am besten schicken Sie mir eine Mail mit einer etwas ausführlicheren Beschreibung.

Gruss Pascal

Pascal, Zurich
August 06, 2012 10:57pm

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 5 + 1 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. ProperAllWords ( text )
  (Thu, Dec 14, 5:19pm)
2. MatchExist ( SourceTable.Field ; DestTable.Field ; ReturnField )
  (Thu, Dec 14, 1:07pm)
3. BVR_Format ( bvr )
  (Wed, Dec 13, 5:32pm)
4. NumberToHexadecimal(NumberValue)
  (Fri, Dec 08, 8:54am)
5. Get_BaseTable
  (Thu, Dec 07, 4:27pm)
6. JSONCreateVarsFromKeys ( json ; namespace )
  (Wed, Dec 06, 8:21pm)
7. GetTableNzme ( field )
  (Tue, Dec 05, 9:16pm)
8. TimeFormatAsText ( theTime )
  (Mon, Nov 13, 1:59pm)

RSS Feed of Custom Functions