Excel all references absolute

Excel for Microsoft 365 Excel for the web Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel Web App Excel 2010 Excel 2007 More…Less

By default, a cell reference is a relative reference, which means that the reference is relative to the location of the cell. If, for example, you refer to cell A2 from cell C2, you are actually referring to a cell that is two columns to the left (C minus A)—in the same row (2). When you copy a formula that contains a relative cell reference, that reference in the formula will change.

As an example, if you copy the formula =B4*C4 from cell D4 to D5, the formula in D5 adjusts to the right by one column and becomes =B5*C5. If you want to maintain the original cell reference in this example when you copy it, you make the cell reference absolute by preceding the columns (B and C) and row (2) with a dollar sign ($). Then, when you copy the formula =$B$4*$C$4 from D4 to D5, the formula stays exactly the same.

Relative Cell reference

Less often, you may want to mixed absolute and relative cell references by preceding either the column or the row value with a dollar sign—which fixes either the column or the row (for example, $B4 or C$4).

To change the type of cell reference:

  1. Select the cell that contains the formula.

  2. In the formula bar Button image, select the reference that you want to change.

  3. Press F4 to switch between the reference types.

    The table below summarizes how a reference type updates if a formula containing the reference is copied two cells down and two cells to the right.

For a formula being copied:

If the reference is:

It changes to:

Formula being copied from A1, to two cells down and to the right

$A$1 (absolute column and absolute row)

$A$1 (the reference is absolute)

A$1 (relative column and absolute row)

C$1 (the reference is mixed)

$A1 (absolute column and relative row)

$A3 (the reference is mixed)

A1 (relative column and relative row)

C3 (the reference is relative)

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

A absolute reference is excel is a cell reference wherein the column and row coordinates remain fixed on copying a formula from one cell to the other. To fix the coordinates, a dollar sign ($) is placed before them. For example, $D$2 is an absolute reference that refers to cell D2. Shortcut to Absolute Reference in excel is the key F4

The purpose of making the cell reference absolute is to keep it static irrespective of whether the formula is copied to a different worksheet or workbook. By default, a cell reference in Excel is relative (like D2), implying that it changes when the formula is copied.

Apart from absolute and relative, a cell reference can also be mixed. In a mixed reference, either the column label or the row number is kept constant (like $D2 or D$2).

Table of contents
  • What is Absolute Reference in Excel?
    • Absolute Reference in Excel Shortcut
    • How to Use Absolute References in Excel?
      • Example #1–Multiplication Formula Using Absolute and Relative References
      • Example #2–SUMIFS Formula Using Absolute and Mixed References
    • Key Points Related to Cell References of Excel
    • Frequently Asked Questions
    • Recommended Articles

Absolute Reference in Excel Shortcut

The shortcut to absolute reference in excel is F4. With a single keystroke, the F4 key on your keyboard allows you to add both dollar signs.

How to Use Absolute References in Excel?

While working in Excel, it is essential to know whether a cell reference should stay absolute, relative referenceIn Excel, relative references are a type of cell reference that changes when the same formula is copied to different cells or worksheets. Let’s say we have =B1+C1 in cell A1, and we copy this formula to cell B2 and it becomes C2+D2.read more or mixedA mixed reference is a type of cell reference that differs from absolute and relative cell reference. In the mixed cell reference, we only refer to the column of the cell or the row of the cell.read more. This helps one to carry out the calculations as desired.

With this article, we will focus on absolute references of Excel. Let us consider some examples to understand the working of these references in Excel.

You can download this Absolute Reference Excel Template here – Absolute Reference Excel Template

Example #1–Multiplication Formula Using Absolute and Relative References

The following image shows the rates (in USD in column B) of different rooms of a hotel. We want to convert each amount from USD to INR (in column C).

Assume that 1 USD is equal to Rs. 72.5. This USD to INR conversion rate is given in cell C2. Use absolute and relative references in the multiplication excel formula. Explain the cell references used for the given task.

Absolute Cell References Example 1

