Alternative for SUMIF and SUMIFS

Ever wondered while using "SUMIF" function, the sum range cannot be more than one column!! This indeed is a big drawback while using a large data set where you need to sum matching certain conditions.

I often end up using multiple sumif with "+" which makes the formula very long. So was thinking of some alternative that can make life easier.

Thanks to the search engines these days, I did come across a workaround.

Refer to the above image:

In the above example, I have a table with 4 columns where H1 and H2 are identifiers. H3 and H4 is the data which needs to be summed up.

Condition 1 (alternative for SUMIF):
I need to sum values of H3 and H4 where the identifier H2 is "Y".
The formula will be =SUM(IF(B2:B5=B9,C2:D5)) followed by Ctrl + Shift + Enter which will make it a array formula. The final formula will look like this: 

Condition 2 (alternative for SUMIFS):
I need to sum values of H3 and H4 where the identifier H1 is "N" and H2 is "Z".
The formula will be =SUM(IF(A2:A5&B2:B5=B10,C2:D5)) followed by Ctrl + Shift + Enter which will make it a array formula. The final formula will look like this: 

Try this out in a larger data set and check your results.

Disclaimer: This will work only in a array i.e. without "Ctrl + Shift + Enter" , the result may be "#N/A"


  1. Hey keep posting such good and meaningful articles.

  2. Nice post, things explained in details. Thank You.

  3. Hi, extremely nice effort. everybody should scan this text. Thanks for sharing.

  4. On the Secrets of a Sugar Daddy podcast there are True life podcasts my guests and I will pull back the curtain and give you first hand accounts of our experiences. We will cover a wide range of topics from building the right kind of profile , to avoiding the wrong kind of people

  5. This statistic reveals the number of slot machines in casinos in Macao from 2011 to 2021. There were eleven,758 slot machines in Macao's casinos in 2021, up from eight,854 in the earlier 12 months. If your aim is to 카지노사이트 spend as long as|so lengthy as} possible on the on line casino, you’ll need to concentrate on lower-cost machines like penny slots, even when your chances of successful huge are lower.

  6. Pretty amazing article. I recently found your website and just wanted to expressipvanish coupon code how much I've loved reading your thoughts. Whatever the case, I'll be checking back, and I hope you'll publish again soon.


Post a Comment

Popular posts from this blog

Keyboard Shortcut to add/delete rows or columns in Excel

"CountIF" or "SumIF" with an extra "S" makes the difference...

Excel Keyboard Shortcuts - Handy during day to day work