Using the New AGGREGATE Function One of the new worksheet functions introduced in Excel 2010 is AGGREGATE. This is a multipurpose function that you can use to sum values, calculate an average, count entries, and more. What makes this function most useful is that it can (optionally) ignore data in hidden rows and error values. Remember that AGGREGATE works only with Excel 2010. If a workbook that uses this function is opened in a previous version of Excel, the formula will display an error.
AGGREGATE arguments This function takes three arguments:
Function_num - A number that describes the summary function Option - A number that describes which options to use Ref - A range reference for the values to be aggregated
The first argument for the AGGREGATE function is a value between 1 and 19 that determines the calculation type. The calculation type, in essence, is one of Excel's other functions. The following table contains a list of these values, with the function it mimics. Function_num
Summary Function
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
AVERAGE COUNT COUNTA MAX MIN PRODUCT STDEV.S STDEV.P SUM VAR.S VAR.P MEDIAN MODE.SNGL LARGE SMALL PERCENTILE.INC QUARTILE.INC PERCENTILE.EXC QUARTILE.EXC
978-0-470-47536-2