How to use the $ sign to lock Excel formulas: Lock cell references: Add the $ sign before the cell reference, for example: $A$1. To lock a row or column reference: Add a $ sign before the row or column number, for example: A$1 or $A1. Lock a specific reference: Add a $ sign before both the row number and column number, for example: $A$1.
How to lock an Excel formula using the $ symbol
In order to lock a formula in Excel, you need to precede the cell reference Add $ sign. This will keep the formula reference unchanged even if the cell is copied or moved.
Lock Cell Reference
To lock a cell reference:
This way, whether you copy or move the formula to other cells, the cell reference will remain the same.
Lock a row or column reference
To lock a row or column reference:
This way, the formula will always refer to that row or column, even if other cells are copied or moved.
Lock specific references
To lock both row and column references:
This way the formula will always refer to that specific cell no matter what.
Example
Suppose you have a cell A1 that contains the following formula: =B1 C1. If you copy this formula to cell A2, the formula changes to =B2 C2. However, if you lock the cell reference in the formula, such as =$B$1 $C$1, the formula will remain unchanged.
By locking formula references, you can ensure that calculations are always based on the correct cells, even if the formula is copied or moved.
The above is the detailed content of How to enter locked formula $ in excel. For more information, please follow other related articles on the PHP Chinese website!