logo-mini

SUMIFS Function

The SUMIFS function in Excel is a powerful tool that allows users to sum cells based on multiple criteria. It is often used to analyze data in a spreadsheet, where users need to find the sum of values that meet certain criteria.

The SUMIFS function has the following syntax:

=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], …)

The sum_range argument is the range of cells that you want to sum. The criteria_range and criteria arguments are used to specify the criteria that cells in the sum_range must meet in order to be included in the sum. You can specify multiple criteria by adding additional criteria_range and criteria arguments.

For example, suppose you have a spreadsheet with a list of sales transactions, including the date, product, and sales amount. You want to find the total sales for a particular product on a specific date. You can use the SUMIFS function to sum the sales amount for the product and date that you specify.

Here’s how you would set up the SUMIFS function:

=SUMIFS(C2:C10, B2:B10, “Product A”, A2:A10, “4/1/2021”)

In this example, C2:C10 is the sum_range, which is the range of cells that contains the sales amount. B2:B10 is the criteria_range1, which is the range of cells that contains the product names. The criteria1 argument is “Product A”, which specifies that only cells in the sum_range that contain “Product A” in the corresponding cell in the criteria_range1 should be included in the sum.

A2:A10 is the criteria_range2, which is the range of cells that contains the dates. The criteria2 argument is “4/1/2021”, which specifies that only cells in the sum_range that contain “4/1/2021” in the corresponding cell in the criteria_range2 should be included in the sum.

The SUMIFS function will sum the sales amount for all transactions that meet both criteria: “Product A” and “4/1/2021”.

You can also use wildcards in your criteria. For example, if you want to sum all sales for products that contain the word “laptop” in the product name, you can use the following formula:

=SUMIFS(C2:C10, B2:B10, “laptop“)

The asterisks (*) act as wildcards, so the SUMIFS function will sum all cells in the sum_range that contain the word “laptop” in the corresponding cell in the criteria_range.

You can also use logical operators in your criteria. For example, suppose you want to sum all sales for products that have a price greater than $500. You can use the following formula:

=SUMIFS(C2:C10, C2:C10, “>500”)

The SUMIFS function will sum all cells in the sum_range that have a value greater than 500 in the corresponding cell in the criteria_range.

Download the sample files: SUMIFS FUNCTION – Click here