The steps to convert the given amounts from USD to INR by using the stated references are listed as follows:

  1. Begin by typing the “equal to” sign (=) in cell C5. Next, select cell B5 and type the asterisk (*), which is the symbol for multiplication. Then, select cell C2.

    Once the reference C2 appears in cell C5, press the F4 key once. This changes the reference from C2 to $C$2. The entire formula (=B5*$C$2) is shown in the following image.

    Absolute Cell References Example 1-1

  2. Once the formula has been entered in cell C5, press the “Enter” key. The output is 906250, as shown in the following image.

    Hence, $12,500 is equal to Rs. 906,250. So, the first USD amount has been converted to INR.

    Note: Please ignore the small checkbox displayed in cell C5 of the following image.

    Absolute Cell References Example 1-2

  3. Drag the formula of cell C5 till cell C7. For dragging, use the fill handle displayed at the bottom-right corner of cell C5.

    The outputs for the range C5:C7 are shown in the following image. Notice that though cells C5, C6, and C7 are selected, the formula of only cell C5 is shown in the formula bar. Further, the output of cell C7 is shown in a red box.

    Note: Please ignore the checkboxes appearing in cells C5, C6, and C7 on the left side. These checkboxes are not an outcome of the multiplication formula entered in these cells.

    Absolute Cell References Example 1-3

Explanation of the cell references: In the formulas of column C, the first cell reference is relative (B5, B6, and B7), while the second cell reference is absolute ($C$2). The reason is that on copying the formula from cell C5 to C7, we wanted the first reference to change and the second reference to stay constant.

As a result, B5 (in cell C5) changes to B6 (in cell C6) and further changes to B7 (in cell B7). However, the reference $C$2 stays the same in cells C5, C6, and C7. So, the aim is to multiply the different amounts of column B with the same conversion rate of cell C2.

Example #2–SUMIFS Formula Using Absolute and Mixed References

The following image shows the sales revenue generated (in $ in column C) in three months (column B) by five sales managers (in column A) of an organization. The three months are January, February, and March. The five sales managers are John, Shub, Kavish, Raj, and Sanju.

Since some sales managers have made multiple sales in a month, their names appear more than once against a single month. Sum the sales revenues generated by each manager in a particular month. Use the SUMIFS function of Excel.

Further, use the following types of cell references for the given task:

  • For “sum_range,” “criteria_range1,” and “criteria_range2,” use absolute excel references.
  • For “criteria1” and “criteria2,” use mixed references.

Explain the formula and the cell references used.

Absolute Cell References Example 2

The steps to perform the given task by using the SUMIFS functionSUMIFS is an enhanced version of the SUMIF formula in Excel that enables you to sum any range of data by matching several criteria. read more and the stated references are listed as follows:

Step 1: Write the names of the five managers in the range E2:E6. Enter the names of the three months in the range F1 to H1. All these names (shown in the following image) will be used in the SUMIFS formula one at a time.

consolidated summary sales

Step 2: Enter the following formula in cell F2.

“=SUMIFS($C$2:$C$17,$A$2:$A$17,$E2,$B$2:$B$17,F$1)”

This is shown in the succeeding image.

Note: Please ignore the figures of cells G2 and H2 at this step.

consolidated summary sales1

Step 3: Drag the formula of cell F2 horizontally (till cell H2) and vertically (till cell F6). Likewise, drag the formula of cells F3, F4, F5, and F6 horizontally till cells H3, H4, H5, and H6 respectively.

The outputs of all the SUMIFS formulas are shown in the range F2:H6 of the following image. Hence, the sales revenue generated by all the managers in the given months (January, February, and March) has been obtained.

Notice that the cells containing a hyphen (F6, G5, and H4) imply that a sale has not been made in that month by the respective manager.

consolidated summary result

Explanation of the formula and the cell references: The formula of step 1 works as follows:

  1. The “sum_range” supplied to the SUMIFS function is $C$2:$C$17. The numbers of this range are summed subject to the conditions (or criteria) entered in the formula. We have used absolute cell references in the “sum_range.” This is because we do not want the references to change as the formula is copied to the remaining cells of the range F2:H6.
  2. The “criteria_range1” supplied to the SUMIFS function is $A$2:$A$17. This range is evaluated for “criteria1.” We have again used absolute excel references in “criteria_range1.” The reason is that the “criteria_range1” stays the same across all the SUMIFS formulas of the range F2:H6.
  3. The “criteria1” supplied to the SUMIFS function is $E2. Since cell E2 contains the name “John,” the SUMIFS function checks the range A2:A17 for this name. We have used a mixed reference ($E2) for “criteria1” because we want its column label (E) to be fixed and the row number (2) to be variable. This enables the SUMIFS function to check the range A2:A17 for the values of cells E2, E3, E4, E5, and E6. So, each cell of column E (rows 2 to 6) serves as “criteria 1” in the different SUMIFS formulas of the range F2:H6.
  4. The “criteria_range2” supplied to the SUMIFS function is $B$2:$B$17. This range is evaluated for “criteria2.” We have used absolute references in this range because we want the same range (B2:B17) to be evaluated each time for “criteria2.”
  5. The “criteria2” supplied to the SUMIFS function is F$1. Cell F1 contains the value “Jan.” So, the SUMIFS function checks the range B2:B17 for the value “Jan.” We have used a mixed reference (F$1) for “criteria2.” This is because we want the SUMIFS function to check the range B2:B17 for the values of cells F1, G1, and H1. Thus, the column label changes from F to G and finally to H, while the row number stays constant at 1.

The SUMIFS formula of step 1 checks for two conditions (criteria) “John” and “Jan” in the ranges A2:A17 and B2:B17 respectively. Further, those values of the range C2:C17 are summed that satisfy both these conditions. So, only the number 56,928 satisfies both these conditions. Hence, the output is 56,928.

In the same way, the SUMIFS formulas of the remaining range F2:H6 work.

Note: The SUMIFS function sums those values that satisfy multiple criteria. For the syntax of the SUMIFS function, click the hyperlink given before step 1 of this example.

The important points related to cell references of Excel are listed as follows:

  • In an absolute reference in excel, both the column label and the row number are fixed by placing a dollar sign ($) before them. So, an absolute reference has an absolute column and an absolute row.
  • In a relative reference, both the column label and the row number are variable. The dollar sign ($) is omitted in a relative reference. So, a relative reference has a relative column and a relative row.
  • In a mixed reference, either the column label or the row number is fixed, while the other is variable. The dollar sign ($) is placed before the constant part of a mixed reference. So, a mixed reference has either a relative column and an absolute row or an absolute column and a relative row.
  • The absolute references in excel do not change irrespective of an upward, downward, leftward or rightward movement of the formula containing them.
  • The cell references change each time the F4 key is pressed. They change as follows:
    • Pressing the F4 key once changes the cell reference from relative to absolute (like D2 changes to $D$2).
    • Pressing the F4 key twice changes the cell reference from absolute to mixed (like $D$2 changes to D$2). The column label of the mixed reference becomes variable, while the row number stays fixed.
    • Pressing the F4 key thrice changes the cell reference from mixed to mixed again (like D$2 changes to $D2). The column label of the mixed reference becomes fixed, while the row number stays variable.
    • Pressing the F4 key four times changes the cell reference from mixed to relative again (like $D2 changes to D2).

Note: The steps to change a cell reference within a formula are listed as follows:

  1. Double-click the cell containing the formula.
  2. Select the cell reference to be changed.
  3. Press the F4 key the required number of times.
  4. Complete the formula in the usual way once the cell reference has been changed. So, press either the “Enter” or the “Ctrl+Shift+Enter” keys depending on whether it is a regular or an array formula.

To exit the Edit mode without changing the formula, press the escape (Esc) key.

Frequently Asked Questions

1. Define an absolute cell reference and suggest how to create it in Excel.

An absolute reference in excel is one in which both the column label and the row number are fixed by placing a dollar sign ($) before them. For example, $H$5 is an absolute cell reference.

To create an absolute cell reference in Excel, follow either of the listed methods:

• Insert a dollar sign ($) in the cell reference manually. This sign should precede the column label and the row number.
• Enter a relative reference and press the F4 key to make it absolute. This key should be pressed only once.

Note: To insert a relative reference in a formula, simply select the cell or the range to be referenced. Excel inserts a relative reference by default.

2. When should absolute references be used in Excel? State how to remove them from a cell of Excel.

Absolute references of Excel should be used in the following situations:

a. When there is a need to move the formula to a different worksheet or workbook without impacting the cell references
b. When the formula needs to be dragged to the remaining cells of the range, but the column and row coordinates should stay fixed
c. When multiple calculations need to be performed by referring to a particular cell again and again

Removing absolute references from a cell implies changing them to either mixed or relative references. For this, follow either of the listed methods:

• Manually delete the dollar sign ($), which precedes the column label and/or the row number. The cell reference changes to either mixed or relative depending on the number of deletions made.
• Double-click the cell containing the formula. Select the absolute cell reference and press the F4 key once. The cell reference changes to mixed where the column label is variable and the row number is fixed.

Note: Once the reference has been changed in the preceding bullet points, press either the “Enter” or the “Ctrl+Shift+Enter” keys to complete the formula.

3. Differentiate between absolute and relative cell references of Excel.

The differences between absolute and relative cell references are listed as follows:

