SUMIFS

The SUMIFS function in Excel is used to sum values in a range that meet multiple criteria. It allows you to specify one or more criteria ranges and corresponding criteria to determine the cells to be added.

Syntax

=SUMIFS(Sum_range, Criteria_range1, Criteria1, [Criteria_range2, Criteria2,...])

Arguments

Argument Required Description
Sum_range Yes The range of cells that you want to sum based on the provided criteria.
Criteria_range1 Yes The range of cells to be evaluated by the first criterion.
Criteria1 Yes The criterion or condition to be met in Criteria_range1.
Criteria_range2 No Additional range of cells for evaluating a second criterion.
Criteria2 No The criterion or condition to be met in Criteria_range2, and so on for additional ranges and criteria.
... Yes Additional pairs of ranges and criteria can be added as needed.

About

When you need to total values in Excel based on multiple conditions or criteria, the SUMIFS function offers a powerful solution. By allowing you to specify both the range to sum and criteria to determine which cells to add, SUMIFS enables you to perform more advanced data analysis and calculations with ease. This function is particularly useful when dealing with datasets that require complex filtering and summing operations based on various conditions.

Examples

Suppose you have a dataset containing sales figures for different products in various regions. You want to calculate the total sales amount for Product A in the East region. The SUMIFS formula would be: =SUMIFS(, , "Product A", , "East")

Suppose you have a list of expenses and corresponding categories. You want to sum the expenses for the 'Utilities' category in the month of January. The SUMIFS formula would be: =SUMIFS(, , "Utilities", , "January")

Tips & notes

Ensure that the criteria are entered correctly and match the data type of the cells being evaluated. Also, note that SUMIFS requires all criteria to be met in order for a cell to be included in the sum. If any of the criteria are not met for a particular cell, that cell will not be included in the calculation.

Common questions

Can I use text or numerical values as criteria in the SUMIFS function?

Yes, you can use both text and numerical values as criteria in the SUMIFS function. Excel will evaluate the criteria based on the data type of the cells being compared.

Is there a limit to the number of criteria that can be specified in the SUMIFS function?

No, you can add as many pairs of ranges and criteria as needed in the SUMIFS function to filter and sum data based on multiple conditions.

What happens if a cell does not meet all the specified criteria in the SUMIFS function?

If a cell does not meet all the specified criteria in the SUMIFS function, it will not be included in the sum. All criteria must be met simultaneously for a cell to be included in the calculation.

Practice this function

Sum all sales from the last 30 days.

Calculate total sales for a specific region AND specific product category.

Calculate % change comparing this month's sales to same month last year.