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

%3CLINGO-SUB%20id%3D%22lingo-sub-2821634%22%20slang%3D%22en-US%22%3EExcel%20ran%20out%20of%20resources%20while%20attempting%20to%20calculate%20one%20or%20more%20formulas.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2821634%22%20slang%3D%22en-US%22%3E%3CP%3EExcel%20ran%20out%20of%20resources%20while%20attempting%20to%20calculate%20one%20or%20more%20formulas.%20As%20a%20result%2C%20these%20formulas%20cannot%20be%20evaluated%3C%2FP%3E%3CP%3EHow%20to%20find%20the%20cells%20which%20contain%20error%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2821634%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2822203%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20ran%20out%20of%20resources%20while%20attempting%20to%20calculate%20one%20or%20more%20formulas.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2822203%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1177954%22%20target%3D%22_blank%22%3E%40cornie_anghotmailcom%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWithout%20opening%20your%20file%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Ftroubleshoot%2Fexcel%2Favailable-resources-errors%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EHow%20to%20troubleshoot%20%22available%20resources%22%20errors%20in%20Excel%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EFollow%20the%20provided%20methods%20in%20this%20article%20to%20resolve%20the%20available%20resource%20error%20message%20in%20Excel.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIf%20it%20is%20not%20solved%20with%20the%20link%20%2F%20information%20above%2C%20then%20here%20with%20Inquire%20error%20analysis%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fturn-on-the-inquire-add-in-6bc668e2-f3c6-4729-8ce1-75ea20aa9d90%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ETurn%20on%20the%20Inquire%20add-in%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fanalyze-a-workbook-with-spreadsheet-inquire-5991e8fa-f1c1-401a-ae3f-469384ae3e3b%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EStart%20the%20workbook%20analysis%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Visitor

Excel ran out of resources while attempting to calculate one or more formulas. As a result, these formulas cannot be evaluated

How to find the cells which contain error?

3 Replies

@cornie_anghotmailcom 

Without opening your file

How to troubleshoot "available resources" errors in Excel

Follow the provided methods in this article to resolve the available resource error message in Excel.

 

 

If it is not solved with the link / information above, then here with Inquire error analysis

Turn on the Inquire add-in

Start the workbook analysis

 

 

@cornie_anghotmailcom 

It takes years to open your file, on my more or less modern computers its stays on

image.png

consuming all memory.

 

What I'd suggest if you are able to open your own file

- make a copy of it

- delete sheets one by one, till Out of resource alert disappears. Doesn't matter if you have errors in calculations

- return back to previous step with error and try to find wrong array formula (most probably that's the reason)

- if your Excel version supports Inquiry it helps to localize the formula.

 

Right now I waited about 15 minutes and still on about 30% of calculations. Sorry, the task is quite time consuming.

 

If I have more time will try again.

@cornie_anghotmailcom 

 

The style reduction tool (third-party) tells that this file has no less than 53016 slow calculations, which are for the most part whole-column references in formulas.

 

Excel seems to pre-allocate memory for those columns when calculating formulas, and since you are doing it with a XLSX file, it's 1 million rows that are pre-allocated for each of those whole-column references.

 

Converting this XLSX file back to a XLS file fixes the problem you are having, because then each column is made of 65536 rows, which means a lot less. Excel still pre-allocates a lot of unused rows but at least several orders of magnitude less.

 

Also, for the record, you can also remove those whole-column references to help Excel as well. For instance if the sheet being referred to with a column-wide reference such as E:E has say 500 actual rows of data, you could replace E:E in formulas with E1:E500. Or perhaps E1:E1000 if you'd like to let the data grow without having to update the formulas for some time.

 

Hope it helps.