Home › Functions › Math & Trig › AGGREGATE
fx
AGGREGATE
Math & Trig  ·  Since: Excel 2003  ·  9 languages

Returns an aggregate in a list or database. The AGGREGATE function can apply different aggregate functions to a list or database with the option to ignore hidden rows and error values.

🌐 Translations

English AGGREGATE
Deutsch AGGREGAT
Français AGREGAT
Español AGREGAR
Italiano AGGREGA
Português AGREGAR
Nederlands AGGREGAAT
Polski AGREGUJ
Русский АГРЕГАТ

📦 Availability

Excel versionAvailable
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ Syntax

AGGREGATE(function_num,options,ref1,[ref2],…)

Arguments

function_num (required) — A number 1 to 19 that specifies which function to use.
options (required) — A numerical value that determines which values to ignore in the evaluation range for the function. Note The function will not ignore hidden rows, nested subtotals or nested aggregates if the array argument includes a calculation, for example: =AGGREGATE(14,3,A1:A100*(A1:A100>0),1)
ref1 (required) — The first numeric argument for functions that take multiple numeric arguments for which you want the aggregate value.
ref2 (optional) — Numeric arguments 2 to 253 for which you want the aggregate value. For functions that take an array, ref1 is an array, an array formula, or a reference to a range of cells for which you want the aggregate value. Ref2 is a second argument that is required for certain functions. The following functions require a ref2 argument:

▶ Examples

=AGGREGATE(4,6,A1:A11)
=AGGREGATE(15,6,A1:A11)
=AGGREGATE(14,6,A1:A11,3)

Related functions

Copied to clipboard