Modernize Studio
Language: English
Get a free proposal

Microsoft Excel

Slow, heavy Excel file: causes and fixes

Does Excel freeze at every change and take forever to save? Here is where the weight hides and how to get rid of it.

By Modernize StudioUpdated 6 min read

In short

  • The weight often comes from formatted but empty cells: Excel keeps them even when they contain nothing.
  • Formulas on entire columns and functions that recalculate at every change slow down the whole file.
  • Excel for Microsoft 365 has a command that finds and cleans up unneeded cells, on the Review tab.
  • The binary .xlsb format makes the file smaller and speeds up opening and saving.
  • If the file stays slow with lots of data and several users, that data is ready for a database.

Signs of a bloated file

  • Every change freezes Excel for a few seconds, while the calculation progress shows at the bottom of the window.
  • The file is many megabytes in size even though the data is only a few thousand rows.
  • The scroll bar is tiny: Excel thinks the sheet goes much further down than the data.
  • Opening and saving take minutes, especially from a network folder.

A quick test: press Ctrl+End on each sheet. Excel jumps to the last cell it considers used; if that is much further down or to the right of your data, the sheet contains unneeded cells.

Where the weight hides

Microsoft lists the most frequent causes of slowness. The amount of data is hardly ever to blame: the weight comes from the way the file is built.

  • Excess formatting: colors, borders and formats applied to entire rows or columns, even where there is no data. Excel has to store all of it.
  • Formulas on entire columns: in some formulas, a reference to a whole column forces Excel to go through more than a million rows.
  • Functions that always recalculate: some functions, such as OFFSET and INDIRECT, are recalculated at every change in any cell, together with the formulas that depend on them.
  • Lookups on large data: exact-match lookups across tens of thousands of rows are slow, especially when repeated in many cells.
  • Conditional formatting: it is evaluated at every recalculation; rules copied over huge ranges slow down scrolling too.
  • Links to other files: formulas that read from other workbooks, especially over the network, slow down opening and calculation.
The same data can weigh much more or much less: it depends on how the file is built.

Cleaning up unneeded cells with Excel's tools

First of all, make a copy of the file: that is the rule for any cleanup, even when it can be undone.

  1. The performance command

    In Excel for Microsoft 365, open the Review tab and choose Check Performance. Excel counts the blank cells that have formatting or non-printing characters and lets you optimize one sheet or the whole workbook.

  2. The Inquire add-in

    Microsoft 365 business editions also include Inquire: turn it on from File › Options › Add-ins, choosing COM Add-ins. Its tab has a command for removing excess formatting, Clean Excess Cell Formatting.

  3. Save and check

    Save, close and reopen the file. Ctrl+End should take you close to the last cell with data, and the file size should go down.

Microsoft warns that cleaning excess formatting with Inquire cannot be undone: the copy of the file must be made first. And do not optimize sheets that use colored cells as a drawing: Excel cannot tell them apart from unneeded cells and clears them. If it happened with Check Performance, Microsoft says to use Undo to get those cells back.

Lighter formulas, without rewriting everything

You do not need to be an expert to avoid the most common traps:

  • Turn lists into tables with Insert › Table: formulas that use them follow the data instead of looking at entire columns.
  • Replace functions that always recalculate when there is an alternative: Microsoft names OFFSET and INDIRECT among the heaviest.
  • To add up values with conditions, choose functions such as SUMIFS over array formulas: Microsoft describes them as faster.
  • Turn results that no longer change into values, for example closed months: copying and pasting them as values removes formulas that are no longer needed.
  • Limit conditional formatting to the ranges that contain data, and delete duplicate rules.

If every change holds up your work, you can switch to manual calculation for a while from Formulas › Calculation Options and press F9 when you need the results. Remember to switch back to automatic: with manual calculation the numbers stay out of date until you recalculate.

Would you like an opinion on your case?

Send us the file: within 48 hours you receive a free written assessment, even if the answer is that a small fix is enough.

How our prices work

File format and Excel version

  • The .xlsb format: Excel's binary format produces smaller files that open and save faster. It supports macros and co-authoring.
  • 64-bit Excel: the 32-bit version can use only a limited amount of memory; with very large files, 64-bit Excel copes better. Before switching, check that the add-ins and macros you use work in 64-bit.
  • One heavy file at a time: when Excel recalculates, it recalculates every open workbook. Closing the ones you do not need lightens the load.
  • Few external links: if a file reads data from other files on the network, consider importing that data once instead of linking to it. To find and manage them, see the guide Excel asks to update links.

When the problem is Excel, not the file

A sheet with tens of thousands of rows, linked to other files and used by several people, is doing a database's job. It can be slimmed down, but it will slow down again as the data grows.

In these cases it is worth moving the data into a database and leaving calculations and reports to Excel, or turning the file into a web application. Here is how we turn Excel workbooks into web applications. If several people use the file, also read the guide to Excel shared by several people.

Frequently asked questions

Why is the file so large when there is so little data?

Almost always because of formatting applied to entire rows or columns, beyond the data. Ctrl+End shows how far Excel considers the sheet used; the extra cells can be cleaned up from the Review tab.

Does the .xlsb format have any drawbacks?

It holds the same data, supports macros and is smaller. Some external programs that read Excel files, however, only accept .xlsx: check before changing format.

Does manual calculation fix the slowness?

It removes the waiting while you enter data, but it does not remove the causes. With manual calculation the results stay out of date until you press F9: use it with care.

Is the performance command in every version?

No, it is in Excel for Microsoft 365. In other versions you can delete the empty rows and columns beyond the data by hand, then save and reopen the file.

How many rows can Excel handle before it slows down?

There is no fixed number: it depends on formulas, formatting and memory. A hundred thousand rows with simple formulas can be fine, while a few thousand rows with many lookups can slow down a lot.

Sources

  1. Microsoft: clean up cells in your workbook
  2. Microsoft: clean excess cell formatting on a worksheet
  3. Microsoft: tips for optimizing Excel performance

Official Microsoft pages.

Related guides

Related services

All guides

Contact

We work in writing: everything stays on record, so you can show it to your accountant or your IT person.

Send us your file

  1. Make a copy of the file; test data is fine.
  2. Attach it to your message. If you would like a non-disclosure agreement first, write to us without attaching the file.
  3. Within 48 hours you will receive the free written assessment and the price of a pilot module.

We work from Italy.

Describe your project in a few lines

A small request is fine too. If anything is missing, we will ask you.

Fields marked * are required.

For example: what the workbook is used for · how many people use it · Excel version, if known · does it read from or write to other files?

Attachment(optional)

Databases, Excel files, screenshots or a specification. For larger files, include a download link in your message. We only work on copies and delete them at the end of the project, with written confirmation.

Reply within one working day. Free proposal, no obligation.

Get a free proposal