


INTRATE.EFFECTIVE(opening_balance,base_rate,_new_int)Īs usual, we’re using LET to define some names to use in the calculations. _avg_balance, AVERAGE(opening_balance, _new_close), _int, IF(ISOMITTED(interest), 0, interest), Style.vAlign = GC.=LAMBDA(opening_balance, base_rate, , tFormatter(i - 1, 1, 'dd-mm-yyyy hh:mm:ss') Var spread = new GC.(document.getElementById( 'ss'), ) This use-case can be depicted using the code snippet below: Here, we set the iterativeCalculation property to True to enable iterative calculations and set the Maximum Iterations to 24 to find the interest after 24 months (2 years), that is, the total cash value in the end of 25th month. To calculate the total value after 2 years, we’re going to calculate the principal for each month, and add the interest to the previous month.

Let's assume that a customer has $50,000, and wants to invest this money in a cash deposit (CD) account to incur a monthly interest rate of 4.75%. You can use iterative calculation in the following use-cases:Ĭalculating Customer's Future Investment Value However, on disabling the iterative calculation, all the circular reference cell values will become zero, and the other cells referenced by it will also become zero. On enabling the iterative calculation, all the circular references will iteratively calculate until all the value change is smaller than the IterativeCalculationMaximumChange or the iterate count is IterativeCalculationMaximumIterations. Further, you can also specify the maximum amount of change between two calculation values by setting the iterativeCalculationMaximumChange property. You can also specify the number of times the formula should recalculate by setting the iterativeCalculationMaximumIterations property. You can enable iterative calculation in worksheets by using the iterativeCalculation property. In general, Iterative calculation is the repeated calculation of a worksheet until a definite numeric condition is met.It is used when the formula in a cell directly or indirectly refers to its own cell in spreadsheets to recalculate the formula until a specific result is found. SpreadJS provides support for iterative calculation, also referred to as circular reference, just like in Excel.
