XL: How to Force MS Excel to Always Reference the Same CellID: Q51918
|
To continually reference the same cell in a formula in Microsoft Excel, use the INDIRECT function.
Absolute referencing references the same cell as long as no cells are
added or deleted in the column above the cell you are referencing. This
means that when you insert or delete a column so that the cell you are
referencing is moved, the formula references the new cell location.
For example, if you type the value 10 in cell A1 and refer to it in cell
B1 with the formula "=$A$1" (without the quotation marks), the value 10
appears in cell B1. If you then insert a cell over cell A1 so that the
value 10 is moved to cell A2, the formula in cell B1 is "=$A$2."
To anchor the same reference while you insert or delete rows, columns, or
cells, use the INDIRECT worksheet function. For example, if you want Excel
to always reference cell A1, use the following formula:
=INDIRECT("$A$1")
=SUM(INDIRECT("$A$1:$A$10"))
indirect
Additional query words: sort lock
Keywords : xlformula
Version : MACINTOSH:3.0,4.0,5.0,98; WINDOWS:3.0,4.0,5.0,7.0,97
Platform : MACINTOSH WINDOWS
Issue type :
Last Reviewed: March 16, 1999