BYCOL in Apple Numbers
Short answer: BYCOL runs a LAMBDA on every column of a range and returns one result per column. Syntax:
BYCOL(array, LAMBDA(column, calculation))Explanation
BYCOL runs a LAMBDA on every column of a range and returns one result per column.
Syntax
BYCOL(array, LAMBDA(column, calculation))Example
Find the highest number in each column of B2:C5 with BYCOL and add those maxima up.
| A | B | C | |
|---|---|---|---|
| 1 | Product | Price | Qty |
| 2 | Apple | 4 | 10 |
| 3 | Pear | 6 | 5 |
| 4 | Kiwi | 12 | 2 |
| 5 | Grape | 8 | 3 |
Formula: =SUM(BYCOL(B2:C5,LAMBDA(c,MAX(c))))
Result: 22
Frequently asked questions
What does BYCOL do in Apple Numbers?
BYCOL runs a LAMBDA on every column of a range and returns one result per column.
What is the syntax of BYCOL?
The syntax is BYCOL(array, LAMBDA(column, calculation)).
More in this category
Practise it yourself
Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.
Start practising