As a result, the task of defining criteria in SUMIFS can be a bit tricky.

Each condition is provided with a separaterangeandcriteria.

The generic syntax for SUMIFS looks like this:

Note thesum_rangealways comes first.

SUMIFS function basic example

This is the range of cells to sum.

Each condition is provided as a pair of range/criteria arguments.

The first formula above defines one condition and the second defines two.

SUMIFS function basic example

Additional conditions are defined by additionalrange/criteriapairs.

The tricky part is the syntax needed to apply the criteria.

This is because SUMIFS is in a group ofeight functionsthat split logical criteria into two parts:rangeandcriteria.

SUMIFS function basic example

Because of this design, operators must be enclosed in double quotes ("").

This makes it easy to change criteria later without editing the original formula.

Notice the greater than operator (>), which is text, must be enclosed in quotes.

SUMIFS function basic example

to match a question mark (?)

that occurs at the end of “Montana?”

The tilde (~) is an escape character that allows you to find aliteralwildcard.

SUMIFS function basic example

To match a question mark (?

), use “~?

For more details,see this example.

SUMIFS function example of criteria in another cell

Summary Table

you’re free to use SUMIFS to create a simple summary table.

In the worksheet below, we have a list of unique colors in F5:F9.

The goal is to subtotal the amounts in column D by color.

SUMIFS function not equal to example

For more advanced users, this is an important limitation in how SUMIFS works and what it can do.

One of the more tricky limitations of SUMIFS is that it won’t allow anarrayfor arangeargument.

This formula works fine, but it’s a little complicated.

SUMIFS function with blank and not blank cells

This would be cool if it worked.

However, Excel won’t even let you enter this formula.

However, SUMIFS is not programmed to handle arrays, so it won’t work.

SUMIFS function date example

How can we work around this problem?

If the external workbook is not open, you will see a #VALUE!

As a workaround, you could switch to the SUMPRODUCT function, which does not have this limitation.

SUMIFS function wildcard example

The most common way to work around most of these limitations is to use theSUMPRODUCT function.

Criteria can be applied to dates, numbers, and text.

for partial matching….

SUMPRODUCT Function

The Excel SUMPRODUCT function multipliesrangesorarraystogether and returns the sum of products.

SUMIFS function summary table example

SUMIFS function array problem example

SUMIFS function array problem example 2

Excel formula: SUMIFS with multiple criteria and OR logic

Excel formula: Forecast vs actual variance

Excel formula: Sum if cells contain an asterisk

Excel formula: Sum if multiple columns

Excel formula: Basic inventory formula example

Excel formula: Sum if cells contain specific text

Excel formula: Sum if cells are not equal to

Excel formula: Sum if multiple criteria

Excel formula: Sum time over 30 minutes

Excel formula: Sum if less than

Excel formula: Sum if between

Excel formula: Sum if begins with

Excel formula: SUMIFS multiple criteria lookup in table

Excel formula: Sum if not blank

Excel formula: Sum if cells contain either x or y

Article image

Article image

Article image

Article image

Excel SUMIF function

Excel SUMPRODUCT function

SUMIFS function basic example

SUMIFS function example of criteria in another cell

SUMIFS function not equal to example

SUMIFS function with blank and not blank cells

SUMIFS function date example

SUMIFS function wildcard example

SUMIFS function summary table example

SUMIFS function array problem example

SUMIFS function array problem example 2