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.