Automatically Recalculating and Updating Formulas
To turn off automatic formula calculation and updates
To recalculate an individual cell
Overview
By default, the control recalculates formulas when the contents of dependent cells change. You can turn this recalculation off. You can also recalculate an individual cell.
Also by default, the control updates formulas when you insert or delete columns or rows or when you move or swap blocks of cells. You can turn off these automatic formula updates. However, generally, you probably want the control to update formulas when you insert or delete columns or rows or when you move or swap blocks of cells.
Keep in mind how turning off automatic formula updating might impact the control if the user moves data, adds rows or columns, or performs other actions that affect the location of data.
When automatic formula updating is on, the control updates absolute and relative cell references, as follows:
-
When the control is updating formulas, it updates absolute cell references when the cell referenced by the formula is part of the block that has changed.
For example, if you have a formula in cell C3 that references cell A1, which uses an absolute reference, and then add a row to the top of the sheet, you now want the formula to reference cell A2, because cell A1 is empty. If the control did not update the formula, your formula would be referencing different data.
-
When the control is updating formulas, it updates relative cell references when the cell referenced by the formula is not part of the block that has changed.
For example, if you have a formula in cell C3 that references cell C1 as a relative reference, it references cell C1 as the cell that is two cells above it. If you add a row between row 2 and row 3, cell C3 is now C4, and the relative address references cell C2, the cell two cells above it. Therefore, to use the same data in the formula, the control updates the cell reference to the cell three cells above it, C1.