+ Reply to Thread
Results 1 to 3 of 3

Optimize workbook performance - excel keeps thinking and crashing

  1. #1
    Registered User
    Join Date
    04-23-2015
    Location
    Kunming, China
    MS-Off Ver
    2013
    Posts
    11

    Angry Optimize workbook performance - excel keeps thinking and crashing

    Hi, I have a workbook containing 12 sheets. There is a lot of cross-referencing between those tables. There are 3 external linked files, but the data from there is fairly static, and it's 'one way traffic'.

    There are quite a bunch of lengthy formulas that are copied down a few-thousand lines. I abstained from using any range formulas or 'indirect' functions and such. Formatting is also very limited. There are only a few columns containing conditional formatting rules and there is basic color coding of most cells. No VBA.

    All in all the sheet is 11MB and I run it from a local server. This seems to be fairly innocent from my point of view. When records are dealt with they are pasted as values, so only some 1/3rd of about 10,000 lines, spread over 50 columns contain formulas, some simpler than others but nothing fancy.

    The simplest copy-paste actions over 40 cells can take excel 10+ seconds to deal with and often crash all together. I have cleaned up formatting in this workbook, removed unnecessary external links and gone over all formulas to simplify or remove where possible. On that last point; there are a LOT of dependencies over all these sheets but the formulas are merely simple sumifs, index-matches, vlookups and IF statements. I do rely on auto calculation. I turned it off but to the effect I had to calculate the sheet after every action with the same effect (which indicates the connection to other sheets or calculation thereof isn't the problem)

    I've gone so far as to get myself a new computer to solve this:

    Chipset: Intel C226 Chipset
    CPU: Intel i7-4790-3.6G 8M GT2 4 Cores 8 thread CPU
    MM: 16 GB DDR3-1600 nECC, 4GBx4
    2*1 TB 7200 RPM SATA hard disk, support raid 0, 1

    The problems are the same, whether I run the workbook from its server location or copy it to my computer locally.

    I am completely lost what remains to be done. Simple copy-pastes of a few cells can crash excel while I often copy down 50 columns of formulas down 200 lines without too much hassle. ANY suggestions are welcome. Does anyone know of some diagnostic tools that trace excel inefficiencies? I can imagine that my Workbook is still harbouring a culprit. I've done everything but checking cell-by-cell for some rogue issue.

    I'm sure excel has its limitations but I refuse to believe I've met the roof on a 50,000 cell, 11 MB workbook.

    Anything, Anybody???

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Optimize workbook performance - excel keeps thinking and crashing

    I had similar problems. I turned to VBA to do most of the calculations and present most of the calculated data as numbers.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Optimize workbook performance - excel keeps thinking and crashing

    A few things to check...
    1. you said you have some Conditional Formatting. Make sure these are not using full-column references, that will slow you down, rather, restrict them to the minimum needed
    2. Are you using any ARRAY formulas? If you are, restrict these, too
    3. Apart from the SUMIFS and INDEX/MATCH, restrict all formulas to the minimum ranges needed
    4. If you have formulas based on old data that will not change, consider "valueing" some of those
    5. On each sheet, press END/HOME and see where you land. If it is not at the bottom-most right-hand cell, start carefully deleting rows and columns until you get to where you KNOW the occupied last row/column is.

    Start with those and see how you make out
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. [SOLVED] Trouble with macro working in one workbook but crashing Excel in another.
    By Bud Wilkinson in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-16-2016, 12:36 AM
  2. Excel crashing when trying to view code before macro run; not crashing after first run
    By goonerforlyf in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2015, 05:27 PM
  3. [SOLVED] Over thinking an Excel problem
    By bdg724 in forum Excel General
    Replies: 3
    Last Post: 04-01-2015, 02:14 PM
  4. VBA For loop, optimize speed and performance
    By britzer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-04-2014, 08:56 AM
  5. [SOLVED] Excel workbook hierarchy setup beneficial for performance?
    By sur4j in forum Excel General
    Replies: 4
    Last Post: 05-27-2014, 03:15 PM
  6. Macro to Copy Sheets and Save As New Workbook Crashing Excel
    By JamieAtJack in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2012, 08:19 PM
  7. Excel 2007 : Excel 2007 crashing with large workbook
    By ahorwitz in forum Excel General
    Replies: 0
    Last Post: 05-23-2012, 11:59 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