+ Reply to Thread
Results 1 to 3 of 3

Workbook performance and bottleneck analysis

  1. #1
    Registered User
    Join Date
    10-29-2009
    Location
    Zurich, Switzerland
    MS-Off Ver
    Excel 2016
    Posts
    15

    Workbook performance and bottleneck analysis

    Hi,

    I have inherited an Excel workbook which is quite large and performance is quite poor.
    So far I have calculations set to manual, but I need to recalculate formulas very often.

    I know there are many tips on how to optimize worksheets (use this or that formula, avoid this or that, etc). I don't really have time to analyze and optimize the entire workbook, that would be a work project on its own.
    But I would like to identify some quick wins.

    In the past I used a VBA code that went through the entire workbook testing each cell and gave you a report of which cells took the longest to run.
    This was very useful, but I have lost this code (it was in my previous work laptop, mistake not to backup that code.

    Are you aware of any similar VBA code or free tool to analyze workbooks and give some kind of report with the main bottlenecks?

    Thanks in advance.

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

    Re: Workbook performance and bottleneck analysis

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

  3. #3
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Workbook performance and bottleneck analysis

    Excel 2016 has an addin built in called Inquire. It has an option called Workbook analysis which can give a report about the content in the file (no calculated results, just whats where which can shed light on performance). If you are able to post a sanitized sample we could check it out for you.

    Also, not to sound condescending, but you will get back what you put into cleaning up the file. I can understand if you really dont have the time to work it out, but I wouldnt expect miracles then either.

    What extension is the file? (xlsx, xlsm, xls, etc)

    The first thing I do when evaluating files is consider the amount of actual content in the file vs the file size. This can be an indicator of excess content bogging the file down. For example a 10MB file with 10 sheets, 250,000 rows per sheet...probably a reasonable size. On the other hand a 10MB file with 10 sheets and 250 rows per sheet....something is wrong (and can likely be addressed by checking a couple of things).

    Signs of excess content:
    • Scroll bars take you way beyond your data to blank areas of a sheet (excess content)
    • Home | Styles drop down has many many styles, some duplicated
    • With the Home | Find & Select | Selection Pane open switch to each sheet. See a ton of entries in the pane? May have extra objects that can be deleted
    • Formulas | Name Manager. See more than a couple dozen entries...you have excess named ranges.

    Another way to check if a specific aspect of the file is too large (works for xlsx and xlsm only!). Create a copy of the file. Rename it and change the file extension to .zip. Open the .zip version and navigate to the xl folder. You should have a column for compressed size and one for size. Both matter, so use either. Check the size of:

    calcChain.xml
    styles.xml
    workbook.xml
    worksheet/ (all .xml in here, one for each sheet)
    all other folders except _rels

    So lets say for example you have 10 sheets, and they are all basically the same...however when you check the worksheets folder you see that sheet3.xml is like 10x larger than the rest. That means sheet3.xml (not to be confused with the 3rd sheet in your file or a sheet named "sheet3" in the file) is likely has excess content in it.

    So if you cant post a sample for us to review, I can guide you through some steps to identify possible issues within the file.

    Also, and I will add the disclaimer that this isnt a fix and comes with its own issues, you could consider saving the file as an .xlsb. It should reduce the file size a bit and speed up calculation in larger files. If there is an underlying issue and you do not correct it, having the file be an xlsb will make it harder to recover from issues down the road.

+ 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] Comparitive analysis - compare player performance in two or more matches
    By sabha in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-24-2017, 02:51 PM
  2. Replies: 3
    Last Post: 10-09-2016, 11:19 PM
  3. Turbine performance analysis...
    By PaulSanderson01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-04-2015, 04:50 PM
  4. Create An All In One Performance Management Workbook
    By pringle1987 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2014, 04:54 AM
  5. Performance Analysis
    By Arealmix in forum Excel General
    Replies: 16
    Last Post: 04-26-2014, 05:23 PM
  6. [SOLVED] Performance Analysis: Weekday Function
    By pwall1115 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-26-2012, 10:05 PM
  7. Need Help with Performance Persistence Analysis
    By dutchmaster312 in forum Excel General
    Replies: 1
    Last Post: 09-19-2011, 11:16 AM

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