AGGREGATE
Run a selected calculation while optionally excluding hidden rows, errors or nested totals.
Syntax
=AGGREGATE(function_num, options, ref1, [ref2], …)Worked example
Put 8, =NA() and 11 in B2:B4. Function 9 adds the values and option 6 skips the error.
=AGGREGATE(9,6,B2:B4)Result 19
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceWhy Excel Pros LOVE the AGGREGATE function in Excel!
Practice AGGREGATE
Sum B2:B4 using function number 9 and option 6 to ignore the error.
| A | B | |
|---|---|---|
| 1 | Job | Units |
| 2 | A | 8 |
| 3 | B | =NA() |
| 4 | C | 11 |
Show example formula
=AGGREGATE(9,6,B2:B4) Lesson quiz
Answer three questions to see your level in this lesson.
