ExcelCSE.com

Menu
  • Excel 101
  • Excel Functions
  • Excel Formula
  • Contact Us
How to Use Excel > Excel Functions > Excel SUMIFS Function

Excel SUMIFS Function

How to Use the Excel SUMIFS Function
Table of contents :
  • What is the Excel SUMIFS Function?
  • SUMIFS Syntax
  • How to Use SUMIFS Function in Excel
    • Question #1, SUMIFS Multiple Criteria in Same Column (AND Criteria)
    • Question #2, SUMIFS Multiple Criteria in Same Column (OR Criteria)
    • Question #3, SUMIFS Multiple Criteria in Different Column (AND Criteria)
    • Question #4, SUMIFS Multiple Criteria in Different Column (OR Criteria)
  • SUMIFS Limitations
  • SUMIFS Example

Excel SUMIFS Function

What is the Excel SUMIFS Function?

The SUMIFS function is a SUMIF function with more than one criteria. This function available for Excel 2007 or newer version, an improvement of the SUMIF function that handles only one criterion.

SUMIFS Syntax

SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)

sum_range, the range to be added, if all criteria met.

criteria_range1, the first range to be evaluated by criteria1

criteria1, the first criteria used to evaluate the data in criteria_range1.

criteria_range2, criteria2, optional, handles up to 127 pairs criteria_range and criteria.

How to Use SUMIFS Function in Excel

For example, there are data such as the image below.

SUMIFS OR

Question #1, SUMIFS Multiple Criteria in Same Column (AND Criteria)

How much is the total sales for July 2, 2018, until July 4, 2018?

What is the number of criteria in the question above, one or two? The answer is the two criteria, sale on July 2, 2018, or after that AND sales of July 4, 2018, or earlier.

Which function is your choice? Many functions can be used, but the easiest one is to use the SUMIFS function.

Here is a formula to answer question #1

=SUMIFS(E2:E14,C2:C14,">=7/2/2018",C2:C14,"<=7/4/2018")

There is no BETWEEN operator in excel; the solution is to create two criteria and point to the same criteria_range, i.e., range C2:C14. The first criteria use “>=” operator and second use “<=” operator, numbers in the sum_range argument will be summed if both criteria return a TRUE value.

The result is as below.

Question #2, SUMIFS Multiple Criteria in Same Column (OR Criteria)

How much are the total sales before July 2, 2018, and after July 4, 2018?

Similar to question #1, asking for total sales on a specific date, but no BETWEEN. The number of criteria of the above question is 2; both point to the same criteria_range, the difference, the number will be added if one of the criteria is met. Can SUMIFS function answer this question?

Here is a formula to answer questions #2

=SUMIFS(E2:E14,C2:C14,"<7/2/2018",C2:C14,">7/4/2018")

The results are as shown below.

SUMIFS Greater Than

Why is the result zero? Shouldn’t the result is 52,002? Why SUMIFS function not working properly?

The SUMIFS function, could not handle questions with OR criteria, either in the same column or different columns. The number in sum_range argument will be added if all criteria return a TRUE value, if only one criterion is met then the number will not be added up.

The following questions could not be solved too by the SUMIFS function.

What are the total sales for the “West” and “East” areas?

SUMIFS Excel Function

The result is zero, why? Because SUMIFS uses AND for all its criteria. It’s mean, data in a cell in column A should be “West” and “East” simultaneously, and it is impossible.

Question #3, SUMIFS Multiple Criteria in Different Column (AND Criteria)

How much are the total sales of the iPhone X in West area?

There are two criteria, the first criteria “X iPhone”, point to criteria_range B2: B14. The second criteria “West” point to criteria_range A2: A14.

Here is a formula to answer questions #3.

=SUMIFS(E2:E14,A2:A14,"West",B2:B14,"iphone x")

There are five sales data for the area “West”, two sales data for iPhone X, but only one sales data for iPhone X in the West Area.

The result is as below.

SUMIFS works perfectly if all the criteria should be TRUE (AND Criteria)

Question #4, SUMIFS Multiple Criteria in Different Column (OR Criteria)

