Why Is My Spreadsheet So Slow? How to Speed Up Large Files

Most slow spreadsheets are slow for one of three reasons: they recalculate far more often or far more widely than they need to, they hold more data, formatting or used range than the job requires, or they wait on external links, queries or add-ins. The fix is usually a change to a few formulas, ranges or workbook settings, not new hardware.

This guide works through the problem in order: how the slowdown happens, how to find the cause, which formulas and functions are responsible most often, how to choose a fix, and what each fix costs you.

What the Workbook Is Doing When It Feels Slow

Separate the four stages of work

A spreadsheet does four kinds of work, and each can be slow for different reasons.

  1. Opening: the application reads the file, restores its formatting, loads any cached pivot data and checks external links.
  2. Calculating: the application works out every formula whose inputs have changed.
  3. Rendering: it redraws the screen, including conditional formatting, charts and scrolling.
  4. Saving: it writes the whole file back to disk, which is slow when the file is large or contains many cells.

When you describe the problem to yourself, name the stage. “Typing in a cell takes three seconds” points to calculation. “It takes two minutes to open” points to opening, links or queries. “Scrolling stutters” points to rendering. The cause and the fix differ for each.

Why recalculation is usually the main cost

Every formula is a node in a dependency chain. When one input changes, the application must find every formula that depends on it, directly or through other formulas, and recalculate them in the right order. A single change near the top of a long chain can trigger tens of thousands of cells.

Some functions make this worse because they are volatile. A volatile function recalculates every time anything in the workbook changes, whether or not its inputs have changed. Its dependents do too. A workbook with a few thousand volatile formulas can feel sluggish on every keystroke, even when the data itself is small.

Small Business CEO Dashboard

Skip the setup

Small Business CEO Dashboard

Sales, costs, cash and targets on one screen. The formulas are already built, so you type the numbers and the dashboard does the rest.

See it on Taskdale →

Diagnose Before You Change Anything

Changing formulas at random wastes time and can break a model. Run this sequence first.

  1. Time the slow action. Note whether it is opening, editing a cell, filtering, sorting or saving. Repeat it twice to rule out a one-off delay.
  2. Check the calculation mode. In Excel, go to Formulas, then Calculation Options. If it is set to Automatic, every edit triggers a recalculation. If it is set to Manual, the status bar shows “Calculate” when results are out of date.
  3. Force a full recalculation. Press Ctrl+Alt+F9. If this takes much longer than a normal edit, the workbook has a heavy calculation load.
  4. Find the real used range. Press Ctrl+End. If the cursor lands on a cell at row 1,048,576 or column XFD when your data ends at row 4,000, the workbook carries empty formatting or formulas far beyond its data. This is a common source of bloat.
  5. Count the expensive formulas. Use Find and Replace to search for the names of volatile functions (TODAY, NOW, OFFSET, INDIRECT, RAND) and for whole-column references (such as A:A). Count the matches.
  6. Test in Safe Mode. Start Excel with add-ins disabled (hold Ctrl while launching, or run excel /safe). If the file opens quickly, an add-in is the cause.
  7. Check the file size and external links. Open Edit Links from the Data tab. A list of linked workbooks that are unavailable often causes long delays and repeated prompts on open.

Use the symptom table below to narrow the cause quickly.

SymptomMost likely causeFirst check
Every keystroke pausesAutomatic calculation with volatile formulasCount TODAY, NOW, OFFSET, INDIRECT
Opens slowly, then fineExternal links or pivot cache refreshEdit Links; Pivot Table Options
Scrolling stuttersConditional formatting or formatting over huge rangesConditional Formatting Rules Manager
Saving takes a long timeLarge used range, many formulas, or a large .xlsxCtrl+End; file size
Slow only on one computerAdd-in, antivirus scanning, or an older buildSafe Mode; compare versions
Slow only after sharingCloud sync, co-authoring or network latencyTest a local copy

Essential Spreadsheet Formulas and Functions That Slow Files Down

Most of the performance problems in real workbooks come from a small set of functions used in the wrong way. The functions themselves are not bad. The issue is usually how many times they run, over how many cells, and whether they are volatile.

Volatile functions: TODAY, NOW, OFFSET and INDIRECT

TODAY() and NOW() return the current date or time. Placed in a single cell, they cost almost nothing. Placed in 50,000 rows of a helper column, they force 50,000 cells to recalculate on every edit.

OFFSET() builds a range from a starting point and a set of offsets. It is often used to create “dynamic” ranges that grow as data is added. Because it is volatile, every formula that uses it recalculates constantly.

INDIRECT() converts a text string into a reference. It is volatile for the same reason, and it also makes the dependency chain hard to trace.

The usual replacement is a structured reference to an Excel Table, which expands automatically without any volatile function. For example, if your data sits in a table named tblSales, the formula =SUM(tblSales[Amount]) grows as rows are added, and it is not volatile. For dates, enter a fixed date in a labelled input cell and reference that cell, or update the date once per day using a value rather than a formula.

Whole-column references inside heavy formulas

A reference such as A:A is convenient. Used inside SUMIFS or COUNTIFS, the cost is usually manageable, because the application limits the search to the used range. Used inside SUMPRODUCT, array formulas or MATCH across many rows, the application evaluates over the full column, which can mean over a million cells per formula.

The fix is to use a bounded range (A2:A50000) or, better, a table column. The bounded range should match the data, and it should be documented, because a range that stops at row 50,000 will silently ignore row 50,001 when the data grows.

Lookups: VLOOKUP, HLOOKUP, INDEX/MATCH and XLOOKUP

Lookup functions are the most common source of slow calculation in reporting workbooks. A single VLOOKUP over 5,000 rows is trivial. Ten thousand VLOOKUP formulas, each scanning a 200,000-row table, is not.

Three rules reduce the cost.

  • Use exact-match lookups where you can. VLOOKUP(..., FALSE) or XLOOKUP with exact match checks each row until it finds the value. Approximate match (TRUE) can be faster on sorted data because it uses a binary search, but it returns wrong answers if the data is not sorted, so use it only when sorting is guaranteed.
  • Look up once, reuse the result. If the same lookup feeds five columns, put it in one helper column and reference that column.
  • Use a key column for repeated lookups. Creating a single combined key (for example, customer_id & "|" & product_code) and matching on it is often faster than matching on two criteria inside the same formula.

INDEX/MATCH and XLOOKUP have similar performance in most workbooks. XLOOKUP is easier to read and can return the first or last match directly, so it is usually the better choice for new work, provided the file will be opened only in versions that support it.

Aggregation: SUMIFS, COUNTIFS and SUMPRODUCT

For conditional totals, SUMIFS and COUNTIFS are designed for speed. They are optimised for large ranges and should be your default.

SUMPRODUCT is flexible but expensive. It multiplies and sums arrays element by element, which can mean evaluating every row for every formula. A summary sheet with 300 SUMPRODUCT formulas over 100,000 rows can take noticeably longer to calculate than a summary built with SUMIFS.

TaskFaster optionSlower optionNotes
Total where one or more conditions applySUMIFSSUMPRODUCT((cond1)*(cond2)*amount)SUMIFS accepts multiple criteria pairs directly
Count rows meeting conditionsCOUNTIFSSUMPRODUCT(--(cond))Same logic, lower cost
Lookup with two criteriaHelper key column plus XLOOKUPArray INDEX/MATCH with multiplicationArray forms recalculate heavily
Error-tolerant lookupIFERROR on a single lookupRepeated IFERROR around nested lookupsWrap once, not per intermediate step

IFERROR itself is light. The cost comes from nesting several lookups inside it, each of which evaluates in full even when an earlier one has already failed. Split the steps into helper columns so each lookup runs once.

Binsight Inventory Spreadsheet

Ready-made template

Binsight Inventory Spreadsheet

Stock in, stock out and reorder alerts that turn red before you run out. Uses lookups and conditional formatting.

See it on Taskdale →

Common Mistakes That Make It Worse

These are the errors that turn a slow file into an unusable one.

  • Copying formulas to the bottom of a million rows. Fill-down to row 1,048,576 “just in case” creates a million formulas that each evaluate, even when the data ends at row 3,000. Use a table, which extends only as far as the data.
  • Converting everything to values to speed it up. This works, but it removes the audit trail and breaks any future update. Convert only the layers that are final, and keep a copy of the formula version.
  • Turning off automatic calculation and forgetting. Manual mode is often left on after a session, and colleagues then open the file and see stale totals. Show the mode in the file’s notes.
  • Formatting whole columns or rows. Applying borders or fills to A:Z adds formatting to a million rows per column. Format the data range or the table instead.
  • Stacking conditional formatting rules. Each rule over a large range adds rendering work. Consolidate rules, and apply them to the data range, not the whole sheet.
  • Deleting rows incorrectly. Clearing contents leaves the used range intact. Delete the rows, or use Ctrl+End and reset the used range by saving after deleting empty rows below the data.
  • Keeping old backups inside the working file. Hidden copy sheets, archived tabs and “old version” columns all add to calculation and file size.

Worked Example: A 180,000-Row Sales Ledger

A sales team keeps a workbook with one data sheet of 180,000 rows, a sheet of 4,000 customer records and a summary dashboard. The dashboard takes around 40 seconds to update after any edit, and the file takes about two minutes to open.

Step 1: Diagnose. Ctrl+Alt+F9 takes roughly 35 seconds. Ctrl+End on the data sheet lands at row 1,048,576, because a previous user filled formulas down to the bottom. The search for volatile functions finds 6,000 OFFSET formulas in a helper column that builds a dynamic date range. Whole-column references appear in 1,200 VLOOKUP formulas that match customers against the customer sheet with approximate match turned on.

Step 2: Remove the bloat. The team clears the formulas below the data and resets the used range. This alone cuts the save time noticeably, because the file no longer stores a million rows of empty formatting.

Step 3: Replace the volatile formulas. The OFFSET range is replaced with a table, tblLedger. The helper column now uses a structured reference, and the date window is driven by two input cells that a person updates once a month. No volatile function remains.

Step 4: Fix the lookups. The 1,200 VLOOKUP formulas are replaced with a single XLOOKUP helper column that finds each customer’s region once, and the dashboard references that column. Approximate match is removed, because the customer sheet is not guaranteed to be sorted, and the lookup now uses exact match.

Step 5: Move the summaries. The dashboard’s 300 SUMPRODUCT formulas are rebuilt as SUMIFS on the table. Where a total depends on more than three criteria, the team loads the ledger into the data model and builds a pivot table, which the dashboard then reads.

Step 6: Measure again. The figures below are illustrative, taken from this worked example rather than from a formal benchmark. Your own timings will vary with hardware and data shape.

MeasureBeforeAfter (illustrative)
Full recalculation (Ctrl+Alt+F9)About 35 secondsUnder 3 seconds
Dashboard update after an editAbout 40 secondsUnder 2 seconds
File open timeAbout 2 minutesAbout 20 seconds
Volatile formulas6,0000
Whole-column references in heavy formulas1,2000

Step 7: Document the change. The team adds a notes sheet that lists the table names, the input cells that drive the date window, the calculation mode and the date of the last full recalculation. Without this sheet, the next person to edit the file will reintroduce the problem within a few months.

The lesson from the example is the order of work. The team removed the bloat and volatile functions first because they were cheap and safe. It moved the data last, because that was the most expensive change and only needed once the cheap fixes had been tested.

Checklist and Decision Rule

Work through this checklist in order. Stop when the workbook meets your target, and record which steps you took.

  1. Time the slow action and name the stage (open, calculate, render or save).
  2. Check calculation mode, and force a full recalculation to measure the baseline.
  3. Press Ctrl+End and remove any used range beyond the data.
  4. Count volatile functions and whole-column references in heavy formulas.
  5. Replace volatile functions with table references or input cells.
  6. Bound ranges to the data, or use tables.
  7. Consolidate repeated lookups into helper columns, and use exact match where the data is unsorted.
  8. Replace SUMPRODUCT summaries with SUMIFS or COUNTIFS where the logic allows.
  9. Review conditional formatting, data validation and pivot refresh settings.
  10. Test in Safe Mode and check external links.
  11. Measure again, and record the result and the settings in a notes sheet.

A workable decision rule: if a single edit takes more than a few seconds after steps 1 to 11, and the data feeding the formulas runs to tens of thousands of rows or more, stop tuning formulas and move the raw data into Power Query or the data model. Formula tuning has limits, and past those limits the workbook is doing a database’s job, which it does poorly.

BalanceBloom Bookkeeping Studio

Get the finished file

BalanceBloom Bookkeeping Studio

Income, expenses, profit and loss and sales tax in one bookkeeping workbook for Excel and Google Sheets.

See it on Taskdale →

Scroll to Top