BYROW Function
Apply a LAMBDA to each row of an array and return the results as a column. BYROW takes two arguments: the array, and a LAMBDA with one parameter that receives each row and returns a single value. A LAMBDA that returns an array returns #CALC!, and a second argument that is neither a LAMBDA nor a function name such as SUM returns #VALUE!.
Syntax
BYROW(array_or_initial, array_or_lambda, lambda)
Category: Logical. Minimum arguments: 2. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=BYROW({1,2;3,4},LAMBDA(row,SUM(row)))
The formula spills the column 3, 7: the sums of the rows {1,2} and {3,4}.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.