BYCOL

Groups an array by columns by application of a LAMBDA function to each column. Learn more

Video field
Array

The syntax of the BYCOL function is as follows: =BYCOL(arrayorrange, LAMBDA)

Where: arrayorrange: the range of cells or array to apply the lambda function to. LAMBDA: the lambda function to apply to the specified column.

For example, the following formula calculates the sum of all values in column C of a range A1:E10 using a lambda function: =BYCOL(A1:E10, LAMBDA(x, SUM(x)))

Here, the LAMBDA function takes an input parameter x, which represents a column of the specified range. The expression SUM(x) calculates the sum of all values in the column, and returns the result.

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!