BYROW
Use a LAMBDA to calculate a separate result for each row.
Syntax
=BYROW(array, lambda)Worked example
Total each of two rows independently.
=BYROW({1,2;3,4},LAMBDA(items,SUM(items)))Result 3; 7 (two rows)
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceExcel BYROW and BYCOL Functions: Practical Examples
Practice BYROW
Return a separate total for each row of A2:B3.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=BYROW(A2:B3,LAMBDA(items,SUM(items))) Lesson quiz
Answer three questions to see your level in this lesson.
