While working or learning Excel, you’ve must hear of Relative and Absolute referencing of cells and ranges. Absolute referencing is also called locking of cells. Understanding of Relative and Absolute Reference in Excel is very important to work effectively on Excel. So let's get started.
When you don’t want to change the referenced cell while you copy a formula cell somewhere else, you use Absolute Referencing using $ sign. Let's see an example.
In this example, you need to create a table generator. You will write a number in Cell B1. The Range B2: B11 should display the table of that number.
You just need to multiply B1 to A1 and then just copy the formula below. It won’t work my friend but let's just try this…
In cell B2, write this formula and copy it in below cell.
What happened? ???? This is not the table of 2 you learned in primary school. Ok lets see whats going on here.
When copy or drag down the formula cell, the reference to B1 also changes. See below image.
This is called Relative Referencing. So how do we lock cell B2 or say give an Absolute Reference of a cell?
The formula in cell B2 will look like this.
Copy it to the below cells or anywhere else. The reference to B1 will not change.
In the above example, the reference to cell A2 is relative. The relative cell changes relatively when the formula is copied to another cell. As happens to A2 in the above example. Where the cell B2 is copied to B3 the reference of A2 changes to A3.
You can make row absolute and column relative or vice versa by just putting $ sign before a column or row number.
For example eg; $A1 means the only column a is locked but the row is not. If you copy this cell to left the column A will not change but when to copy the formula down the row number will change.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.