BYROW can accept an abbreviated “eta lamba” syntax for simple operations like SUM, as explained below.

The short form is for convenience.

It is concise and easy to read.

BYROW function example - sum rows with long-form syntax

However, the behavior cannot be customized.

The long-form syntax uses the LAMBDA function and can be customized as desired.

See below for an example of BYROW formulas that use both options.

BYROW function example - sum rows with long-form syntax

However, you are free to use whatever name you like.

It will not work in all scenarios because the logic can’t be modified.

For example, the formula in the next section below can’t use the eta lambda syntax.

BYROW function example - sum rows with long-form syntax

The formula is a bit more complex because we need more logic.

This is a situation where we can’t use the short-form syntax.

SeeBoolean operations in array formulasfor more information about the logic inside of SUM.

BYROW function example - sum rows with long-form syntax

You could use COUNTIFS instead of SUM to solve this problem.

However, COUNTIFSrequires a range, which means you could’t give BYROW anarrayif you use COUNTIFS in the calculation.

The trick is to wrap the functions in theHSTACKorVSTACKfunctions (depending on the layout needed).

BYROW function example - sum rows with long-form syntax

Because of the currentarray of arrayslimitation in Excel, this formula will not spill down across all rows.

It will initially only calculate results for the first row.

You will then need to copy the formula manually to all rows in a second step.

BYROW function example - sum rows with short-form syntax

LET Function

The Excel LET function lets you define named variables in a formula.

BYCOL can apply stock functions like SUM, COUNT, and AVERAGE or a custom LAMBDA function.

All results are returned at the same time in a single array….

BYROW function example - count values over 90

BYROW function example - multiple calculations at the same time

Excel formula: Count rows that contain specific values

Excel formula: Sum if multiple columns

Excel formula: Sum by year

Excel formula: Count birthdays by year

Excel formula: Sum by quarter

Excel formula: Sum by week

Excel formula: Minimum value if

Excel formula: Sequence of leap years

Excel formula: Row is blank

Excel formula: Sum by week number

Excel formula: Get row totals

Excel formula: Sum numbers with text

Excel formula: Maximum value if

Excel formula: Remove blank rows

Excel LAMBDA function

Excel LET function

Excel MAP function

Excel SCAN function

Excel REDUCE function

Excel MAKEARRAY function

Excel BYCOL function

BYROW function example - sum rows with long-form syntax

BYROW function example - sum rows with short-form syntax

BYROW function example - count values over 90

BYROW function example - multiple calculations at the same time