LogicalExcel 2024

BYCOL

Use a LAMBDA to calculate a separate result for each column.

Syntax

=BYCOL(array, lambda)

Worked example

Total each of two columns independently.

=BYCOL({1,2;3,4},LAMBDA(items,SUM(items)))

Result 4, 6

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor