+ Reply to Thread
Results 1 to 4 of 4

Workbook efficiency from overuse of large sumproduct formulas

  1. #1
    Forum Contributor
    Join Date
    03-05-2015
    Location
    norwich
    MS-Off Ver
    365
    Posts
    107

    Workbook efficiency from overuse of large sumproduct formulas

    Hi,

    I was wondering if you could possibly help me out. I've got multiple tabs which use large sumproduct formulas to total up results specific to each location. Unfortunately my method of working out the formulas is causing an unacceptable slow down of the document which multiple people have to use.

    Is there an alternative formula /method to work out the results? Obviously switching to manual calculation is an option, but it's one I want to avoid

    In the attachment is one of the tabs, all formulas have been removed except for the offending columns in yellow which is causing the slow down. I think this one would be a good one for me to learn

    Thanks for any help
    Attached Files Attached Files

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

    Re: Workbook efficiency from overuse of large sumproduct formulas

    Have you tried it with SUMIF/SUMIFS? The formula in C7 could become:

    =IF($A7="","",SUMIFS(L$7:L$1000,$I$7:$I$1000,$A7)+SUMIFS(T$7:T$1000,$Q$7:$Q$1000,$A7)+SUMIFS(AJ$7:AJ$1000,$AG$7:$AG$1000,$A7)+SUMIFS(AR$7:AR$1000,$AO$7:$AO$1000,$A7)+SUMIFS(BH$7:BH$1000,$BE$7:$BE$1000,$A7)+SUMIFS(AB$7:AB$1000,$Y$7:$Y$1000,$A7)+SUMIFS(AZ$7:AZ$1000,$AW$7:$AW$1000,$A7))

    this should be faster, but I have no way of confirming it.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    03-05-2015
    Location
    norwich
    MS-Off Ver
    365
    Posts
    107

    Re: Workbook efficiency from overuse of large sumproduct formulas

    Hi Pete,

    Thanks for the response, I tried what you suggested. The sheet is defo slightly quicker but it's still quite slow. I think it's the method I'm using of sumif+sumif+sumif+sumif which creates a huge formula resulting in the slowdown... I can't really see a way around it though

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Workbook efficiency from overuse of large sumproduct formulas

    1. use Excel tables
    2. change data layout

+ 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. AGGREGATE vs LARGE. Efficiency comparison
    By tim201110 in forum The Water Cooler
    Replies: 1
    Last Post: 11-27-2017, 11:53 AM
  2. Improving formula/workbook efficiency
    By aquixano in forum Excel General
    Replies: 0
    Last Post: 06-24-2016, 05:53 PM
  3. [SOLVED] Combine formulas / improve efficiency
    By snuffnchess in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-21-2016, 11:23 PM
  4. Replies: 14
    Last Post: 10-16-2015, 04:59 PM
  5. Replies: 5
    Last Post: 07-19-2015, 11:05 AM
  6. Need to maximize efficiency of simple macro because of large excel file
    By ChristopherBrandonKi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-04-2014, 12:44 PM
  7. Learning formulas to increase efficiency in my business
    By Rvnoble in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-02-2013, 11:40 AM

Tags for this Thread

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