OptionalalwaysIf specified, the result will always be returned as an IRange,
even when the logical result is a single scalar value.
OptionalarrayWith block: evaluate each cell of the block as an array-entered formula whose extent is that one cell.
This is how a conditional-format or data-validation formula is evaluated. Nothing
implicitly intersects — a range reads as the whole array wherever it appears — and each
cell keeps the top-left value of its own result, the way an array-entered formula fits its
result to its extent. So $J$1:$J$9="x" answers J1="x" in every cell, while
SUM(IF($J$1:$J$9="x",1,0))>1 still sums the whole array.
By default a cell whose result is an array spills, as a formula filled across the block would.
OptionalblockEvaluate the formula once per cell of the given coordinates.
block (the coords passed to
ICalculation.createFormula); relative and structured references
are adjusted per-cell, exactly as a formula filled across the shape.IRange of the block's shape, read with local coordinates
(getValueAt(0, 0) is the block's top-left). A 1×1 block still unboxes to a
scalar unless alwaysReturnRange is set.OptionalevalIf specified, evaluates only the token span associated with this index.
Use ICalculation.FormulaToken.evalIndex to discover valid indices.
OptionalvaluesTemporary range of values to use for this evaluation.
Options for evaluating a formula.