logo
excelfunctions.org
bookmarks

BYCOL

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

LogicalDynamic Arrays & LAMBDALogic & ConditionsModern Excel Functions

What it does

Applies a custom LAMBDA calculation to each column in an array and returns the results as a single row.

Syntax

BYCOL(array, lambda)

Arguments

  • array(array) β€” The array to process.
  • lambda(function) β€” A LAMBDA function that takes a column as input and returns a single result.

Examples

Max value per column

Find the maximum value in each column.

FORMULA
=BYCOL(A1:C3, LAMBDA(col, MAX(col)))
RESULT
[10, 20, 30]
SAMPLE DATA
ABC
1ABC
21155
310230
452010