Logical
Excel 365
◉ 43 views
Dynamic Array
=BYCOL()
Applies a LAMBDA function to each column and returns an array of the results
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for Mac
=BYCOL (array, lambda(column))
Hover argument names in the table for details.
Output typeArray
Popularity30 / 100
VolatileNo
Dynamic ArrayYes
Download sample .xlsx ▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =BYCOL() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
array |
Array | Optional | An array to be separated by column. |
lambda |
Any type | Optional | A LAMBDA that takes a column as a single parameter and calculates one result. The LAMBDA takes a single parameter: |
column |
Range | Optional | A column from array. |
▣ Examples
Example 1
=BYCOL(B2:E10, LAMBDA(c, SUM(c)))
Example 2
=BYCOL(B2:E10, LAMBDA(c, AVERAGE(c)))
⚠ Common Errors
#VALUE!
Providing an invalid LAMBDA function or an incorrect number of parameters returns a #VALUE! error called "Incorrect Parameters".
Fix: ساختار LAMBDA را بررسی کنید که دقیقاً یک پارامتر (ستون) بگیرد.
#CALC!
Not providing a LAMBDA function or anything but a single value returned from the LAMBDA function returns a #CALC error.
Fix: Use a calculation that gives a single result, such as SUM or MAX
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!