logo
excelfunctions.org
bookmarks

BYROW

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

LogicalDynamic Arrays & LAMBDALogic & ConditionsModern Excel Functions

What it does

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

Syntax

BYROW(array, lambda)

Arguments

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

Examples

Sum each row

Calculate the sum of each row.

FORMULA
=BYROW(A1:B3, LAMBDA(row, SUM(row)))
RESULT
[30; 70; 110]
SAMPLE DATA
AB
1Val1Val2
21020
33040
45060