A cell reference or a cell address is a way to define a cell on a worksheet, it is formed by combining a column letter and a row number. To refer any if the cell on a worksheet (in any formula/ to copy the cell) we use cell reference.
Example: To refer to the cell present in row 2 & column D, cell reference is: D2, where D is column letter & 2 is the row number.
Relative Cell Reference :
By default, every cell is a relative reference. Example: If you refer to cell D2 in cell F2, you refer to a cell that is 2 columns to the left (F-D = 3) in the same row number 2.
The relative relation for that location will be updated automatically when it is copied to other positions in a worksheet. (Because a relative cell reference defines an offset to another cell - say, 2 columns left within the same row in the example mentioned above).
If you copy F2 to F4, then F4 = D4 (as F2 = D2, i.e., 2 columns left in the same row), So D4 is two columns left to F4 in the same row 4.

Absolute Cell Reference :
There are times when the cell reference must stay the same when copying or using AutoFill. Using dollar signs, a column and/or row reference can be kept constant. So, to get an absolute reference from a relative, we can use the dollar sign ($) characters.
We use an absolute reference to refer to an actual fixed location on a worksheet whenever copying is done. The reference here is locked such that rows and columns do not shift when copied.
Dollar ($) before row fix the row & before the column fixes the column.
Example: Fixing/Locking both - row & column - Say if we want to lock row 2 & column D, we will use $D$2 as:
F2 = $D$2, when copied to F4, F4 also becomes = $D$2.
Excel Mixed Cell Reference :
A mixed cell reference is a mixture of absolute & relative reference, i.e., an absolute column and relative row, or an absolute row and relative column. To get an absolute column or absolute row, you can put the $ before the column letter or before the row number.
Example: $D2 is relative for row 2 but absolute for column D, and D$2 is absolute for row 2 but relative for column D.
Here Dollar ($) before row number fixes/locks the row & before the column name fixes/locks the column.
Example 1: When we fix the only row: If we have F2 =$D2 then :
We used $ before the column number, so we are locking the only column here.
When F2 is copied to H4, then H4 = $D4 because the column is the same here, i.e., column letter D But the row is relative (i.e. the same row in which copying is done).
Example 2: When we fix /lock the only row : If we have E2 = C2*A$2 then :
When E2 is copied to E3, E3 = C3*A$2 (not C3*A3) because the row (number 2) has been locked already.
I hope you now know the relative and absolute cell references, how to use $ sign and how to use mixed cell references.
Similar Reads
Mixed Cell References in MS Excel Cell: The row and column in Excel together make a cell. We input the value/data(s) in cells of a spreadsheet. There are three types of values that can be entered into the cell. NumbersAlphabeticFormulas Cell reference ââââââis the address or name of a cell or a range of cell is known as Cell referen
3 min read
Worksheets in Excel If you're new to MS Excel, you've likely heard the term "worksheet." But have you ever wondered what an Excel worksheet actually is? So, in a spreadsheet program, a worksheet is a collection of cells (it is a basic data unit in the worksheet) where you can store and manipulate data. By default, ever
5 min read
Workbooks in Microsoft Excel Spreadsheet programs have become essential for many organizations for analyzing and storing data and if we talk about the most recognized spreadsheet program, then it will be MS Excel. Now, if you have worked with Microsoft Excel, then you have heard about the terms workbooks and worksheets. In the
5 min read
VBA Multiple (Nested) If Statements in Excel VBA in Excel stands for Visual Basic for Applications, which is Microsoft's programming language. To optimize the performance and reduce the time in Excel we need Macros and VBA is the tool used in the backend. What decision-making reasoning do you often use in your Excel worksheets? In most circums
5 min read
Prepare Source Data for Pivot Tables In MS Excel A pivot table is a tool for summarizing data that is derived from larger tables. A database, an Excel spreadsheet, or any other data that is or could be transformed into a table-like shape might be these larger tables. A pivot table's data summary may include sums, averages, or other statistics that
4 min read