set_array_formula method

set_array_formula

Sets an array formula(legacy array formula entered via CTRL+SHIFT+ENTER in ms excel) to a range of cells.

def set_array_formula(self, array_formula, row_number, column_number):
    ...
ParameterTypeDescription
array_formulastrArray formula.
row_numberintNumber of rows to populate result of the array formula.
column_numberintNumber of columns to populate result of the array formula.

set_array_formula

Sets an array formula to a range of cells.

def set_array_formula(self, array_formula, row_number, column_number, options):
    ...
ParameterTypeDescription
array_formulastrArray formula.
row_numberintNumber of rows to populate result of the array formula.
column_numberintNumber of columns to populate result of the array formula.
optionsFormulaParseOptionsOptions for parsing the formula.

set_array_formula

Sets an array formula to a range of cells.

def set_array_formula(self, array_formula, row_number, column_number, is_r1c1, is_local):
    ...
ParameterTypeDescription
array_formulastrArray formula.
row_numberintNumber of rows to populate result of the array formula.
column_numberintNumber of columns to populate result of the array formula.
is_r1c1boolwhether the formula is R1C1 formula
is_localboolwhether the formula is locale formatted

Remarks

NOTE: This class is now obsolete. Instead, please use Cell.SetArrayFormula(string,int,int,FormulaParseOptions). This property will be removed 12 months later since December 2019. Aspose apologizes for any inconvenience you may have experienced.

set_array_formula

Sets an array formula to a range of cells.

def set_array_formula(self, array_formula, row_number, column_number, options, values):
    ...
ParameterTypeDescription
array_formulastrArray formula.
row_numberintNumber of rows to populate result of the array formula.
column_numberintNumber of columns to populate result of the array formula.
optionsFormulaParseOptionsOptions for parsing the formula.
valueslistvalues for those cells with given array formula

See Also