Groups an array by columns by application of a LAMBDA function to each column. Learn more
The syntax of the BYCOL function is as follows: =BYCOL(arrayorrange, LAMBDA)
Where: arrayorrange: the range of cells or array to apply the lambda function to. LAMBDA: the lambda function to apply to the specified column.
For example, the following formula calculates the sum of all values in column C of a range A1:E10 using a lambda function: =BYCOL(A1:E10, LAMBDA(x, SUM(x)))
Here, the LAMBDA function takes an input parameter x, which represents a column of the specified range. The expression SUM(x) calculates the sum of all values in the column, and returns the result.