Expression Language Reference
    Preparing search index...
    • Returns an aggregate in a list or database.

      Category: Math and trigonometry

      Parameters

      • function_num: any

        A number 1 to 19 that specifies which function to use.

      • options: any

        A numerical value that determines which values to ignore in the evaluation range for the function. Note: The function will not ignore hidden rows, nested subtotals or nested aggregates if the array argument includes a calculation, for example: =AGGREGATE(14,3,A1:A100*(A1:A100>0),1)

      • ref1: any

        The first numeric argument for functions that take multiple numeric arguments for which you want the aggregate value.

      • ref2: any

        Optional. Numeric arguments 2 to 253 for which you want the aggregate value. For functions that take an array, ref1 is an array, an array formula, or a reference to a range of values for which you want the aggregate value. Ref2 is a second argument that is required for certain functions.

      Returns any