The tutorial explains the basics of Excel calculation settings and how to configure them to have formulas recalculated automatically and manually.
To be able to use Excel formulas efficiently, you need to understand how Microsoft Excel does calculations. There are many details you should know about basic Excel formulas, functions, the order of arithmetic operations, and so on. Less known, but no less important are 'background' settings that can speed up, slow down, or even stop your Excel calculations.
Enable the automatic update for data connections or workbook links in the Trust Center To enable the automatic update for data connections or workbook links in the External Content section of the Trust Center, follow these steps: Click the Microsoft Office Button, and then click Excel Options. Click Trust Center. Click Trust Center Settings.
Overall, there are three basic Excel calculations settings you should be familiar with:
Calculation mode - whether Excel formulas are recalculated manually or automatically.
Iteration - the number of times a formula is recalculated until a specific numeric condition is met.
Precision - the degree of accuracy for a calculation.
In this tutorial, we will have a close look at how each of the above settings works and how to change them.
These options control when and how Excel recalculates formulas. When you first open or edit a workbook, Excel automatically recalculates those formulas whose dependent values (cells, values, or names referenced in a formula) have changed. However, you are free to alter this behavior and even stop calculation in Excel.
On the Excel ribbon, go to the Formulas tab > Calculation group, click the Calculation Options button and select one of the following options:
Automatic (default) - tells Excel to automatically recalculate all dependent formulas every time any value, formula, or name referenced in those formulas is changed.
Automatic Except for Data Tables - automatically recalculate all dependent formulas except data tables.
Please do not confuse Excel Tables (Insert > Table) and Data Tables that evaluate different values for formulas (Data > What-If Analysis > Data Table). This option stops automatic recalculation of data tables only, regular Excel tables will still be calculated automatically.
Manual - turns off automatic calculation in Excel. Open workbooks will be recalculated only when you explicitly do so by using one of these methods.
Alternatively, you can change the Excel calculations settings via Excel Options:
If you have turned off Excel automatic calculation, i.e. selected the Manual calculation setting, you can force Excel to recalculate by using one of the following methods.
To manually recalculate all open worksheets and update all open chart sheets, go to the Formulas tab > Calculation group, and click the Calculate Now button.
To recalculate only the active worksheet as well as any charts and chart sheets linked to it, go to the Formulas tab > Calculation group, and click the Calculate Sheet button.
Another way to recalculate worksheets manually is by using keyboard shortcuts:
Microsoft Excel uses iteration (repeated calculation) to compute formulas that refer back to their own cells, which is called circular references. Excel does not calculate such formulas by default because a circular reference can iterate indefinitely creating an endless loop. To enable circular references in your worksheets, you must specify how many times you want a formula to recalculate.
To turn on Excel iterative calculation, do one of the following:
To change the number of times your Excel formulas can recalculate, configure the following settings:
The default settings are 100 for Maximum Iterations, and 0.001 for Maximum Change. It means that Excel will stop recalculating your formulas either after 100 iterations or after a less than 0.001 change between iterations, whichever comes first.
With all the settings configured, click OK to save the changes and close the Excel Options dialog box.
By default, Microsoft Excel calculates formulas and stores the results with 15 significant digits of precision. However, you can change this and make Excel use the displayed value instead of the stored value when it recalculates formulas. Before making the change, please be sure you fully understand all possible consequences.
In many cases, a value displayed in a cell and the underlying value (stored value) are different. For example, you can display the same date in a number of ways: 1/1/2017, 1-Jan-2017 and even Jan-17 depending on what date format you set up for the cell. No matter how the display value changes, the stored value remains the same (in this example, it's the serial number 42736 that represents January 1, 2017 in the internal Excel system). And Excel will use that stored value in all formulas and calculations.
Sometimes, the difference between the displayed and stored values can make you think that a formula's result is wrong. For example, if you enter the number 5.002 in one cell, 5.003 in another cell and choose to display only 2 decimal places in those cells, Microsoft Excel will display 5.00 in both. Then, you add up those numbers, and Excel returns 10.01 because it calculates the stored values (5.002 and 5.003), not the displayed values.
Selecting the Precision as displayed option will cause Excel to permanently change stored values to the displayed values, and the above calculation would return 10.00 (5.00 + 5.00). If later on you want to calculate with full precision, it won't be possible to restore the original values (5.002 and 5.003).
If you have a long chain of dependent formulas (some formulas do intermediate calculations used in other formulas), the final result may become increasingly inaccurate. To avoid this 'cumulative effect', it stands to reason changing the displayed values via custom Excel number format instead of Precision as displayed.
For example, you can increase or decrease the number of displayed decimal places by clicking the corresponding button on the Home tab, in the Number group:
If you are confident that the displayed precision will ensure the desired accuracy of your Excel calculations, you can turn it on in this way:
This is how you configure calculation settings in Excel. I thank you for reading and hope to see you on our blog next week!