Stop Excel calculation not responding

Formulas

How to Fix Excel Formulas that are Not Calculating or Updating

July 20, 2021
19 comments

Bottom Line: Learn about the different calculation modes in Excel and what to do if your formulas are not calculating when you edit dependent cells.

Skill Level: Beginner

Watch the Tutorial

Watch on YouTube & Subscribe to our Channel

Download the Excel File

You can follow along using the same workbook I use in the video. I've attached it below:

Loan Amortization Schedule Manual Calc Example.xlsx

Why Aren't My Formulas Calculating?

If you've ever been in a situation where the formulas in your spreadsheet are not automatically calculating as they should, you know how frustrating it can be.

This was happening to my friend Brett. He was telling me that he was working with a file and it wasn't recalculating the formulas as he was entering data. He found that he had to edit each cell and hit Enter for the formula in the cell to update.

And it was only happening on his computer at home. His work computer was working just fine. This was driving him crazy and wasting a lot of time.

The most likely cause of this issue is the Calculation Option mode, and it's a critical setting that every Excel user should know about.

To check what calculation mode Excel is in, go to the Formulas tab, and click on Calculation Options. This will bring up a menu with three choices. The current mode will have a checkmark next to it. In the image below, you can see that Excel is in Manual Calculation Mode.

When Excel is in Manual Calculation mode, the formulas in your worksheet will not calculate automatically. You can quickly and easily fix your problem by changing the mode to Automatic. There are cases when you might want to use Manual Calc mode, and I explain more about that below.

Calculation Settings are Confusing!

It's really important to know how the calculation mode can change. Technically, it's is an application-level setting. That means that the setting will apply to all workbooks you have open on your computer.

As I mention in the video above, this was the issue with my friend Brett. Excel was in Manual calculation mode on his home computer and his files weren't calculating. When he opened the same files on his work computer, they were calculating just fine because Excel was in Automatic calculation mode on that computer.

However, there is one major nuance here. The workbook [Excel file] also stores the last saved calculation setting and can change/override the application-level setting.

This should only happen for the first file you open during an Excel session.

For example, if you change Excel to manual calc mode before you save & close the file, then that setting is stored with the workbook. If you then open that workbook as the first workbook in your Excel session, the calculation mode will be changed to manual.

All subsequent workbooks that you open during that session will also be in manual calculation mode. If you save and close those files, the manual calc mode will be stored with the files as well.

The confusing part about this behavior is that it only happens for the first file you open in a session. Once you close the Excel application completely and then re-open it, Excel will return to automatic calculation mode if you start by opening a new blank file or any file that is in automatic calculation mode.

Therefore, the calculation mode of the first file you open in an Excel session dictates the calculation mode for all files opened in that session. If you change the calculation mode in one file, it will be changed for all open files.

Note: I misspoke about this in the video when I said that the calculation setting doesn't travel with the workbook, and I will update the video.

The 3 Calculation Options

There are three calculation options in Excel.

Automatic Calculation means that Excel will recalculate all dependent formulas when a cell value or formula is changed.

Manual Calculation means that Excel will only recalculate when you force it to. This can be with a button press or keyboard shortcut. You can also recalculate a single cell by editing the cell and pressing Enter.

Automatic Except for Data Tables means that Excel will recalculate automatically for all cells except those that are used in Data Tables. This is not referring to normal Excel Tables that you might work with frequently. This refers to a scenario-analysis tool that not many people use. You find it on the Data tab, under the What-If Scenarios button. So unless you're working with those Data Tables, it's unlikely you will ever purposely change the setting to that option.

In addition to finding the Calculation setting on the Data tab, you can also find it on the Excel Options menu. Go to File, then Options, then Formulas to see the same setting options in the Excel Options window.

Under the Manual Option, you'll see a checkbox for recalculating the workbook before saving, which is the default setting. That's a good thing because you want your data to calculate correctly before you save the file and share it with your co-workers.

Click to enlarge

Why Would I Use Manual Calculation Mode?

If you are wondering why anyone would ever want to change the calculation from Automatic to Manual, there's one major reason. When working with large files that are slow to calculate, the constant recalculation whenever changes are made can sometimes slow your system. Therefore people will sometimes switch to Manual mode while working through changes on worksheets that have a lot of data, and then will switch back.

When you are in Manual Calculation mode, you can force a calculation at any time using the Calculate Now button on the Formulas tab.

The keyboard shortcut for Calculate Now is F9, and it will calculate the entire workbook. If you want to calculate just the current worksheet, you can choose the button below it: Calculate Sheet. The keyboard shortcut for that choice is Shift + F9.

Here is a list of all Recalculate keyboard shortcuts:

ShortcutDescription
F9Recalculate formulas that have changed since the last calculation, and formulas dependent on them, in all open workbooks. If a workbook is set for automatic recalculation, you do not need to press F9 for recalculation.
Shift+F9Recalculate formulas that have changed since the last calculation, and formulas dependent on them, in the active worksheet.
Ctrl+Alt+F9Recalculate all formulas in all open workbooks, regardless of whether they have changed since the last recalculation.
Ctrl+Shift+Alt+F9Check dependent formulas, and then recalculate all formulas in all open workbooks, regardless of whether they have changed since the last recalculation.
Source: Microsoft: Change formula recalculation article

Macro Changing to Manual Calculation Mode

If you find that your workbook is not automatically calculating, but you didn't purposely change the mode, another reason that it may have changed is because of a macro.

Now I want to preface this by saying that the issue is NOT caused by all macros. It's a specific line of code that a developer might use to help the macro run faster.

The following line of VBA code tells Excel to change to Manual Calculation mode.

Application.Calculation = xlCalculationManual

Sometimes the author of the macro will add that line at the beginning so that Excel does not attempt to calculate while the macro runs. The setting should then changed be changed back at the end of the macro with the following line.

Application.Calculation = xlCalculationAutomatic

This technique can work well for large workbooks that are slow to calculate.

However, the problem arises when the macro doesn't get to finishperhaps due to an error, program crash, or unexpected system issue. The macro changes the setting to Manual and it doesn't get changed back.

As I mention in the video, this was exactly what happened to my friend Brett, and he was NOT aware of it. He was left in manual calc mode and didn't know why, or how to get Excel calculating again.

Therefore, if you are using this technique with your macros, I encourage you to think about ways to mitigate this issue. And also warn your users of the potential of Excel being left in manual calc mode.

I also recommend NOT changing the Calculation property with code unless you absolutely need to. This will help prevent frustration and errors for the users of your macros.

Conclusion

I hope this information is helpful for you, especially if you are currently dealing with this particular issue. If you have any questions or comments about calculation modes, please share them in the comments.

Previous The LAMBDA Function Explained How to Create Custom Functions in Excel
Next 3 Ways to Combine Text in Excel Formulas, Functions & Power Query

You may also like

IF Formula Tutorial for Excel Everything You Need To Know

How to Prevent #SPILL Errors in Excel Tables

5 Ways to Find and Remove Blank Spaces in Excel

