Excel ran out of resources while attempting to calculate one or more formulas.

Copper Contributor

Please see attachment (screenshot).


How can I correct my formulas so this message does not appear?


Thank you.



11 Replies

You might be able to avoid the error message about running out of resources by closing all workbooks and add-ins that you aren't using. You can also help yourself by using PivotTables instead of building reports using formulas.


If the scrollbar travel extends far beyond the bottom of your data, delete those blank rows, save the workbook, close the workbook, then reopen it. The scrollbar travel should now match the data in your worksheet. You should notice a reduction in file size as well as snappier recalculation.


Are you using 64-bit Office? If not, you should be. The 32-bit Office is limited to a maximum 4 GB of memory, even if you have more installed on your computer. This memory pool must be shared between Excel, add-ins and open workbooks. 64-bit Excel can use all the memory you have on your computer (the limit is thousands of gigabytes).


You can check whether you have 32 or 64 bit using the File...Account...About Excel ribbon item. The first line of the resulting dialog should look something like:

Microsoft® Excel® for Microsoft 365 MSO (Version 2110 Build 16.0.14509.20000) 64-bit 


If you have 32-bit Excel and want 64-bit, uninstall Office then reinstall it making sure to specify that you want 64-bit Office. You won't lose any email or settings while doing this.


I saw "Calculate" in the status bar at the bottom of your Excel window, so I know you have such a complicated set of workbooks that Excel can't maintain its calculation tree.


In the screenshot in your attached Word document, I see a formula with far more parentheses than are needed. The extras should be deleted for clarity. Was there a sale on parentheses?


Your formula was comparing the results of the DAY function to 365. The DAY function returns the day of the month--a number between 1 and 31.


If the above suggestions aren't solving your problem, please post your workbook for more specific suggestions.


Why do you think that's this formula causes an error? Usually such errors appears due to wrong use of dynamic array formulae, especially when you shift from former version of Excel on one which supports dynamic arrays.

This error is coming up on ALL of my workbooks. I have deleted formula data. I have deleted smaller not important workbooks. I have checked and traced errors. I cannot find them. I have a 64 bit office already. The error pops up every time I add something new or open a workbook.


Could you share one of such workbooks removing sensitive information?


Okay, so the other day when I asked this question, it was doing it on all of my workbooks like previously stated. But right now, it is only doing it on one workbook. However i have removed a lot of unnecessary data. I have checked for errors on all my sheets and removed or ignored them all.


I went to the highlight "credit tip" column pictured and changed all those formulas to the number the formula created and it says it is an error and says "This cell in inconsistent with the column formula. " maybe this has something to do with it.


In some cells, I have formulas like this "=14.98+15.57" instead of "=SUM(14.98+15.57)" maybe that is why?Screenshot (104).pngScreenshot (106).png

It gives me this error when I try to exit out of the workbook as well.


I don't think above are reasons, something else.

Do you have an idea of what the problem would be?

Here is the solution  ..


this error is a pain in the neck ...  


Go to files/Options/ Formulas 


Then , click on Manual  and Uncheck    Recalculate workbook 

this is a good solution for those who don't eal with formulas and only keep records of simple things  ..

@jameswall555 To everyone who has provided assistance to me regarding my post; firstly, thank you for that. Secondly, it was so long ago, that I don't even remember it, sorry, but thank you anyway.