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
| argument | required |
|---|---|
| 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