Prevent cell numbers from incrementing in a formula in Excel

后端 未结 4 1108
囚心锁ツ
囚心锁ツ 2021-02-02 04:56

I have a formula in Excel that needs to be run on several rows of a column based on the numbers in that row divided by one constant. When I copy that formula and apply it to eve

4条回答
  •  广开言路
    2021-02-02 05:44

    TL:DR
    row lock = A$5
    column lock = $A5
    Both = $A$5

    Below are examples of how to use the Excel lock reference $ when creating your formulas

    To prevent increments when moving from one row to another put the $ after the column letter and before the row number. e.g. A$5

    To prevent increments when moving from one column to another put the $ before the row number. e.g. $A5

    To prevent increments when moving from one column to another or from one row to another put the $ before the row number and before the column letter. e.g. $A$5

    Using the lock reference will also prevent increments when dragging cells over to duplicate calculations.

提交回复
热议问题