How much is the total sales for “East” area OR “iPhone X”

Maybe this question never asked in the sales data analysis, but this only to show that the SUMIFS function cannot answer questions with OR criteria.

Here is a formula to answer questions #4.

=SUMIFS(E2:E14,A2:A14,"East",B2:B14,"iphone 6")

What is SUMIFS in Excel

The result should be 48.201, but the picture above shows different results. SUMIFS cannot answer the questions with OR criteria, either in the same or different columns.

SUMIFS Limitations

SUMIFS is an improvement of the SUMIF function that handles only one criterion, but SUMIFS has limitations, i.e., cannot answer the questions with OR criteria, either in the same or different columns.

Please read the article below for SUMIFS limitations and solutions.

  • SUMIFS Limitation and Solutions

SUMIFS Example

Another article using SUMIF Function

Another article using or explain about SUMIFS Function
  • VLOOKUP Multiple Criteria – Solution for Numeric or Non-Numeric Result
  • SUMIF Multiple Criteria
  • Difference between SUMIF and SUMIFS

Another Math Function

Another article about Math Function
  • Excel SUBTOTAL Function
  • Excel AGGREGATE Function
  • Excel PRODUCT Function
  • Excel CONVERT Function
  • Excel SUMIFS Function
  • Excel SUMIF Function
  • Excel SUM Function
  • Excel SUMPRODUCT Function
  • Excel QUOTIENT Function
  • Excel MOD Function

Another Logical Function

Another article about Logical Function
  • Excel IFNA Function
  • Excel AVERAGEIFS Function
  • Excel AVERAGEIF Function
  • Excel IFERROR Function
  • Excel SUMIFS Function
  • Excel SUMIF Function
  • Excel IFS Function
  • Excel IF Statement
  • Excel AND Function
  • Excel OR Function
Share
Tweet
Google+
Email
Prev Article
Next Article

Related Articles

Excel MOD Function
What is the MOD function? What does mod stand for …

Excel MOD Function

Multiple IF Statements in Excel
What is Multiple IF Statements? Multiple IF statements are also …

Multiple IF Statements in Excel

Excel MID Function
What is the Excel MID Function? The excel MID function …

Excel MID Function

Excel INDEX Function
What is the Excel INDEX Function? The Excel INDEX function …

Excel INDEX Function

Excel VALUE Function
What is the Excel VALUE Function? The Excel VALUE function …

Excel VALUE Function

Tags:How to Use SUMIFS in Excel Logical Function Math Function SUMIFS SUMIFS Array Formula SUMIFS Excel Function SUMIFS For Text SUMIFS Greater Than SUMIFS Multiple Criteria in Same Column SUMIFS Not Equal to SUMIFS OR SUMIFS Value Error SUMIFS With Date Range SUMIFS With Multiple Criteria SUMIFS With Multiple Criteria in Same Column What is SUMIFS in Excel

Categories

  • Excel 101
  • Excel Formula
  • Excel Functions

Recent Posts

  • Get the Original Price from Percentage Increase/Decrease
  • How to Add/Subtract Percentage in Excel
  • How to Extract Day, Month and Year from Date in Excel
  • How to Add Seconds, Minutes and Hours to a Time in Excel
  • How to Add Days, Weeks, Months and Years to a Date in Excel
  • How to Calculate Time Difference in Excel
  • Calculate Number of Days, Weeks, Months and Years Between Two Dates in Excel
  • Flash Fill Excel
  • Paste Special Excel
  • Excel TEXTJOIN Function
  • Excel CONCAT Function
  • Excel CONCATENATE Function
  • Excel REPLACE Function
  • Excel SUBSTITUTE Function
  • Excel REPT Function
  • Excel FIND Function
  • Excel SEARCH Function
  • Excel MID Function
  • Excel RIGHT Function
  • Excel LEFT Function

ExcelCSE.com

The Ultimate Guide How to Use Excel Better
Copyright © 2024 ExcelCSE.com
Contact Us - Privacy Policy - Sitemap | Theme by MyThemeShop.com

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh