Excel cannot complete this task with available resources
Microsoft ExcelExcel cannot complete this task with available resources. Choose less data or close other applications.
Excel ran out of memory while loading or working on your data. For a big CSV, open it in MegaCSV instead: it reads the file in small slices, so memory use stays low even for files of tens of gigabytes.
Why it happens
Excel keeps the whole sheet, its formatting and any formulas in memory. 32-bit Excel can use about 2 GB in total; 64-bit Excel can use more, but a multi-gigabyte CSV still overwhelms it, and Excel shows this message (or “There isn’t enough memory to complete this action”) instead of finishing. Wording varies a little between versions.
Fix it with MegaCSV
- Drop the CSV on MegaCSV. Nothing is uploaded; the file is read on your computer.
- Filter to the rows you need, or pick only the columns you need under Export → Columns.
- Export to Excel. The smaller file opens in Excel without running out of memory.
Other ways to fix it
- Close other apps and browser tabs, then try again.
- Install 64-bit Excel if your organisation allows it.
- Load into the Data Model with Power Query (Windows) instead of a sheet.
Questions
Will more RAM fix it?
Sometimes, for files just over what Excel could handle. It won't help with files past 1,048,576 rows, because the sheet itself stops there.
Is 64-bit Excel better?
Yes. 32-bit Excel is limited to about 2 GB of memory for itself and everything it opens. 64-bit Excel can use much more, but still has the row limit.
How much memory does MegaCSV use?
It reads the file in slices of at most 16 MB and keeps only a small map of where rows start, so a 20 GB file doesn't need 20 GB of memory.
Related
Facts checked November 2, 2026.