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. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Anonymous
    2025-03-24T04:08:57+00:00

    Thanks! I could use this example to reliably reproduce the problem (I found that NumDays=20000 would trigger). I sent this and related logs/screencapture to Microsoft Support.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-03-24T07:25:36+00:00

    Excellent, thanks. Fingers crossed for a swift resolution.

    The problem sometimes occurs with lower NumDays values but that may be related to other spreadsheets that I have open.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-03-24T08:37:21+00:00

    if power Query makes a call to stockhistory for each day then you indeed can get this resource issue.

    if, however, you first create an array of needed dates dan then you use ONE stockhistory call in regular XLS with one tickers array ($G4:$G26) and one dates array (AD$3:AJ$3) : cell AD4 =IFERROR(STOCKHISTORY($G4:$G26,AD$3:AJ$3,,2,0,1),"")

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2025-03-24T14:40:17+00:00

    I wasn't aware that stockhistory accepts arrays as arguments - that is very helpful. Thanks!

    By the way, my excel function makes a stockhistory call for each stock, not for each day.

    Was this answer helpful?

    0 comments No comments