SUMIFS

Returns the sum of a range depending on multiple criteria. Learn more

Video field
Math

In Google Sheets, the SUMIFS function is used to calculate the sum of a range of cells that meet multiple criteria. The function syntax is as follows:

SUMIFS(sumrange, criteriarange1, criterion1, [criteria_range2, criterion2, …])

"sumrange" refers to the range of cells that you want to sum if they meet all the specified criteria. "criteriarange1" is the range of cells that you want to evaluate for the first criterion. "criterion1" specifies the condition or criteria that the cells in "criteriarange1" must meet. [Optional] You can add more pairs of "criteriarange" and "criterion" parameters to evaluate additional criteria. Here's an example to demonstrate the usage of the SUMIFS function:

Suppose you have a dataset with three columns: A (contains numbers), B (contains categories), and C (contains regions). You want to calculate the sum of numbers in column A that meet certain category and region criteria.

In cell D1, you can use the formula:

=SUMIFS(A:A, B:B, "Category A", C:C, "Region X")

This formula will sum all the values in column A where the corresponding cells in column B match "Category A" and the cells in column C match "Region X".

You can include more pairs of "criteria_range" and "criterion" parameters to add additional criteria. The SUMIFS function allows you to perform calculations based on multiple conditions within a dataset.

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!

Client Portal | Internal Tools | Web App Builder | Free Website Builder Made with Softr