Excel: Aggregate column (avg, count, max, min, sum)

Apply an aggregate function (SUM, AVERAGE, COUNT, MAX, MIN, etc.) to one or more columns.

Help Centre › Building Processes

Apply an aggregate function (SUM, AVERAGE, COUNT, MAX, MIN, etc.) to one or more columns.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Aggregate column (avg, count, max, min, sum) under Excel › Formulas & Functions, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathNoEnter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened.
SheetYesName of the sheet in the Excel file. Supports wildcards: * matches any characters.
KeysYesComma-separated column names or letters to aggregate.

See all Excel steps.

Errors

ErrorDescription
Sheet not foundThe specified sheet does not exist.
Column not foundThe specified column name does not exist.

Tips

  • Results are written to the first empty row below the data in each column.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.