ASUMIFS function
ASUMIFS sums the cells in the chosen column(s) that match the extended conditions or criteria.
ASUMIFS Syntax
ASUMIFS (nSortedCrits, RangeArray, ReturnCol, CriteriaColumn1, Criteria1,
CriteriaColumn2, Criteria2, …, ["#OR#", nSortedCrits,] CriteriaColumnx, Criteriax, …)
ASUMIFS() is equivalent to SUM(FILTER.IFS())
See FILTER.IFS for definitions of the parameters for ASUMIFS.
The RangeArray may optionally contain column labels in the first row, in which case at least one of the criteria columns or return column should be identified using a label. If you only use column numbers then the RangeArray should NOT include labels,
If nSortedCrits is NOT equal to zero the RangeArray must be sorted on the criteria columns in the DataRange.
If ReturnCol is zero then a row of sums will be spilled for each column in RangeArray. This is an efficient method of summing multiple columns for a common set of criteria.