Expression Language Reference
    Preparing search index...
    • Adds the values specified by a given criteria.

      Category: Math and trigonometry

      Parameters

      • range: any

        The range of values that you want evaluated by criteria. Cells in each range must be numbers or names, arrays, or references that contain numbers. Blank and text values are ignored.

      • criteria: any

        The criteria in the form of a number, expression, a value reference, text, or a function that defines which values will be added.

      • sum_range: any

        Optional. The actual values to add, if you want to add values other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the values that are specified in the range argument (the same values to which the criteria is applied). Sum_range should be the same size and shape as range. If it isn't, performance may suffer, and the formula will sum a range of values that starts with the first value in sum_range but has the same dimensions as range.

      Returns number | Error