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 referenceHow to Use the BYCOL Function in Excel
Practice BYCOL
Return a separate total for each column of A2:B3.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=BYCOL(A2:B3,LAMBDA(items,SUM(items))) Lesson quiz
Answer three questions to see your level in this lesson.
