describe
Returns a list or aggregate in the database. The AGGREGATE function can apply different aggregate functions to a list or database, with the option to ignore hidden rows and erroneous values.
AGGREGATE function has two different formats -
- Reference format
- array format
Reference format
grammar
AGGREGATE (function_num, options, ref1, [ref2] …)
debate
Argument | describe | Required/Optional |
---|---|---|
Function_num | A number from 1 to 19, specifying the function to be used. Look at the Function_num table given below to know the Functions. | Required |
options | A number between 0 and 7 that determines which values to ignore in function calculations. Check out the options table given below to know these values. | Required |
ref1 | The first numeric argument for functions that take multiple numeric arguments for which you want the aggregate value. | Required |
ref2… | Numeric arguments 2 to 253 for which you want the aggregate value. | Optional |
array format
grammar
AGGREGATE (function_num, options, array, [k])
debate
Argument | describe | Required/Optional |
---|---|---|
Function_num | A number from 1 to 19, specifying the function to be used. Look at the Function_num表 given below to know the Functions. |
Required |
options | A number between 0 and 7 that determines which values to ignore in function calculations. Check out the options table given below to know these values. |
Required |
array | An array, an array formula, or a reference to a range of cells for which you want the aggregate value. | Required |
k | An integer indicating the position in the array of the Function that requires this additional parameter. Required for the "Large", "Small", "Percentiles" and "Quartiles" functions Check out the parameter k table given below. |
Optional |
Function_num table
Function_num | Function |
---|---|
1 | average |
2 | COUNT |
3 | COUNTA |
4 | MAX |
5 | MIN |
6 | Products |
7 | STDEV.S |
8 | STDEV.P |
9 | SUM |
10 | WHOSE |
11 | VAR.P |
12 | MEDIAN |
13 | MODE.SNGL |
14 | big |
15 | Small |
16 | PERCENTILE.INC |
17 | QUARTILE.INC |
18 | PERCENTILE.EXC |
19 | QUARTILE.EXC |
Parameter k table
Function | The meaning of k |
---|---|
big | Return the kthmaximum value |
Small | Return the kthminimum value |
percentile percentile |
Return the kthpercentile |
quartile companies quartile |
Return the kthquartile |
Notes
-
When entering the AGGREGATE function into a cell on your worksheet, just type the function_num argument and you will see a list of all functions that can be used as arguments.
-
The AGGREGATE function is designed to work with data columns or vertical ranges. It does not work with data rows or horizontal ranges. like. When using options1 (such as AGGREGATE(1,1,ref1)) to subtract the horizontal range, hiding the column will not affect the aggregate sum value, but hiding the rows in the vertical range will affect the aggregation.
-
If the function_num parameter is any number less than 1 or greater than 19, AGGREGATE returns a #VALUE! error.
-
If the options parameter is any number less than 0 or greater than 7, AGGREGATE returns a #VALUE! error.
-
AGGREGATE returns # if the k argument is required but not provided, i.e. when the function_num argument is between 14 and 19 (representing a "big", "small", "percentile" or "quartile" function) Value!Error.
-
If any specified argument is non-numeric, AGGREGATE returns a #VALUE! error.
-
If one or more references are 3-D references, AGGREGATE returns a #VALUE! error value.
applicability
Excel 2010,Excel 2013,Excel 2016