Getting error "Getting error "Excel ran out of resources...."

Occasional Contributor

EDIT solution provided to me below. Thanks all.


Getting error "Excel ran out of resources while trying to calculate one or more formulas. As a result these formulas cannot be evaluated. "


Doing fairly big job with many tabs and columns and formulas, and that popped up. I went thru all the errors on the formulas>error dropdown, mostly reference errors, but still no luck. Finally I just made a safe copy of one sheet and got rid of every formula, and still same error. Then I copied and pasted entire sheet as "Value" just to be doubly sure no formulas, and same error. What the heck? How can I get an error on calculating formulas when there are no formulas?!  I uninstalled Microsoft365 and reinstalled with 64 bit version, and tried disabling multithreading, but no luck. It does seem to work when I switch to manual calculation, but that is no good for a large project with constant changes.

Any ideas? Thanks.

EDIT Addl info

8GB RAM, 900G storage of which 75% available, 64 bit operating system. No problem showing in task manager for excel.


The file is only 5 MB


10 Replies
I can open it without issue. As you said, it's just data, so it certainly shouldn't be giving you this issue. Perhaps you had a ram module go bad and you don't actually have 8GB available (assuming you probably have 2 ram modules - Win10 will technically run on 4, but it's not recommended and would surely cause a lot of resource issues)?

I believe you could test it with this

Thanks...that memtest sound good but I think it takes quite a while? I did quick Crucial scan which checks for available upgrades from them, and my PC scored above average. And I have worked with huge excel files on here- a million rows, but not much computation in those, just storage really.

My other excel files are working, but none have a formula as complicated as this type




which appears in approx 1000 cells in the sheet, in a few columns. BUT even when I delete all instances of this formula, I get the error. At this point even if I enter the number 1 into a blank cell the error pops up.

Can an excel file get corrupted by a formula, and the corruption persist even after formula removed?

best response confirmed by Philster (Occasional Contributor)
I'm afraid I'm at bit of a loss as to what the problem could be. The file you uploaded has not given me any errors, so I'm not able to reproduce the problem.
Belated thank you. I am rebuilding the sheet- not a huge deal so not worth the effort to track down error.

BTW interesting thing I should mention is I realized when that error prone file was open, and I opened another excel file while the error file stayed open, the same problem started occuring in the other excel file. When I closed the error file, the other excel files behave fine. Bizarre,
I'm sorry I couldn't be of more help. I've never had a workbook misbehave in the manner you describe and, unfortunately, the sample workbook didn't act up for me. Hopefully, rebuilding it takes care of it. Good luck.


Like Mr. Jeff Blakley (@ JMB17) You informed, I can only confirm that your file can also be opened with my Excel without problems and works perfectly.

It could probably have been array formulas.

If one does not limit the row area in an array formula, it can lead to considerable time delay.

Instead of whole columns like $ B: $ B, only use the actual cell ranges (e.g. $ B2: $ B150000).

This brings a considerable acceleration from the former approx. 3:30 minutes to approx. 10 seconds, the time difference can be considerable.


Here is some additional information from Microsoft, what could have been the reason.

"Excel cannot complete this task with available resources" error occurs in Excel 2010


I wish you continued having fun with Excel



I know I don't know anything (Socrates)


Thank you. Yes, I had whole column formulas in there that only applied to a few hundred row. That was probably the problem...but strangely it persisted even when I removed the column long formulas. I just rebuilt to sheet- only took an hour, so was less work then tracking down error. Thanks again.


Most probably you are on Office365. In AM1 you have the formula which tries to return combinations of ranges from column A to column AM with intersection.


Not sure what did you mean here, but if remove this formula


it'll be no problems with your workbook at all, at least from performance point of view.


Not 100% sure, but on Excel without dynamic arrays most probably it shall be no problems with such combination.

You nailed it! Error is gone when I remove that.

Unfortunately I rebuilt the whole thing in last few days lol. Thanks again.


Edit I can't list this as "best response" since I already gave that to a guy above who tried hard.

@Philster , you are welcome.

No problem, I don't care about best responses. More important you know now what was the reason. Even if workbook is rebuilt that could help in future.