Home > Software Tutorial > Office Software > How to enter locked formula $ in excel

How to enter locked formula $ in excel

下次还敢
Release: 2024-05-02 13:33:16
Original
1167 people have browsed it

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 enter locked formula $ in excel

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:

  • Type the cell reference in the formula, such as A1.
  • Add $ sign before cell reference. For example: $A$1.

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:

  • Type the cell reference, such as A1, in the formula.
  • Add $ sign before row or column number. For example: A$1 or $A1.

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:

  • Type a cell reference, such as A1, into the formula.
  • Add $ sign before row number and column number. For example: $A$1.

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template