a. Absolute references stay static irrespective of where they are copied, while relative references change when copied to a different location.
b. In an absolute reference, both column and row coordinates are fixed. On the other hand, in a relative reference, both column and row coordinates are variable.
c. An absolute reference is used when calculations involve a specific cell to be referred multiple times. In contrast, a relative reference is used when the same calculation needs to be repeated across various columns and/or rows.
d. An absolute reference is inserted either manually or by pressing the F4 key. In comparison, a relative reference is inserted by simply selecting the cell or the range to be referenced.

Before applying formulas in Excel, it is essential to know the differences between the two cell references (absolute and relative). This helps choose the appropriate cell reference.

Recommended Articles

This has been a guide to Absolute Reference in Excel. Here we explain how to use Absolute Cell Reference in Excel along its shortcut and practical examples. You may also look at these useful tools of Excel–

  • Relative References in ExcelIn Excel, relative references are a type of cell reference that changes when the same formula is copied to different cells or worksheets. Let’s say we have =B1+C1 in cell A1, and we copy this formula to cell B2 and it becomes C2+D2.read more
  • Watch Window in Excel
  • Formatting in Excel
  • How to Name Range in Excel?Name range in Excel is a name given to a range for the future reference. To name a range, first select the range of data and then insert a table to the range, then put a name to the range from the name box on the left-hand side of the window.read more

Cell reference is the address or name of a cell or a range of cells. It is the combination of column name and row number. It helps the software to identify the cell from where the data/value is to be used in the formula. We can reference the cell of other worksheets and also of other programs.

  • Referencing the cell of other worksheets is known as External referencing.
  • Referencing the cell of other programs is known as Remote referencing.

There are two types of cell references in Excel:  

  • Relative reference
  • Absolute reference

Relative Reference

Relative reference is the default cell reference in Excel. It is simply the combination of column name and row number without any dollar ($) sign. When you copy the formula from one cell to another the relative cell address changes depending on the relative position of column and row. C1, D2, E4, etc are examples of relative cell references. Relative references are used when we want to perform a similar operation on multiple cells and the formula must change according to the relative address of column and row.

For example, We want to add the marks of two subjects entered in column A and column B and display the result in column C. Here, we will use relative reference so that the same rows of column’s A and B are added.

Steps to Use Relative Reference:

Step 1: We write the formula in any cell and press enter so that it is calculated. In this example, we write the formula(= B2 + A2) in cell C2 and press enter to calculate the formula.

Step 2: Now click on the Fill handle at the corner of cell which contains the formula(C2).

Step 3: Drag the Fill handle up to the cells you want to fill. In our example, we will drag it till cell C10.

Step 4: Now we can see that the addition operation is performed between the cell A2 and B2, A3 and B3 and so on.

Step 5: You can double-click on any cell to check that the operation is performed in between which cells.

Thus, in the above example, we see that the relative address of cell A2 changes to A3, A4, and so on, similarly the relative address changes for column B, depending on the relative position of the row.

Absolute Reference

Absolute reference is the cell reference in which the row and column are made constant by adding the dollar ($) sign before the column name and row number. The absolute reference does not change as you copy the formula from one cell to other. If either the row or the column is made constant then it is known as a mixed reference. You can also press the F4 key to make any cell reference constant. $A$1, $B$3 are examples of absolute cell reference.

For example, We want to multiply the sum of marks of two subjects, entered in column A and column B, with the percentage entered in cell C2 and display the result in column D. Here, we will use absolute reference so that the address of cell C2 remains constant and does not change with the relative position of column and rows.

Steps to Use Absolute Reference:

Step 1: We write the formula in any cell and press enter so that it is calculated. In this example, we write the formula(=(A2+B2)*$C$2) in cell D2 and press enter to calculate the formula.

Step 2: Now click on the Fill handle at the corner of cell which contains the formula(D2).

Step 3: Drag the Fill handle up to the cells you want to fill. In our example, we will drag it till cell D10.

Step 4: Now we can see that the percentage is calculated in column D.

Step 5: You can double-click on any cell to check that the operation is performed in between which cells, and we see that the address of cell C2 does not change.

Thus, in the above example we see that the address of cell C2 is not changed whereas the address of column A and B changes with the relative position of the row and column, this happened because we used the absolute address of the cell C2.

An absolute reference in Excel refers to a reference that is «locked» so that rows and columns won’t change when copied. Unlike a relative reference, an absolute reference refers to an actual fixed location on a worksheet.

To create an absolute reference in Excel, add a dollar sign before the row and column. For example, an absolute reference to A1 looks like this:

=$A$1

