==BYROW(array, [lambda])
=BYROW(data,LAMBDA(row,SUM(row)))
This example returns an array with 11 sums, and allows you to quickly calculate the sum of each row in a set of data.
=BYROW(data,LAMBDA(row,MAX(row)))
This example returns the maximum value in each row.
=BYROW(data,LAMBDA(row,MIN(row)))
This example returns the minimum value in each row.
=BYROW(data,LAMBDA(row,AVERAGE(row)))
This example returns an average for each row.
The BYROW function applies a lambda to each row in an array and returns an array of the results. It requires two arguments, an array and a lambda, and will throw errors if either of these are invalid or incorrect.