SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface IterativeCalculation

    Iterative calculation — Excel's "Enable iterative calculation" with its two limits.

    With it off a reference cycle evaluates to 0 and is reported as unresolved. With it on the cells of the cycle are re-evaluated in turn, each read seeing the latest value, until no cell moved by maxChange or maxIteration sweeps ran — and the results persist into the next recalculation, which re-runs every cycle the way it re-runs NOW(): =A1+1 in A1 is a counter that advances by maxIteration per recalc. A cycle that stops on the sweep cap is still reported (ICircularReference.isConverged); a converged one is not.

    Office Scripts calls the count maxIteration; the file format iterateCount / iterateDelta.

    interface IterativeCalculation {
        enabled: boolean;
        maxChange: number;
        maxIteration: number;
    }
    Index
    enabled: boolean

    false

    maxChange: number

    Sweeps stop early once every cell in the cycle moved by less than this. A non-numeric change (text, error) never counts as settled.

    0.001

    maxIteration: number

    The most sweeps one recalculation runs over a cycle.

    100