Brian Dunning's FileMaker Custom Functions

CompoundInterestTotal ( Principal ; Rate ; CompoundFreq ; Years )

calculates the total amount of money accumulated, including interest, over a period of time(years), when interest is compounded periodically.

  Be the first to rate this function Log in to vote

Patrick Mathers   Patrick Mathers - Show more from this author
Records Doctor
https://recordsdoctor.com

Share on Facebook Share on Twitter

  Sample input:
CompoundTotalAmount ( 10000 ; 5 ; "Monthly" ; 3 )
  Sample output:
11614.72

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

This custom function is based on the following equation for calculating compound interest:

A = P(1+r/n)^nt

Where:

A = the future value of the investment
P = the principal balance
r = the annual interest rate (decimal)
n = number of times interest is compounded per year
t = the time in years
^ = ... to the power of ...

I have changed the names of the function parameters to make it easier interpret when using.

This formula takes the principal amount, multiplies it by the growth factor (1 + r/n), raised to the power of the number of times interest is compounded per year multiplied by the number of years the money is invested for.

 

Comments

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 20 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: