+ Reply to Thread
Results 1 to 15 of 15

Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculating?

  1. #1
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculating?

    Hi I have an interlinked workbook that's giving me headaches and I need to discover a couple things:

    1. Are SUMIFS Volatile? From my understanding the answer should be primarily no? Is there any definitive way to determine if/when this is the case

    2. How can I determine the formulas that are all calculating on sheet recalc? Is there a way to identify where what's happening gloablly so I can maybe isolate my problems?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    SUMIF(S) is not volatile, but the cells they reference may be.

    Charles Williams has a tool at http://www.decisionmodels.com/FastExcelV3Profiler.htm that may help. There is also a UDF on his site (don't have a link), CalcCount, that will tell you when a formula recalculates.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Although he does also state:

    "One particular syntax of SUMIF is volatile in Excel 2002 and subsequent versions. This occurs when the size of the first range argument is not the same as the second (sum_range) argument.

    For example =SUMIF(A1:A4,">0",B1) is volatile whereas =SUMIF(A1:A4,">0",B1:B4) is not volatile. Both of these formulae will reference cells B1:B4.
    "

    on that same site, though whether that is relevant to your set-up I do not know.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Good point. I was not accounting for bad practice.

    BTW, cmore, I have not used Charles's tool, though I frequently use CalcCount (I keep it in Personal).

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Quote Originally Posted by shg View Post
    I was not accounting for bad practice.
    Agreed that it is just that.

    Regards

  6. #6
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Thanks Guys, this is exactly what I was looking for. So the SUMIFS I am using one range to many, I wouldn't typically use this, but I'm using it in order to shrink an array to a desired size.

    So for instance I look at cells SUMIFS(A14:M14, A12:M12, "*"&Array(with 9 elements)&"*")............. This doesn't typically cause problems except where I need to do a cross sheet comparison that involves 2 of these types of arrays.

    That said, based on you guys' input I'm pretty sure this is where the volatility arises. Will try and use Calcount now as well. Thank You.

  7. #7
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Are there any alternatives to the kind of SUMIFS I described?

    I can probably MMULT * SUMPRODUCT it some how, not sure if that would be better?

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    All the xxIF(S) functions are golden.

  9. #9
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Gotcha, but if my construction is the 'Bad Practice' and creating unwanted volatility, you think SUMIFS is still best option?

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Please look carefully at XOR's example. You're not doing that, as far as I can tell, and if you are, just fix it.

  11. #11
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Yep, you're right the SUMIFS alone would not then be the cause of the volatility, back to the drawing board

  12. #12
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Hi shg, having a bad time of find CalcCount, any suggestions?

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Here's the version I have:

    Please Login or Register  to view this content.
    Any errors are mine alone.

  14. #14
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    Thanks Trying it out a bit now. So I have to use it on cells that I think are the issue right? Or do you you loop through cells or anything else when using it?

  15. #15
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Calculation Efficiency: SUMIFS Volatile? and Identifying What formulas are recalculati

    So based on this tool, I can see that certain cells are being recalculated multiple times on recalculate, and this is the likely cause of my major slow downs. But I don't have an efficient way of identifying which specific cells (although I have an idea), or why it's calculating multiple times. Any thoughts towards resolving

+ 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. How to replace Offset() with non-volatile formulas?
    By ceeyee in forum Excel General
    Replies: 14
    Last Post: 12-06-2018, 06:40 PM
  2. [SOLVED] Efficiency of calculation as a function of number of worksheets
    By GIS2013 in forum Excel General
    Replies: 8
    Last Post: 10-18-2015, 05:06 PM
  3. Excel Arrays x Name Manager: Calculation Efficiency
    By cmore in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-07-2015, 07:36 PM
  4. Calculation Efficiency
    By cmore in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-02-2015, 07:53 AM
  5. [SOLVED] Non-volatile replacement for INDIRECT in SUMIFS formula
    By Lotrking1010 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2013, 11:06 AM
  6. [SOLVED] Formulas not recalculating
    By Granny in forum Excel General
    Replies: 2
    Last Post: 09-06-2012, 12:52 PM
  7. Volatile - Calculation Order
    By Zalambur in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-05-2011, 11:35 PM

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