logo
  • Excel Charts
  • About David Aldred & This Blog
  • Consulting & Excel Support

Using SUMIFS to test multiple criteria

June 26, 2013 2 comments Article Easy, Excel

One of my all-time favourite Excel functions has been SUMPRODUCT – it’s versatility was endless, but was especially useful for when you wanted to SUM up some data with multiple conditions, such as sales of Pencils in the East region, perhaps.

Using SUMPRODUCT, we’d have written something like this… 

This works well, but as anyone who has worked with SUMPRODUCT a lot will tell you, you don’t need many of these formulas in your file before it starts grinding to a halt – and they take a little bit of practice to remember how to do them.

However, from Excel 2007, Microsoft introduced SUMIFS. Like SUMIF, it sums up data based on a condition. However with SUMIFS, you can add multiple conditions.

The syntax is pretty straightforward; F

First, tell it the range you want to ultimately add up, then provide your first range you want to test, followed by the condition. Then repeat the test range and condition for all your other conditions.

Or, using the Tables functionality we covered previously… (Now you start to see why Tables make so much sense?)

Similar to SUMIFS, you can also use COUNTIFS to do a similar task to counting…

(Note how you can use Greater Than & Less Than operators – but you must add them in quotes)

The great benefit of using SUMIFS over SUMPRODUCT is performance – SUMIFS will perform much, much faster than SUMPRODUCT, so for straightforward conditional summing, SUMIFS is the way to go.

And that’s really all there is to it. You can add pretty much as many conditions as you wish – up to 256, I believe.

Without a doubt, SUMPRODUCT still has its place, and will continue to be a fantastic function – I will re-work an article I had written in the past to show how to get the most from it!

Related

Tags: Conditional, Excel, Office, SUMIFS

2 comments

  • Tayla July 23, 2014 at 11:47 pm - Reply

    I am really enjoying the theme/design of your blog. Do you ever
    run into any web browser compatibility problems? A handful of my blog audience have complained about my website not
    operating correctly in Explorer but looks great in Chrome.
    Do you have any solutions to help fix this issue?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

How did Microsoft’s Power BI come to lead the Gartner Magic Quadrant?

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Categories

Pages

  • Excel Charts
  • About David Aldred & This Blog
  • Consulting & Excel Support

Copyright System Secrets 2025 - Theme by ThemeinProgress