AGGREGATE

aggregates a range with a chosen function, optionally ignoring error values · from excel · excel: differs in detail · no sheets equivalent

signature

AGGREGATE(function_num, options, range…)

returns: number

argumentrequired
function_num required
options required
range… required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

A
1 10
2 20
3 30
4 40
5 50
fx =AGGREGATE(9, 6, A1:A5) 150

related

  • ABS returns absolute value of a number
  • ACOS returns arccosine of a number
  • ACOSH returns inverse hyperbolic cosine
  • ACOT returns the arccotangent of a number
  • ACOTH returns the inverse hyperbolic cotangent
  • ADD adds two numbers — sheets exposes the + operator as a function