ExcelCSE.com

Menu
  • Excel 101
  • Excel Functions
  • Excel Formula
  • Contact Us
How to Use Excel > Excel Formula > Difference between SUMIF and SUMIFS

Difference between SUMIF and SUMIFS

Difference between SUMIF and SUMIFS
Table of contents :
  • SUMIFS vs. SUMIF
  • Questions for SUMIFS/SUMIF Function

Different between SUMIF and SUMIFS

SUMIFS vs. SUMIF

Here is a table of differences between SUMIFS and SUMIF functions. The most noticeable difference is the number of criteria. The SUMIFS function can handle up to 127 criteria; the SUMIF function handles only one criterion.

SUMIFS vs SUMIF

Questions for SUMIFS/SUMIF Function

Question #1, What is the total sales for sales greater than 500

One criterion in the same column question.

SUMIFS Solution

The Formula

=SUMIFS(C2:C23,C2:C23,">500")

The Result

SUMIFS Multiple Criteria in Same Column

SUMIF Solution

The Formula

=SUMIF(C2:C23,">500")

The Result

SUMIFS with Multiple Criteria

The same result and no difference, but the SUMIF function use fewer arguments than the SUMIFS function. The sum_range argument in SUMIF function is optional; if the value is the same as the range argument, then the sum_range argument can be ignored.

Otherwise, the sum_range argument in SUMIFS function is mandatory, although the value is equivalent to the range argument, it must be written.

Question #2, How much does it sell before July 15, 2018

One criterion in the same column question.

SUMIFS Solution

The Formula

=SUMIFS(C2:C23,A2:A23,"<7/15/2018")

The Result

SUMIFS with Multiple Criteria in Same Column

SUMIF Solution

The Formula

=SUMIF(A2:A23,"<7/15/2018",C2:C23)

The Result

SUMIFS with Date Range

No difference in the number of arguments used. Both SUMIFS and SUMIF function uses three arguments. The difference is the location of sum_range argument, in SUMIFS function sum_range is the first argument, while in SUMIF function sum_range is the last argument.

Question #3, What is the total sales between July 10, 2018, and July 20, 2018

Questions with two criteria in the same column, criteria #1 “>=7/10/2018” and criteria #2 “<=7/20/2018”

SUMIFS Solution

The Formula

=SUMIFS(C2:C23,A2:A23,">=7/10/2018",A2:A23,"<=7/20/2018")

The Result

SUMIFS OR

SUMIF Solution

Not Applicable, the question has two criteria, SUMIF function unable to answer this question.

The SUMIF function can be used for questions with more than one criteria, by adding a helper column and logical function. For more details, please read the following articles

  • Excel SUMIF Multiple Criteria

Question #4, What is the total sales before July 10, 2018, and after July 20, 2018

Two criteria in the same column question. Is the SUMIFS function able to answer this question?

SUMIFS Solution

SUMIFS Greater Than

Why the result 0? Should not the result 7.117.

The SUMIFS function can handle questions with more than one criteria, but only calculate the data for which all criteria are met. It’s impossible in a cell contains date less than July 10, 2018, and greater than July 20, 2018, at the same time

Although the SUMIFS function can handle the question with more than one criteria, not all questions can be handled. Especially multiple OR criteria questions, either in the same or different columns.

For more details about the SUMIFS limitations and solution, please read the article below:

  • SUMIFS Limitations and Solutions

SUMIF Solution

Same as the previous question. Not Applicable, the question has two criteria, but you can use a trick, adding a helper column and logical function makes the SUMIF function handle more than one criteria.

The following article explains in detail how to do the trick above.

  • Excel SUMIF Multiple Criteria

Question #5, What is the total sales between July 10, 2018, to July 20, 2018, for the “West” area

Three criteria in different columns question. Criteria #1 “>=7/10/2018”, criteria #2 “<=7/20/2018” both are in the same column, criteria #3 “West” area in different columns.

SUMIFS Solution

The Formula

=SUMIFS(C2:C23,A2:A23,">=7/10/2018",A2:A23,"<=7/20/2018",B2:B23,"West")

The Result

SUMIFS with Multiple Criteria

It’s easy for the SUMIFS function to answer multiple AND criteria questions.

SUMIF Solution

Please read the article below, how making SUMIF function handles multiple AND criteria in different columns.

  • Excel SUMIF Multiple Criteria

Related Function

Function used in this article
  • Excel SUMIF Function
  • Excel SUMIFS Function
Share
Tweet
Google+
Email
Prev Article
Next Article

Related Articles

How to calculate time difference in excel
How many hours between two times? To get hours between …

How to Calculate Time Difference in Excel

Excel Cell Reference
As already discussed in the article “How to Create a …

All about Excel Cell Reference

Add remove leading zeros in excel
Add Leading Zeros in Excel Add Leading Zeros for Numeric …

Add and Remove Leading Zeros in Excel

How to Create a Formula in Excel
How to Create a Simple Formula in Excel To create …

How to Create a Formula in Excel

Get the Original Price from Percentage Increase What was the …

Get the Original Price from Percentage Increase/Decrease

Tags:Difference between SUMIF and SUMIFS SUMIF Function SUMIFS Function SUMIFS Greater Than SUMIFS Multiple Criteria in Same Column SUMIFS OR SUMIFS vs SUMIF SUMIFS With Date Range SUMIFS With Multiple Criteria SUMIFS With Multiple Criteria in Same Column

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