+ Reply to Thread
Results 1 to 8 of 8

Sumproduct - formula more efficient/faster?

  1. #1
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    Sumproduct - formula more efficient/faster?

    =SUMPRODUCT(--(Data!$X$2:$X$9658=$A38),--(Data!$Y$2:$Y$9658=C$8),Data!$Z$2:$Z$9658)

    This formula exists in about 30 tabs and the data range will increase every month also makes the file size quite big and slowing down the processing time. Is there a better formula i can use instead?
    Last edited by Gti182; 06-17-2013 at 07:50 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Sumproduct - formula more efficient/faster?

    You can try with Pivot table but otherwise no (you could have faster SUMIFS in Excel 2007 and newer)

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sumproduct - formula more efficient/faster?

    On 2007 or later versions use SUMIFS

    =SUMIFS(Data!$Z$2:$Z$9658,Data!$X$2:$X$9658,$A38,Data!$Y$2:$Y$9658,C$8)

    which might prove more efficient
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    Re: Sumproduct - formula more efficient/faster?

    forgot to add i've now upgraded to office 2010. Will try the sumifs thank you

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Sumproduct - formula more efficient/faster?

    You could also upgrade your MS-Off version (as you can see from this exmple, that's quite important because it can give different solutions.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,721

    Re: Sumproduct - formula more efficient/faster?

    Put this formula in AA2:

    =X2&Y2

    then copy down.

    Then you can replace your SP formula with this:

    =SUMIF($AA:$AA,$A38&C$8,$Z:$Z)

    which should be more efficient, even with full-column references.

    Hope this helps.

    Pete

  7. #7
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    Re: Sumproduct - formula more efficient/faster?

    great thanks for the suggestions, completely forgot about the concatenation option

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,721

    Re: Sumproduct - formula more efficient/faster?

    Ah, my comments related to Excel 2003, but they are still relevant to XL2010.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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