BYCOL function

Category: Logical
Introduced: Excel 2024

Summary

Applies a LAMBDA to each column and returns an array of the results

Syntax

BYCOL (array, lambda(column)) The BYCOL function syntax has the following arguments and parameters:
• array An array to be separated by column.
• lambda A LAMBDA that takes a column as a single parameter and calculates one result. The LAMBDA takes a single parameter:
• column A column from array.

Example

=BYCOL(A1:C2, LAMBDA(array, MAX(array)))
=BYCOL(A1:C2,LAMBDA(array,SUMSQ(array)))

Microsoft Support Page

https://support.microsoft.com/en-us/office/bycol-function-58463999-7de5-49ce-8f38-b7f7a2192bfb

Back to Functions