Brian Dunning's FileMaker Custom Functions

XIRR ( cashFlowList ; cashFlowDateList ; guessRate )

Returns extended internal rate of return - XIRR. Mimics Excel XIRR function.

  Average rating: 4.4 (25 votes) Log in to vote

Lewis Lorenz   Lewis Lorenz - Show more from this author
Lorenz Companies
http://www.LorenzCom.com

Share on Facebook Share on Twitter

  Sample input:
when using:
numbers: -6777.00, -6000.00, 150.00, 300.00, 300.00, 300.00, 300.00, 300.00, 12960.00
dates: 4-30-2001, 9-17-2001, 9-28-2001, 4-2-2002, 9-30-2002, 3-31-2003, 9-30-2003, 3-31-2004, 5-5-2004,

XIRR ( list ( data::number ) ; list ( data::date ) ; ".01" )
  Sample output:
.0510565877350815

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Extended Internal Rate of Return

XIRR ( cashFlowList ; cashFlowDateList ; guessRate )

Returns the eXtended Internal Rate of Return of a list of cash flows with corresponding cash flow dates. Mimics Excel XIRR function.

Example:

when using:
numbers: -6777.00, -6000.00, 150.00, 300.00, 300.00, 300.00, 300.00, 300.00, 12960.00
dates: 4-30-2001, 9-17-2001, 9-28-2001, 4-2-2002, 9-30-2002, 3-31-2003, 9-30-2003, 3-31-2004, 5-5-2004,

XIRR ( list ( data::number ) ; list ( data::date ) ; ".01" ) = .0510565877350815

 

Comments

Sean Oliver   Sean Oliver, Finance Technology Services Ltd
Apr 26, 2019
This function works really well and has always mimicked the Excel function for me.
 

Log in to post comments.

 

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

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: