FormulaSurge
All articles

excel-errors

Excel Ran Out of Resources

Fix "Excel ran out of resources while attempting to calculate one or more formulas" - whole-column ranges, volatile functions, circular references and 64-bit Excel.

  • slow excel
  • calculation
  • excel errors
  • memory
3 min readBy
Excel Ran Out of Resources

The full message reads: "Excel ran out of resources while attempting to calculate one or more formulas. As a result, these formulas cannot be evaluated." Cells that could not be calculated keep their old values, so the numbers on screen may be wrong until it is fixed.

Why it happens

A single =SUMPRODUCT((A:A="North")*B:B) reads more than a million rows. Copied down 4,000 rows, that is billions of cell reads on every recalculation. The usual causes:

  • Whole-column references in SUMPRODUCT, array formulas and lookups.
  • Volatile functions (OFFSET, INDIRECT, NOW, TODAY, RAND) that recalculate on every change.
  • Circular references with iterative calculation switched on.
  • 32-bit Excel, which can use only about 2 GB of memory.

Seven fixes

1. Stop it recalculating while you work

Formulas > Calculation Options > Manual. Press F9 when you want to calculate.

2. Check for circular references

Formulas > Error Checking > Circular References. See the circular reference guide.

3. Use real ranges, not whole columns

Change A:A to A2:A5000, or better, convert the data to an Excel Table and use Sales[Region], which grows with the data.

4. Replace OFFSET and INDIRECT

INDEX returns the same ranges without recalculating on every change.

5. Calculate repeated parts once

Move repeated expressions into a helper column or a LET variable.

6. Move to 64-bit Excel

File > Account > About Excel shows which version you have.

7. Use fewer calculation threads

File > Options > Advanced > Formulas > Use this many processors.

Still stuck?

The free Workbook X-ray lists volatile functions and whole-column references in your file, and the Slow-File Diagnoser walks through the other usual causes. More speed fixes are in Excel file too slow? 7 fixes. If the workbook runs your reporting, speed up slow Excel is a fixed-price service. All error guides are in the Excel error library.

FS

Written by

Independent Excel practice · 10+ years of hands-on Excel work

Excel specialists in Power Query, Power Pivot, VBA and financial modeling. The patterns on this page are the same patterns we build with - fixed scope, fixed price, named owner. About FormulaSurge. Stuck on a formula? Get a free fix.

Free tool · 2 mins · runs in your browser

Slow-File Diagnoser

Diagnose why your Excel file lags and discover the top 7 fixes before considering an expensive migration.

Open the tool

Related service

Need this built for your team?

See Spreadsheet Audit & Repair - fixed price in writing, built end-to-end. Not sure of the scope? A Scoping Sprint ($99 / ₹4,999) gives you an exact quote first.

Read more

Start here · Scoping Sprint

Know the exact price in 2 working days. $99, credited in full to your build.

Builds from $75, fixed in writing · Working draft in 5 days or your first payment back · Mutual NDA first if you want one

See a sample Sprint report →Who you'll work with: two partners, 10+ years on finance workbooks →

10+ years in ExcelNamed senior ownerFixed price, in writingDraft in 5 days or refundMutual NDA on request30-day warranty

Frequently asked

Questions readers ask most.

Does this error mean my PC needs more memory?

Rarely on its own. Most cases come from formulas that ask Excel to calculate far more cells than needed, such as a whole-column SUMPRODUCT copied down thousands of rows. Fix the formulas first; 64-bit Excel helps if the file is genuinely large.

Which formulas cause it most often?

SUMPRODUCT and array formulas over whole columns, long chains of INDIRECT or OFFSET, lookups that scan entire columns thousands of times, and circular references with iterative calculation switched on.

Is 'Excel cannot complete this task with available resources' the same error?

It is related. That message usually appears when copying, sorting or opening, and the same fixes apply: smaller ranges, fewer volatile functions, 64-bit Excel and splitting very large files.

How do I find the slow formulas?

Switch to manual calculation, then run the free Workbook X-ray on a copy: it lists volatile functions and whole-column references. Fix the biggest ones first and recalculate with F9 after each change.

Start with a Scoping Sprint

Want this built for your team?

Send your requirements, a sample workbook or a screenshot. We reply within one working day, and the Scoping Sprint ($99 / ₹4,999) gives you the exact price in 2 working days, credited in full to the build.

  • Written scope and fixed price before any build work starts
  • Working draft in 5 working days or your first payment back
  • Recorded walkthrough and 30-day warranty at handover
  • Mutual NDA on request
Replies within one working day, usually the same day

Calls 9am–7pm IST, Mon–Sat · How a project works

Built for teams in

Industries and cities this work is set up for

How we work

Six rules every FormulaSurge project runs on.

Not slogans. Operating rules - the same six on every dashboard, audit, macro and model.

15% OFF

15% off your first project

Start with the $99 Scoping Sprint - credited in full to your build.

View more

15% off the build fee of your first project. Mention it when you book; the Scoping Sprint is still credited in full.

The Scoping Sprint gives you a written diagnosis and a fixed price for your build in 2 working days.

Not ready yet? · Free

Free 10-minute Excel audit

Seven checks on your workbook, results in writing within one working day.