Excel Error "Excel ran out of resources while attempting to calculate" upon calculation interruption

Anonymous
2025-02-06T22:04:26+00:00

I am using Excel, latest version for Mac, 16.93.1 (25011917), and following a recent update either to 16.93 or 16.93.1 I have systematically an error message if I interrupt a calculation : "Excel ran out of resources while attempting to calculate one or more formulas. As a result, these formulas cannot be evaluated." after this error I must always quit excel and restart which is very annoying. Anyone having the same issue ?

Microsoft 365 and Office | Excel | For business | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

63 answers

Sort by: Oldest
  1. Anonymous
    2025-03-29T02:24:46+00:00

    There appears to be a memory leak in Excel when using LAMBDA function. I have a spreadsheet with a table named BasData containing 4,000 rows of data, about 10 columns. Nothing unusual, just a list of expenses and their categorizations.

    Operating on that set of data I have about 20 FILTER formulas using MAP with LAMBDA to get a "spill"-type lists with specific things I am looking for in the data set.

    In my case, I get immediate "out of resources" error soon after I open the spreadsheet and add a few rows of data or do a simple addition in the cell. I suspected LAMBDA being the cause. So, I then went through all the MAP+LAMBDA functions and redesigned them using the traditional MAP without LAMBDA. The problem went completely away.

    Example (causing errors, all other formulas are very similar):

    =FILTER(BasData[Amount],

             MAP(BasData[Category], 
    
                     BasData[Keyword], 
    
                     LAMBDA(cat, key, 
    
                                    (cat="Foo Bar")\*(key=G71))))
    

    Example or "traditional" solution not using LAMBDA that fixed the problem:

    =FILTER(BasData[Amount],

             (BasData[Category]="Foo Bar")\*(BasData[Keyword]=G71))
    

    There should be no difference in the outcome of these two functions as they perform identically.

    LAMBDA appears to be the root cause here, and given that the error happens when it operates on the whole table of data it is likely due to some memory leak that grows with the invocation of the LAMBDA on every row.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-03-29T14:06:57+00:00

    I also believe it is a memory leak.

    In my example, it I increase the number of iterations until it fails then it will subsequently fail on a smaller number of iterations that had previously worked.

    I have to reboot to enable the smaller number of iterations to work again.

    Was this answer helpful?

    0 comments No comments
  3. Jim G 134.1K Reputation points MVP
    2025-03-29T21:49:06+00:00

    Hi

    Microsoft is seeking additional example workbooks and steps to reproduce this issue. Anyone affected please use the Menu Bar and choose Help > Feedback > Report a Problem whenever the ran out of resources error occurs. More examples are needed to track this problem down and fix it.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-04-04T08:13:57+00:00

    We're experiencing the same issue for the past month, in a workbook that includes advanced LAMBDA formulas. We're currently on the Microsoft 365 Monthly Enterprise Channel.

    Has anyone seen a resolution or workaround for this yet?

    Was this answer helpful?

    0 comments No comments
  5. Jim G 134.1K Reputation points MVP
    2025-04-04T21:16:45+00:00

    As I said, Microsoft is aware of the problem and is seeking more example workbooks to test.

    Generate a workbook that illustrates the problem. Send it to Microsoft using the Menu Bar and choosing Help > Feedback > Report a Problem.

    Was this answer helpful?

    0 comments No comments