An absolute reference for the range A1:A10 looks like this:

=$A$1:$A$10

Example

In the example shown, the formula in D5 will change like this when copied down column D:

=C5*$C$2
=C6*$C$2
=C7*$C$2
=C8*$C$2
=C9*$C$2

Note that the absolute reference to C2, which hold the hourly rate does not change, while the reference to hours in C5 changes with each new row.

Toggle between absolute and relative addresses

When entering formulas, you can use a keyboard shortcut to toggle through relative and absolute reference options, without typing dollar signs ($) manually.

The advantages of absolute references are difficult to underestimate. They often have to be used in the process of working with the program. Relative references to cells in Excel are more popular than absolute ones, but they also have their pros and cons.

In Excel, there are several types of links: absolute, relative and mixed. This also includes «names» for whole ranges of cells. Consider their possibilities and differences in practical application in formulas.



Absolute and relative links in Excel

Absolute references allow us to fix a row or column (or row and column at a time) to which the formula should refer. Relative references in Excel change automatically when you copy a formula along a range of cells, both vertically and horizontally. A simple example of relative cell addresses. Let us calculate the volume of the sphere in Excel:

Volume of the sphere.

  1. Fill the range of cells A2: A5 with different radii.
  2. In cell B2, enter the formula for calculating the volume of the sphere, which will refer to the value of A2. The formula will look like this: =(4/3)*3.14*A2^3
  3. Copy the formula from B2 along column A2: A5.

Copy the formula.

As you can see, the relative addresses help to change the address in each formula automatically.

It is also worth to point the regularity of changes in references of formulas. Data in B3 refers to A3, B4 to A4, and so on. Everything depends on where the first introduced formula will refer, and its copies will change the references relative to its position in the range of cells on the sheet.

Now instead of numbers we use absolute references:

absolute references.

The result of the calculation is the same, but the formulas are more flexible to the changes. It is enough to change the value in one cell and the whole column is recalculated automatically. See the following example.



Use of absolute and relative links in Excel

Fill in the plate, as shown in the picture:

Exchange EUR-USD.

Description of the source table. In cell A2, there is an actual euro exchange rate against the dollar for today. In the range of cells B2: B4 are the amounts in dollars. In the range C2: C4 will be the amount in euros after the conversion of currencies. Tomorrow the course will change and the task of the plate will automatically recalculate the range of C2: C4 depending on the change in the value in cell A2 (that is, the euro rate).

To solve this problem, we need to enter a formula in C2: = B2 / A2 and copy it to all cells in the C2: C4 range. But here there is a problem. From the previous example, we know that when copying, relative references automatically change addresses relative to their position. Therefore, an error occurs:

error.

Concerning the first argument, this is quite acceptable. After all, the formula automatically refers to the new value in the column of the table cells (dollar amounts). But the second indicator we need to fix on the address A2. Accordingly, it is necessary to change the relative reference to the absolute in the formula.

How to make an absolute reference in Excel? It is very simple to put the $ (dollar) symbol before the line or column number or before the both of them. Below, consider all 3 options and determine their differences.

Our new formula should contain at once 2 types of links: absolute and relative.

  1. In C2, enter another formula: = B2 / A $ 2. To change links in Excel, double click on the cell with the left mouse button or press the F2 key on the keyboard.
  2. Copy it to the other cells in the C3:C4 range.

Done.

Description of the new formula. The dollar symbol ($) in the address of references fixes the address in the new copied formulas.

Absolute, relative and mixed references in Excel:

  1. $ A $ 2 — address of the absolute reference with fixation on columns and rows, both vertically and horizontally.
  2. $ A2 is a mixed link. When copying a column is fixed, and the row is changed.
  3. A $ 2 is a mixed link. When copying a row is fixed, and the column is changed.

For comparison: A2 is a relative address, without fixation. During the copying of the formulas, the row (2) and the column (A) automatically change to the new addresses relative to the location of the copied formula, both vertically and horizontally.

Note. In this example, the formula can contain not only a mixed link, but the absolute result: = B2 / $ A $ 2. The result will be the same. But in practice, there are often cases when you cannot do a thing without mixed references.

Helpful advice. To avoid entering the dollar symbol ($) manually, after specifying the address, press F4 repeatedly to select the required type: absolute or mixed. It’s fast and convenient.

Понравилась статья? Поделить с друзьями:
  • Excel all in one for dummies
  • Excel all formulas to values
  • Excel all cells in one column
  • Excel airide compact кресло коляска с электроприводом
  • Excel aggregate на русском