BYCOL Function in Excel: Apply a Calculation to Each Column

⏱ 1 min readUpdated 28 September 2026

LogicalLevel: ExpertAvailable in: Excel 365 / 2021+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Related functions

BYCOL is BYROW turned sideways: one result per column.

Syntax

=BYCOL(array, LAMBDA(col, calculation))
Argument What it means
LAMBDA(col, …) What to do with each column.

Examples

Example 1

=BYCOL(B2:M20, LAMBDA(c, MAX(c)))

Best product sale in each month.

BYROW · LAMBDA

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong