5 ways to optimize the performance of Excel 2016

Excel Performance64-bitGraphics Acceleration
11 posts / 0 new
Last post
Michael Hutchens A+ 189
5 ways to optimize the performance of Excel 2016

Modano Moderator Note: Strikethrough font has been used to indicate parts of this post which are no longer applicable as a result of improvements to performance and stability of Excel since this post was created.

Many of Modano’s clients are making the leap from Excel 2010 to Excel 2016 (I’m going to pretend Excel 2013 never happened, so if you're using Excel 2013 please do yourself a favour and upgrade to Excel 2016 immediately), and noticing that many things feel slower and appear to lag in Excel 2016.

One of the main reasons for this that the Excel 2016 user interface supports high-resolution displays, and uses a single document interface (SDI), meaning that each workbook opens within its own window rather than them all opening within a single window as they did in Excel 2010.

While the engineers at Microsoft obviously thought these ‘improvements’ were great ideas, I’m yet to come across a financial modeler who isn’t mourning the loss of performance that they have caused, so I thought I’d share some performance tips we’ve discovered at Modano that might help mitigate the pain.

1. Close unused workbooks

A performance biproduct of the single document interface (SDI) is that each workbook has its own window which needs to be redrawn each time Excel is repainted on your screen.

We expected Microsoft to have better optimized the management of these windows, but basic testing shows that the rendering of Excel slows with every additional open workbook. And when custom ribbon items are thrown into the mix, including the Modano ribbon tabs, the impact is even more noticeable.

So, if you’re not using workbooks, close them rather than leaving them open to drag all the others down.

2. Disable hardware graphics acceleration

Ironically, while the phrase hardware graphics acceleration might sound like a performance improvement, it’s really referring to a whole bunch of unnecessary animations happening while you use Excel that you hardly notice, but that actually slow things down.

To switch off these performance-chewing annoyances, click on File, choose Options, select the Advanced tab of the Options dialog, and tick the Disable hardware graphics acceleration check box within the Display section, as shown below:

3. Pimp up Windows

Like Office 2016, Windows 10 also contains a range of cool but unnecessary performance-chewing animations that slow things down. To turn these off, go to Control Panel, select System, and then click Advanced system settings on the left side of the window, as shown below:

Then, in the System Properties dialog, select the Advanced tab before clicking the Settings button within the Performance group. This will load the Windows Performance Options dialog, as shown below:

None of the settings in this list are necessary, and all of them slow down your computer. Personally, the only one I leave switched on is the Smooth edges of screen fonts setting, as I find that some fonts appear jagged when this option is turned off. The remaining settings had no positive impact at all for me, so I switched them all off.

Modano Moderator Note: Since this post Excel 2016 has become more stable, and Modano now recommends the use of the latest version of Excel, which on most devices should be the 64-bit version as the default Windows installation is now 64-bit.

4. Don’t use the 64-bit version of Excel 2016

When using Excel 2010, many financial modelers experienced Excel crashing after exceeding the 1GB memory limit. Since July 2016, Excel 2016 has been large address aware, which means that the 32-bit version of Excel 2016 can use 50% more memory than the 32-bit version of Excel 2010.

While this might not sound like much, from our experience building very large models for Modano clients it is more than sufficient to handle the vast majority of financial models without needing to install the 64-bit version of Excel 2016. And if it is an issue, it’s usually a model scoping and design issue rather than an Excel issue.

Very few Excel users understand that the 64-bit versions of Excel use twice as much memory as their corresponding 32-bit versions of Excel, so it’s not as simple as saying that the 64-bit versions of Excel can open files twice as large. In fact, this statement is both incorrect and misleading, and it’s more accurate to say that any 64-bit version of Excel will almost certainly be slower than its corresponding 32-bit version, because it must do twice the lifting to complete the same tasks.

Importantly, while Modano works fine on 32-bit and 64-bit versions of Excel, 64-bit versions of Excel often have compatibility issues with many add-ins, and add a layer of complexity when writing VBA macros and working with other parties, who will usually be using a 32-bit version of Excel.

So, put simply, don’t use the 64-bit version of Excel 2016 unless you absolutely need to do so. And afterwards, revert to the 32-bit version of Excel 2016 immediately.

5. Turn off auto-syncing of Office files

Like the rest of the world, Office is heading into the cloud, and it’s going to allow all sorts of exciting new ways of collaborating when using Microsoft Excel. There’s only one problem – it’s all still a bit clunky.

We’re yet to narrow down the performance hit culprits into an exhaustive list, but we’ve had feedback from clients using Dropbox, Google Drive and OneDrive, indicating that switching off auto-syncing often significantly improves the performance of Office, including Microsoft Excel.

So, if you’re using OneDrive and feel like Excel is lagging, go to the OneDrive Settings dialog, and untick the Use Office 2016 to sync Office files that I open check box, as shown below:

The strange thing about OneDrive is that it behaves very differently depending on whether you’re using it for personal use or corporate (e.g. SharePoint) use, and depending on your internet/network connection. For example, one of our users reported that auto-syncing had no impact when connected to their home internet connection, but caused Excel to lag for 3-4 seconds when connected to their work internet connection (network). We’re guessing this is a result of certain network group policies and firewalls fighting or completing with OneDrive, but there are so many variables to consider that it’s often just a case of trial-and-error.

All things aside, we can confidently say that auto-syncing to cloud storage systems is a common cause of diminished performance of Excel 2016.

Suggestions Welcome

I can’t guarantee that any of these tips will materially work for you, but at Modano we have an ongoing obsession with optimizing the performance of Excel, particularly Excel 2016 as it’s proving quite challenging.

If you’ve found other ways of optimizing Excel 2016, please share below so we can all benefit from your experience.

Onwards, M.

Jun Yan A+ 124

Thanks M. This is actually very handy to know as I have been experiencing a lot of performance issues of late.

I very much notice it when I'm managing linked workbooks, given I have to have them open (and I run 64-bit). At least I know and can work around that now.

Jun

Ron 1 X 1
Ro

Thanks for your observations based on "real world" experience, I always prefer tips based on that sort of experience.

#2 Hardware Exceleration applies to the whole Office Suite. So turning it off in any application, applies to the rest of the Office bundle.

#3 "Pimp up Windows"
Don't you mean pimp DOWN windows? <g>

That is a basic Windows optimization tweak I've been doing for year. I never have been fan of the fancified "bells and whistles" and other visual gimicks.

#4 1GB RAM Limit

That is intersting. This is the first time I've heard that Excel crashed around 1GB of RAM use.  I was under the (unconfirmed) impression that 32 bit Excel, like other Windows applications could handle up to approaching 2GB of RAM.

This article: https://support.office.com/en-us/article/power-pivot-powerful-data-analy...

says

<snip> All data presentation and interactivity are provided by Excel; and the data and Excel presentation objects are contained within the same workbook file. Power Pivot supports files up to 2GB in size and enables you to work with up to 4GB of data in memory. </snip>

This article describes the change to memory management you mentioned, and it's effects:

<snip>

Large Address Aware capability change for Excel

Applies to: Excel for Office 365Excel 2016Excel 2013

https://support.microsoft.com/en-us/help/3160741/large-address-aware-cap...

... This change lets 32-bit installations of Excel 2016 consume double the memory when users work on a 64-bit Windows OS. The system provides this capability by increasing the user mode virtual memory from 2 gigabytes (GB) to 4 GB.

This change provides 50 percent more memory (for example, from 2 GB to 3 GB) when users work on a 32-bit system.

</snip>

#5 OneDrive.

If you are not using OneDrive you should also make sure to turn off the part of OneDrive that loads at boot time.  It has a high startup impact. In win 10 go to task manager > Startup tab.

 

Eloy Caballero X 0
EC

I just wanted to share my work on the subject of spreadsheet limits, which I began in 2014 for a Eusprig conference. Some of the points in this Modano article are dealt with in my book. For anyone who whises to download it, it's free in pdf format. Thank you. Have a nice day.

Spreadsheet Limits 2018

Michael Hutchens A+ 189

Ron - thanks for your input. The 1GB limit on Excel 2010 (and older) 32-bit is pretty cut and dry, you can write a basic macro which loads strings into memory and watch Excel crash as its memory exceeds 1GB in Task Manager. So I'm not sure about the other references you've mentioned. In any case Excel 2016 gives you a 50% increase, so the 64-bit version is rarely required when not handling big data models - in my humble opinion...

Eloy - thanks for referencing your Spreadsheet Limits 2018. Am I missing something, or is that document in Spanish? And, if so, do you have an English version?

Jura Stanaityte A+ 0

Just noticed that Eloy's book is linked to at the end of the text in Spanish, under "Descarga" (it is a .pdf file, in English).

Eloy Caballero X 0
EC

My website is in Spanish but the book is in English. Look for the download section (Spanish Descarga) at the bottom of the article or on the right side of the web.

Tarjei Kirkesaether A+ 58
TK

These tips are really helpful - good recipe to set up a new laptop. Only thing I've noticed (and I'm not sure if it is related to any of the changes in Michaels original post) but the rendering of Traverse window in Windows 10 seems to be a bit "off". Has anyone else encountered this?

Michael Hutchens A+ 189

Hi Tarjei - Rendering is always a challenging one as it's impacted by a lot of things like drivers and display settings.

We often find users have issues with Excel rendering when they buy new machines with non-100% zoom settings and/or multiple monitor displays.

Are you able to take a screen shot of the rendering issues you're experiencing?

Thanks, M.

Tarjei Kirkesaether A+ 58
TK

Thank you Michael, but this morning Win10 kindly offered to adjust the display settings to correct dialog boxes appear blurry and this has fixed this problem. I have 4 monitors set up so that probably caused it in the first place.

Cheers

Michael Hutchens A+ 189

For everyone on this thread it's worth noting that our moderator has amended the initial thread to remove the recommendation against the 64-bit version of Excel 2016.

This was a buggy and volatile Excel release, but the current 64-bit version of Excel desktop no longer has these issues, and we recommend it as a means of improving performance and stability.

Something I'd also add to the above comments is switching the When using multiple displays setting within the User Interface options section of the Excel Options dialog (File tab, Options button) for Optimize for compatibility, as shown below. This addresses most issues with some of the more powerful Modano tools, such as Traverse Formula and the Precedent Links pane drag-and-drop functionality.