Skip to content

GROUPBY

Dynamic arrays

Aggregate a table by one or more grouping columns.

Syntax

GROUPBY(row_fields, values, function, …)

Full notes for GROUPBY are still being written. Use the AI explainer below for the arguments, a worked example and common mistakes.

More Dynamic arrays functions

← All 510 functions

Syntax follows Microsoft’s documentation. Examples are written to be pasted into a cell and checked. Argument separators may be ; in your locale. The AI explainer runs on a free community model — verify anything important.