+ Reply to Thread
Results 1 to 5 of 5

Lo-o-ong Calculation Times

  1. #1
    Registered User
    Join Date
    09-13-2009
    Location
    Bend, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    2

    Lo-o-ong Calculation Times

    I recently converted to Home editions of Vista and Office 2007 because I needed to replace my old machine and couldn't wait. No big problems, except this one Excel workbook.

    I manage my investments with an Excel workbook. I converted the workbook from 2003 to 2007. I can't go back to Office 2003.

    There are currently eleven sheets with a number of equations working on data pulled across sheets. All my formulas are fairly straight arithmetic. There are some cells using finance functions, some of which I had to define myself. Those can involve a series of nested conditionals. These use some basic statistical functions -- COUNT and ACOUNT, AVERAGE, and similar functions. There are two graphs covering about 50 periods each. There are some custom numeric formats controlled by IF-THEN clauses to highlight unusual results.

    Problem: Any data entry anywhere causes a 15-20 second pause. Mike 1001 had the same type of problem but his solution doesn't seem to apply to me.

    What do I need to do to find the formula(s) causing the problem?

    Pusher

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Lo-o-ong Calculation Times

    The main culprits in these scenarios are (in order of impact):

    1 - Volatile Arrays (includes SUMPRODUCT)

    2 - Non-Volatile Arrays (includes SUMPRODUCT)

    3 - Volatile Functions used en masse (INDIRECT, OFFSET etc...)

    4 - excessive Conditional Formatting

    5 - excessive Named Ranges

    (though the impact of 4 & 5 is not normally a huge problem)

    Have a read through:

    http://msdn.microsoft.com/en-us/library/aa730921.aspx

    in which some code is available for you to try and identify the bottlenecks

    See also the above authors' own site in full:

    http://www.decisionmodels.com/calcsecrets.htm

    EDIT: There is also of course the possibility of VBA Events being triggered - do you use VBA at all in your model ?
    Last edited by DonkeyOte; 09-14-2009 at 03:05 AM.

  3. #3
    Registered User
    Join Date
    09-13-2009
    Location
    Bend, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Lo-o-ong Calculation Times

    I'll go through the workbook and read your reference and let you know what I find. I recall none of these.

    A definition of 'volatile' as it applies to Excel would help me.

    Frankly, I'm wondering why Redmond would screw up perfectly fine programs like Excel and Word. All the 'improvements' seem disfunctional although the new menus are probably helpful to a novice. If I didn't have to send material to so many people with weak Office skills, I'd migrate to another product.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Lo-o-ong Calculation Times

    A Google search on "Excel Volatile" brings up some great detailed explanations of the volatility issue.

    http://www.google.com/#hl=en&source=...b3655b1bbc91d8

    http://www.decisionmodels.com/calcsecretsi.htm

    In a nutshell, volatile functions are recalculating every time you change anything in your workbook anywhere...even if the function has nothing to do with what you updated, it recalculates. Most Excel functions don't do that.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Lo-o-ong Calculation Times

    Quote Originally Posted by unionjunkman
    A definition of 'volatile' as it applies to Excel would help me.
    There is a link in my sig. re: Volatility (referenced by JB separately)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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