BYCOL function - Zoho Sheet - Help Guide

BYCOL

Applies LAMBDA to each column in the given array and returns an array of the results.
 
Syntax
 
BYCOL(array; lambda(column; calculation))
array: The cell range containing the values given as input. Eg., A2:C8
lambda: The function to be applied to each column in the given array.
column: A variable indicating each column in the given array.
calculation: The calculation to be applied to each column in the given array.
 
Examples
 
Formula
=BYCOL(A2:C8;LAMBDA(array;SUM(array)))
=BYCOL(A2:A8;LAMBDA(column;MAX(column)))

Get a hands-on experience of the function in the embedded range below.



Possible Errors
 
Errors
Meaning
#NAME!
  • The function name is incorrect or invalid.
  • The given defined name (if any) is invalid.
  • There is a typo in the defined name used in the function.
  • Double quotes are missing for text values in the function.
  • Colon missing in a cell range reference.
#VALUE!
  • The given argument's data type is incorrect or invalid.
#REF!
  • The given cell reference is incorrect or invalid. This error may occur when a cell/range has been deleted, moved, or pasted over.
#NUM!
  • The given array is too large.
 
Similar Functions
  • BYROW
  • ISOMITTED
  • LAMBDA
  • MAKEARRAY
  • MAP
  • REDUCE
  • SCAN