LibreOfficeDev 27.2 Help
8khFD‖Applies a custom LAMBDA function to each element in a given array and accumulates results to a single value.
vWD5Y‖=REDUCE([Initial value]; Array; Formula)
tqhGj‖Initial value: Optional initial value of the accumulator.
pVjWV‖Array: The array to be reduced.
oMv4v‖Formula: a LAMBDA function that will be called on each cell of the array.
2LVhM‖The LAMBDA function requires two variables: an accumulator (e.g., a) and the array element value (v), and must be structured as follows:
HjCJ6‖where f(v) is a function of the individual cells of the array.
XD8Tp‖The formula =REDUCE(100000;A2:A13;LAMBDA(a;v; a + v*v)) returns 120715, which is 100000 added to the sum of the squares of the Math column.
COM.MICROSOFT.REDUCE