Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Slow calculation (from 2000 to 2003)

    I have some large spreadsheets in Excel 2000 that calculate no problem, but when I open them in Excel 2003 take an age to calculate (over 10 mins) and some just refuse to do anything. I have seen a microsoft item about the change to the way spreadsheets are calculated in 2003 but there was no warning that it would seriously slow them to a halt! Anyone got any ideas what might be wrong and how to speed them up in 2003?
    Neil Eustice
    Woody Worshipper

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Slow calculation (from 2000 to 2003)

    I can't answer the calc differences between 2000 and 2003 since I am still using XL97.

    I am curious as to what kind of formulas are you using.

    User functions are much slower than builtin formulas and if you use them alot you might be slowing it down.
    Do you have lots of array formulas?

    WIth both of these things, there might be alternate ways to get the same results (eg with macros) that is much faster.

    Do you have pivots and query tables, you can set these up to be faster?

    Sometimes event macros are triggered multiple times in a calculation and that can add to the sluggishness.

    If you give us some idea of where the problems might be we might be able to help.

    Steve

  3. #3
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    I have 31 sheets with a combination of formulaes ranging from simple to one such as
    =IF(ISNA(VLOOKUP(F20,'TB - TLPavs'!$E$1:$F$171,2,FALSE))=TRUE,"",VLOOKUP(F20, 'TB - TLPavs'!$E$1:$F$171,2,FALSE))
    I have macros and user defined functions.
    What I do not understand is that on a 2000 machine they run fine - quick as anything. Only on the XP machine with 2003 do they spend their life recalculating. If I put it on manual calculation I can get into the spreadsheet - if I put it on Automatic it takes over ten minutes and sometimes does not even finish.
    Neil Eustice
    Woody Worshipper

  4. #4
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    I strongly suspect the UDF's in this case, I have heard more complaints like yours.

    Could you post some of them, maybe they can be optimised.

    Also, Charles Williams has some excellent information on his site about Excel's calculation engine, might give you some pointers on how to optimise:
    http://www.decisionmodels.com
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  5. #5
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    Sorry, cannot send them but tried on a similar large spreadsheet without User Defined Functions and still slow as a three legged pony on 2003 - race horse on 2000.

    Any other suggestions...?
    Neil Eustice
    Woody Worshipper

  6. #6
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    Not really, I'm sorry.

    Have you tried google search and the knowledge base yet?
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  7. #7
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    Found the same question on Experts Exchange but they want $10 a month to find the answers and I am not going to pay that to find that the answer is something we have already discussed. I cannot find anything in Technet about this problem.

    Neil
    Neil Eustice
    Woody Worshipper

  8. #8
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    Does this link give you any pointers:

    http://tinyurl.com/3se2h
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  9. #9
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    Hi,

    Thanks for the link but unfortunately none of the mentioned problems/fixes apply. If I open this workbook on a W2K machine with Excel 2000 it opens fine. Opening the same workbook on XP with Excel 2003 just does not want to recalculate (generally freezes at around 26 - 30%). This is pointing at the same printer on the same network.

    Frustrating this...!?
    Neil Eustice
    Woody Worshipper

  10. #10
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    If it doesn't contain confidential information, you could send it to me, I can have a look too.
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  11. #11
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    This is the unfortunate thing about my predicament - it is highly confidential.

    I have tried to move the sheets into another workbook and then all the modules as well and tried to save that new workbook - but unfortunately that suffered the same fate in that it took forever to calculate and in the end just froze.
    Neil Eustice
    Woody Worshipper

  12. #12
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    Have you tried moving it to a new workbook a little at a time until you isolate what is causing the problem?
    Legare Coleman

  13. #13
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    >I have tried to move the sheets into another workbook and then all the modules as well and tried to save that new workbook

    Two "belt & braces" questions. <UL><LI>Are you exporting & importing the Modules - as opposed to dragging & dropping them in the VBE? (That may affect optimisation.) <LI>Presumably, the "new" workbook also performs like the famed racehorse on Excel 2000?[/list]HTH
    Gre

  14. #14
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    I dragged the worksheets into the new workbook and then copied the code from the modules and pasted into a new module in the new workbook. Is there a better way? Oh, and the new workbook is just as slow as the old one...
    Neil Eustice
    Woody Worshipper

  15. #15
    2 Star Lounger
    Join Date
    Nov 2001
    Location
    Watford, Hertfordshire, England
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow calculation (from 2000 to 2003)

    Legare,

    I will try that but as the formulae on the sheets all refer to other sheets in the same workbook I fear that as I save the new one (even with two sheets in) it will then start to calculate the links in the old one and that will simply freeze it again.
    Neil Eustice
    Woody Worshipper

Page 1 of 2 12 LastLast

Posting Permissions

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