+ Reply to Thread
Results 1 to 7 of 7

SUMPRODUCT v SUMIFS

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    SUMPRODUCT v SUMIFS

    Hi,

    Can someone please tell me the benefits of SUMPRODUCT. I understand that they are useful for multiplying arrays and finding values using multi criteria but I can't see/work out what benefit they have over using SUMIFS?

    Every blog I read advocates SUMPRODUCT is excellent so am I missing something?

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: SUMPRODUCT v SUMIFS

    SUMIFS is more efficient overall but SUMPRODUCT is far more versatile.

    The big difference between the two is that SUMIFS can only be used for straight comparisons. You can't "manipulate" the criteria while with SUMPRODUCT you can "manipulate" the criteria.

    For example, in SUMPRODUCT you can do something like this to manipulate a criteria:

    MONTH(A1:A10)=5

    You can't do that in SUMIF(S).
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: SUMPRODUCT v SUMIFS

    Well I use sumproduct because sumifs doesn't exist in 2003....

    I believe sumproduct is more flexible though, as it can take an array as an input. in sumifs you can only use a range as the input, so you can't do, for example:
    =sumifs(2*A1:A10,B1)
    Whereas I believe you can do
    =sumproduct(If(2*A1:A10=B1,A1:A10,0))

  4. #4
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Re: SUMPRODUCT v SUMIFS

    Thanks both for your answers, appreciate your time, maybe I need to play with it more. If anyone else can contribute then great.


  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,677

    Re: SUMPRODUCT v SUMIFS

    Well, SUMIFS didn't exist before Excel 2007 so SUMPRODUCT was routinely used in earlier versions for multi-conditional summing (and still is if you are using one of those versions).

    Apart from that you can use SUMPRODUCT in some situations where SUMIFS won't work,

    e.g. the most basic use of SUMPRODUCT, multiplying two ranges and summing the results

    =SUMPRODUCT(A2:A100,B2:B100)

    or counting rows where one range is greater than another

    =SUMPRODUCT((A2:A100>B2:B100)+0)

    or conditional summing when the criteria and sum ranges are different sizes

    =SUMPRODUCT((A2:A100="x")*B2:Z100)

    or this sort of use for calculating variable rates.

    There are many other instances where SUMPRODUCT can be used but SUMIFS can't.......but, of course, if you can use SUMIFS it will generally be more efficient and is therefore preferable for basic multiconditional summing
    Audere est facere

  6. #6
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Re: SUMPRODUCT v SUMIFS

    Thanks everyone for your help. I'll mark this as solved.

    Happy Xmas.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: SUMPRODUCT v SUMIFS

    You're welcome. Thanks for the feedback!

    .

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] SUMIFS or SUMPRODUCT???
    By PERE in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-25-2013, 11:52 AM
  2. sumifs or sumproduct
    By goodboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-10-2013, 09:53 AM
  3. [SOLVED] SUMIFS to SUMPRODUCT
    By JungleJme in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-13-2012, 12:14 PM
  4. [SOLVED] Sumifs ,or SUMPRODUCT
    By jamilm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-11-2012, 06:20 PM
  5. Using SUMIFS or SUMPRODUCT
    By Ovenmittenburn in forum Excel General
    Replies: 0
    Last Post: 08-03-2011, 01:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1