Fix 'Excel cannot complete this task with available resources' error

Excel throws this error when you try to open or edit large files. It usually means your file has too many formulas or your computer ran out of RAM.

You're working on a spreadsheet that has a few thousand rows, maybe some VLOOKUP or INDEX/MATCH formulas, and suddenly Excel freezes. Then you get this message: "Excel cannot complete this task with available resources. Choose less data or close other applications."

This happens most often when you open a file that has full column references (like A:A) or tons of volatile functions like NOW(), TODAY(), RAND(). I've seen it on files with 50,000 rows and 20 columns of formulas — the file itself might be small, but Excel is trying to recalculate millions of cells each time you change anything.

What's actually causing this?

The real problem is that Excel runs out of RAM or CPU time because it's trying to process way more cells than you actually use. Let's say you wrote =VLOOKUP(A2, Sheet2!A:B, 2, FALSE) — that's fine. But if someone wrote =VLOOKUP(A:A, Sheet2!A:B, 2, FALSE), Excel will try to compute that formula for every single row in the column (over 1 million rows). That's the killer.

Other common triggers:

  • Volatile functions like OFFSET, INDIRECT, NOW — they recalculate every time you do anything, even just opening the file.
  • Conditional formatting applied to entire columns instead of just the used range.
  • Pivot tables with huge source ranges (like A:XFD).
  • Array formulas that spill over thousands of rows.

Step-by-step fix

I'll walk you through the most effective fix first. Start here.

  1. Close Excel completely. Don't just close the file — go to Task Manager (Ctrl+Shift+Esc) and end any Excel processes. Wait 10 seconds.
  2. Reopen Excel in Safe Mode. Hold down the Ctrl key and click the Excel icon. It will ask "Do you want to start Excel in Safe Mode?" Click Yes. If the error goes away, you know an add-in is causing it. Skip to step 5 if that's your case.
  3. Open the problem file. If it opens now without the error, the issue is with an add-in. If the error still appears, move to step 6.
  4. Disable all add-ins. Go to File > Options > Add-ins. At the bottom, next to "Manage," choose COM Add-ins and click Go. Uncheck every box. Click OK. Restart Excel normally — the file should open.
  5. If the file still gives the error, you need to clean up the formulas. Here's how:
    1. Open a new blank workbook. Go to Data > Get Data > From File > From Workbook. Select your problem file. This loads only the data, no formulas.
    2. Once loaded, right-click the table and choose Load To — pick a new worksheet. This gives you a fresh copy of the data without any of the broken formulas.
    3. Now reapply only the formulas you actually need, but never use full column references. Instead of VLOOKUP(A:A,...), use VLOOKUP($A$2:$A$5000,...) — or better, use XLOOKUP which handles ranges cleaner.
  6. Turn off automatic calculations temporarily. Go to Formulas > Calculation Options and switch to Manual. Now when you open the file, Excel won't try to recalculate everything at once. You can press F9 to recalculate only when you're ready.
  7. Check for volatile functions. Press Ctrl+F, click Options, and search for =OFFSET(, =INDIRECT(, =NOW(, =TODAY(, =RAND(, =RANDBETWEEN(. If you find any, replace them with non-volatile alternatives. For example, use =TODAY() only once in a cell, then reference that cell elsewhere instead of using =TODAY() in 100 cells.
  8. Reduce conditional formatting. Go to Home > Conditional Formatting > Manage Rules. Change the "Applies to" range from whole columns to just the rows you actually use (like $A$1:$Z$5000).
  9. Save as .xlsb (Binary Workbook). Go to File > Save As. Choose Excel Binary Workbook (*.xlsb) from the dropdown. This format is much smaller and loads faster. I've seen files drop from 15MB to 3MB just by doing this.

What to check if it still fails

If none of that worked, there are a few more things to try:

  • Check your computer's RAM. Open Task Manager (Ctrl+Shift+Esc) and look at the Performance tab. If your RAM usage is above 80% with Excel closed, close other programs. Excel 32-bit can only use 2GB of RAM. If your file needs more than that, you'll need the 64-bit version of Office.
  • Update Office. Go to File > Account > Update Options > Update Now. Microsoft has fixed some memory bugs in recent versions.
  • Try opening on a different computer. If the file opens fine on a machine with more RAM, then your computer simply doesn't have enough resources for that file. Consider splitting the file into smaller workbooks.
  • Last resort: Copy the entire sheet into a new workbook. Sometimes corruption in the file structure causes this error. Select all cells with data (Ctrl+End to find the last cell), copy, and paste into a fresh workbook.

I've fixed hundreds of these errors over the years. In 90% of cases, it's the full-column references or volatile functions. Clean those up, and you'll be fine.

Related Errors in Software – Microsoft Office
Fix Excel 'We found a problem with some content' error on open Outlook Calendar Won't Sync After Exchange Update: Fix Excel crashes on macro-enabled files? Fix the top 3 causes Word .docx corrupted after OneDrive sync conflict? Here's the fix

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.