The LAMBDA Function Explained How to Create Custom Functions in Excel

  • Juan Carlos Fernández Álvarez says:
    July 20, 2021 at 12:13 pm

    When you turn on the computer and the first spreadsheet you open is in manual mode, if you open more spreadsheets while the first spreadsheet is open, these inherit the manual mode.
    ¿True or False?

    Reply
    • Jon Acampora says:
      July 21, 2021 at 10:27 am

      Hi Juan Carlos,
      That is true/correct! I just rewrote the section in the article titled Calculation is an Application Level Settings to help explain this more clearly.

      The calculation mode is NOT associated with or attached to the file. It is a setting at the [Excel] application level that applies to all workbooks you have open on your computer.

      Therefore, the setting does NOT travel with the workbook. If you are in manual calc mode and send a file to your co-worker, it will NOT change their computer to manual calc mode. Their computer will remain in the calc mode that it was already in, which is usually automatic calc mode.

      I hope that helps. Thanks again and have a great day!

      Reply
  • Krist Walicky says:
    July 21, 2021 at 6:31 pm

    Hi Jon,
    Thanks for addressing this topic. My follow-up question would it be the same for all online Excel files? I primarily work in SharePoint and different users have the same access to the same files. Is there any risk one user could switch the application level setting and affect all the SharePoint files?
    We have not had this trouble in the past but your article makes me wonder how this affects common spreadsheets used in SharePoint or the online version.

    Personally, I have not needed to use manual calculation in some time since I believe the PC hardware finally caught up with the software demands. I use a Lenovo laptop with an i7 processor with 16 gigs of RAM. Excel calculates quickly, even in a monster 10 meg spreadsheet with 30+ tabs/worksheets in the file. A reasonable processor can move through the calcs rather quickly in current times. Microsoft must have generally improved the calculating performance.

    On the topic of one file affecting others I would love to hear your expert advice on recommendations for formulas that link to independent spreadsheets on SharePoint or files used in the cloud. Generally linking between files.

    One issue we have is that once the file connecting links are established, its difficult to rename the files or to move the files to another subfolder. I hope you consider a future topic of linking between files.

    Thanks for your great Blog topics they are always interesting and informative!
    -Krist

    Reply
    • Jon Acampora says:
      July 22, 2021 at 11:10 am

      Hey Krist,
      Great question! If you are working in the online web app [browser] version of Excel then this should not be an issue. The online version of Excel does not have Manual Calc mode yet, and I dont know that it will in the future.

      If you are opening the SharePoint files on the desktop app, then the same rules apply. Whatever calculation mode that Excel is in will apply to all files you open on the desktop app.

      However, opening a file that was in manual calc mode on someone elses computer will NOT change your computer to manual calc mode.

      The only way this can really happen is if you change the calc mode or if a macro changes the calc mode.

      I love the suggestion on the post about formula links with SharePoint or OneDrive files.

      We do have a post that covers formula links.

      //www.excelcampus.com/functions/vlookup-other-workbooks/

      But it does not cover your question on best practices for renaming files, especially ones stored on cloud drives.

      We will add that to our list for future posts.

      Thanks again and have a nice day!

      Reply
    • Jon Acampora says:
      July 22, 2021 at 3:17 pm

      Hey Krist,
      I misspoke on my previous reply. If you are using the desktop app and open a file that was saved in manual calc mode by someone else, then that can change your Excel into manual calc mode. This ONLY happens if the file is the first file you open in the Excel session.

      I added a section to the post titled Calculation Settings are Confusing! that explains this behavior in more detail.

      Thanks again!

      Reply
  • Timothy Bowren says:
    July 22, 2021 at 5:18 am

    I often have issue with user defined functions not calculating when not on the active sheet.

    Reply
  • Timothy Bowren says:
    July 22, 2021 at 5:20 am

    One other reason to switch to manual calculation is when you are changing links to data files and there are a lot of calculations that have to change the link. Switching to manual speeds up the change of the link.

    Reply
    • Jon Acampora says:
      July 22, 2021 at 3:18 pm

      Thanks for the tip, Timothy!

      Reply
  • JC Preciado says:
    July 23, 2021 at 9:48 pm

    Hi Jon,
    I have a question regarding the loan amortization schedule spreadsheet you used in your video. In the past, I would be able to run numbers on this spreadsheet and the rows would expand based on the number of payments that were required to satisfy the loan. However, now if I enter 15 years the rows do not expand to show me the full schedule. Do you know why that is? Im assuming its something MS did when they updated Excel. Did they change the formula? Im on Excel 2016. Thank you!

    Reply
  • JC Preciado says:
    July 23, 2021 at 9:49 pm

    By the way, its set for automatic calculation.

    Reply
  • Atef darwish says:
    July 24, 2021 at 3:45 am

    Dear, I have to thank you for your efforts.
    Could you please provide me by the pivot table [ explain how to do with many financial statement for many companies] I will be appreciate your help.
    Regards

    Reply
  • Sue says:
    July 28, 2021 at 6:18 pm

    Im trying to sum three cells that contain formulas [=sum[A1,B1,-C1]]. The formulas state that if a number is not found, return blank. Im finding that if C1 doesnt contain a number, the summation cell returns #Value. Any suggestions? Am I subtracting C1 correctly? It works if the C1 formula returns a number. Using Microsoft 365.

    Reply
    • Pops says:
      August 17, 2021 at 7:12 am

      Would this work for you?
      =sum[a1,b1,if[isnumber[c1],-c1,0]]

      Reply
      • Sue says:
        August 17, 2021 at 12:56 pm

        OMG, thank you so much. Works like a charm!!

        Reply
  • Avocet says:
    August 6, 2021 at 4:46 am

    Thanks! Saved me a ton of screwing around looking for the fix.

    Reply
  • Mitch says:
    August 23, 2021 at 7:58 am

    I switch to manual calculation a lot because I use a lot of very large files. I have found it extremely helpful to put the Manual and Automatic buttons on the Quick Access Toolbar. Currently those buttons have checkboxes next to them which makes it easy to switch and to note when I have forgotten to put it back to Automatic.

    Reply
  • Luis says:
    September 16, 2021 at 1:34 pm

    Hi Jon. I have an issue and I couldnt fix it with any of your tips. When I make many scans at once, the calculations on the cells that depend on them work randomly. Some show the result, some not. I couldnt find a pattern but it is very frustrating. Even calculating manually doesnt work. Strange is that the file was working perfectly yesterday and nothing change on it.
    I noticed that in the status bar appears Calculate. Clicking on it also sometimes works, some others nothing happenes.
    Thank you for your time if you take a look at this!

    Reply
  • Margaret says:
    October 8, 2021 at 9:14 am

    AutoSum not calculating filtered data, any suggestions why?
    I need empty cells as part of that column, could that be messing me up?

    Reply
  • Gregory Kelly says:
    November 15, 2021 at 7:45 am

    The advice in this video was spot on and corrected my problem. Now the big mystery is how the setting for calculation got set to manual as there is no VBA code I am doing and while not beyond the realm of possibility of accidentally turning it on, I was glad to come across this video and the solution!

    Reply
  • Search

    More results...

    Generic filters
    Hidden label
    Exact matches only

    JOIN US & LEARN EXCEL

    Learn 10 great Excel techniques that will wow your boss and make your co-workers say, "how did you do that??"
    Plus weekly updates to help you learn Excel.

    Download the eBook

    Excel Shortcuts List

    Learn over 270 Excel keyboard & mouse shortcuts for Windows & Mac.

    Excel Shortcuts List

    Join Our Weekly Newsletter

    The Excel Pro Tips Newsletter is packed with tips & techniques to help you master Excel.

    Join Our Free Newsletter

    About Me

    Hello and welcome! My name is Jon Acampora and I'm here to help you learn Excel.

    This blog is updated frequently with Excel and VBA tutorials & tools to help improve your Excel skills and save time with your everyday tasks. Subscribe above to stay updated. More about me...

    BLOG CATEGORIES

    • Add-ins
    • Charts & Dashboards
    • Functions & Formulas
    • Keyboard Shortcuts
    • Pivot Tables
    • Power Pivot
    • Power Query
    • Tables
    • Tips & Techniques
    • VBA & Macros

    Video liên quan

    Chủ Đề