104

I have a formula in a cell which counts the values in 2 other cells. Normally, after entering in the values in these 2 other cells, the formula cell updates automatically when Enter is pressed or when the cells are clicked out of.

However, for some reason, the value calculated by the formula does not update automatically. I am having to click on the formula bar, then I have to click enter for the formula cell to do its thing.

Why is this happening?

oshirowanen
  • 1,776

8 Answers8

166

A likely cause is that Calculation is set to manual. To change this to automatic in the various versions of Excel:

  • 2003: Tools > Options > Calculation > Calculation > Automatic.

  • 2007: Office button > Excel options > Formulas > Workbook Calculation > Automatic.

  • 2010 and newer: File > Options > Formulas > Workbook Calculation > Automatic.

On Mac:

  • 2008: Excel Preferences > Calculation > Automatically

In some cases you may prefer to keep it set to manual, for example if there are many heavy calculations to perform. In such cases, you can simply press F9 when you want the calculations to update.

TylerH
  • 631
10

Confirm with Excel 2007: Office button > Excel options > Formulas > Workbook Calculation > Automatic.

Short key to refresh

Ctrl+F9

8

I had a case of this just now on Excel 2010: a particular spreadsheet that would not auto-recalculate. I changed the setting as indicated above; but the auto-recalculate still did not work, and upon rechecking the "Calculation" option, found it had reset itself back to "Manual" all by itself. Three attempts later and it was still adamant it wanted to be "Manual" and nothing else.

So here is my solution to the problem:

Copy the contents of the spreadsheet to a new one, and deleted the old one (it wasn't a particularly important spreadsheet, thankfully), and everything was fine. I can only assume that somehow the file had become corrupted.

A good reason to keep backups.

Puffin
  • 81
2

Reposting this snippet that user RFB had (inappropriately) attempted to edit into my answer:

A possible cause is that the Office Prefs file is corrupted. In OSX this can be found in:

Library/Group containers/*.office/com.microsoft.officeprefs.plist. 

Delete this file and restart the OS. A new plist file will be created when Office is restarted. Formulas recalculated again perfectly.

2

It looks like it is a "known bug" going on at least since 2012, given google results: once you open one file where the "automatic calculation" flag is set to off, all subsequent workbooks you will open will e automatically set to "automatic calculation = off". So the turn-off of automatic calculation is...automatic.

It also happens sometimes that a file gets corrupted and prevents you from re-enabling automatic calculation.

Sometimes there also can be a macro, "hidden" inside a workbook, which programmatically turns off calculation in a specific situation, but there is no way you can know it... until you notice formulas results keep not changing!

Application.Calculation = xlManual

Application.Calculation = xlAutomatic

Sources:

https://answers.microsoft.com/en-us/office/forum/office_2003-excel/excel-sometimes-sneakily-changes-automatic/d9d29b5e-e09d-4fd6-8001-2efeaaf2a71a

https://answers.microsoft.com/en-us/msoffice/forum/all/the-calculation-option-keeps-switching-from-auto/2ed29346-b946-4aaf-9c19-83911eea812e

https://www.automateexcel.com/vba/on-off-calculations/

jumpjack
  • 465
0

I also have had this problem with a very large spreadsheet that just stopped updating itself over the weekend, but having checked the above solutions, setting were already set to automatic, and sheet is too big to rebuild, so I was at a loss.

My solution was to find an old version of the same excel spreadsheet which was not having thses issuesbefore I archived it, which is of similar size and complexity to the current version.

I opened this spreadsheet, checked that this was still working and autoupdating with current installation of MS Excel and any new automatic office updates (which it did work with), and then just reopened the original spreadsheet. "Hey presto" it was working again.

0

I ran into an issue where some cells weren't calculating. I checked all the normal things, like cell type, auto calculation, etc...

What I found to be the problem was the formula and the fact that I surrounded numbers with quotes. That probably turned the cell into a text format cell, even though technically the cell was still a number and listed as one under the formats.

I stripped the quotes and the cells calculated as normal.

0

In my instance I was using a particular add-in called PI Datalink. Somehow PI's Calculate method was no longer running during the normal workbook recalculate. In Settings I had to change Automatic Update command to Full Calculate and then back again. Once the original setting had been restored, the add-in ran as normal.