Google Sheets: Types of Cell References (2024)

Lesson 14: Types of Cell References

/en/googlespreadsheets/creating-complex-formulas/content/

Introduction

There are two types of cell references: relative and absolute. Relative and absolute references behave differently when copied and filled to other cells. Relative references change when a formula is copied to another cell. Absolute references, on the other hand, remain constant no matter where they are copied.

Watch the video below to learn how to use relative and absolute references.

Relative references

By default, all cell references are relative references. When copied across multiple cells, they change based on the relative position of rows and columns. For example, if you copy the formula =A1+B1 from row 1 to row 2, the formula will become =A2+B2. Relative references are especially convenient whenever you need to repeat the same calculation across multiple rows or columns.

To create and copy a formula using relative references:

In the following example, we want to create a formula that will multiply each item's price by the quantity. Instead of creating a new formula for each row, we can create a single formula in cell D4 and then copy it to the other rows. We'll use relative references so the formula calculates the total for each item correctly.

  1. Select the cell that will contain the formula. In our example, we'll select cell D4.

    Google Sheets: Types of Cell References (1)

  2. Enter the formula to calculate the desired value. In our example, we'll type=B4*C4.

    Google Sheets: Types of Cell References (2)

  3. Press Enter on your keyboard. The formula will be calculated, and the result will be displayed in the cell.
  4. Select the cell you want to copy. In our example, we'll select cell D4. The fill handle will appear in the bottom-right corner of the cell.

    Google Sheets: Types of Cell References (3)

  5. Click and drag the fill handle over the cells you want to fill. In our example, we'll select cells D5:D13.Google Sheets: Types of Cell References (4)
  6. Release the mouse. The formula will be copied to the selected cells with relative references, displaying the result in each cell.Google Sheets: Types of Cell References (5)

You can double-click the filled cells to check their formulas for accuracy. The relative cell references should be different for each cell, depending on their rows.Google Sheets: Types of Cell References (6)

Absolute references

There may be times when you do not want a cell reference to change when copying or filling cells. You can use an absolute reference to keep a row and/or column constant in the formula.

An absolute reference is designated in the formula by the addition of a dollar sign ($). It can precede the column reference, the row reference, or both.

Google Sheets: Types of Cell References (7)

You will most likely use the $A$2 format when creating formulas that contain absolute references. The other two formats are used much less often.

To create and copy a formula using absolute references:

In the example below, we're going to use cell E2 (which contains the tax rate at 7.5%) to calculate the sales tax for each item in column D. To make sure the reference to the tax rate stays constant—even when the formula is copied and filled to other cells—we'll need to make cell $E$2 an absolute reference.

  1. Select the cell that will contain the formula. In our example, we'll select cell D4.Google Sheets: Types of Cell References (8)
  2. Enter the formula to calculate the desired value. In our example, we'll type =(B4*C4)*$E$2, making $E$2 an absolute reference.Google Sheets: Types of Cell References (9)
  3. Press Enter on your keyboard. The formula will calculate, and the result will display in the cell.
  4. Select the cell you want to copy. In our example, we'll select cell D4. The fill handle will appear in the bottom-right corner of the cell.Google Sheets: Types of Cell References (10)
  5. Click and drag the fill handle over the cells you want to fill (cells D5:D13 in our example).Google Sheets: Types of Cell References (11)
  6. Release the mouse. The formula will be copied to the selected cells with an absolute reference, and the values will be calculated in each cell.Google Sheets: Types of Cell References (12)

You can double-click the filled cells to check their formulas for accuracy. The absolute reference should be the same for each cell, while the other references are relative to the cell's row.Google Sheets: Types of Cell References (13)

Be sure to include the dollar sign ($) whenever you're making an absolute reference across multiple cells. Without the dollar sign, Google Sheets will interpret it as a relative reference, producing an incorrect result when copied to other cells.

Google Sheets: Types of Cell References (14)

Challenge!

  1. Open our example file. Make sure you're signed in to Google, then click File > Make a copy.
  2. Select the Challenge sheet.
  3. In cell D4, create a formula that would calculate how much the customer would save on each item by multiplying the unit price, quantity, and discount shown in cell E2.
  4. Use the fill handle to copy the formula you created in step 3 to cells D5:D12.
  5. When you're finished, your spreadsheet should look something like this:

    Google Sheets: Types of Cell References (15)

Google Sheets: Types of Cell References (17)

Previous: Creating Complex Formulas

Next:Working with Functions

Google Sheets: Types of Cell References (18)

/en/googlespreadsheets/working-with-functions/content/

Google Sheets: Types of Cell References (2024)

FAQs

What are the different types of cell references? ›

There are two types of cell references: relative and absolute. Relative and absolute references behave differently when copied and filled to other cells. Relative references change when a formula is copied to another cell. Absolute references, on the other hand, remain constant no matter where they are copied.

How to fix cell reference in Google Sheets? ›

To create an absolute reference in Google Sheets, the user must add a “$” symbol before the column and/or row reference they want to lock. For example, if the user wants to lock the reference to cell A1, they would enter “$A$1” in the formula.

How do I find all cells that reference a cell in Google Sheets? ›

Press “Cmd + Shift + H” on a Mac or “Ctrl + H” to bring up the “Find and replace” tool.
  1. Put the cell you want to look up including the name of the Sheet (e.g., Sheet1! ...
  2. Make sure you're searching “All sheets” and that “Also search within formulas” is checked.
  3. Click “Find” to find all instances of that cell.
Dec 1, 2023

What is the difference between relative and absolute reference in Google Sheets? ›

If you referred to cell A1 as a relative cell but then dragged the formula down one cell, the reference would also jump down one cell. On the other hand, an absolute reference will refer to the same cell or range of cells no matter where the formula is moved.

What are relative cell references? ›

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).

What are the different types of cell references in cycle? ›

What are the types of sickle cell disease?
  • Hemoglobin SS disease. Hemoglobin SS disease is the most common type of sickle cell disease. ...
  • Hemoglobin SC disease. ...
  • Hemoglobin SB+ (beta) thalassemia. ...
  • Hemoglobin SB 0 (Beta-zero) thalassemia. ...
  • Hemoglobin SD, hemoglobin SE, and hemoglobin SO. ...
  • Sickle cell trait.
Mar 29, 2017

What is a mixed cell reference? ›

Summary. Mixed reference in Excel means only part of the reference is fixed, either the row or the column, and the other part is relative. Unlike absolute references, only one $ (dollar sign) is applied, either in front of the column or row number.

What are cell references in a formula called? ›

These are called "relative" cell references, since they change relative to where you copy the formula. If you do not want cell references to change when you copy a formula, then make those cell references absolute cell references. Place a "$" before the column letter if you want that to always stay the same.

How to use cell reference in Google Sheets? ›

A formula in a cell in Google Sheets often contains references to other cells in the sheet. A reference to a single cell is a combination of a letter and a number. For example, A1, C5, and E9 are all references to a single cell. The letter indicates the column and the number indicates the row.

What is the reference range in Google Sheets? ›

The range is set by first entering the cell reference for the top left corner, then the bottom right corner. The range is made using those two as coordinates. That is why the cell range has the reference of two cells and the : in between.

What are the different types of cell referencing? ›

There are two types of cell references: relative and absolute. Relative and absolute references behave differently when copied and filled to other cells. Relative references change when a formula is copied to another cell. Absolute references, on the other hand, remain constant no matter where they are copied.

How to fix ref error in Google Sheets? ›

For deleted references, look for the #REF! error is inside your formula, and replace the #REF! with the correct reference to a cell or range. For out-of-bound lookup errors, look through your formula carefully and check your range sizes against any row or column indexes you're using.

What is absolute referencing? ›

Creating an absolute reference in Microsoft Excel is a way to ensure that a specific cell reference remains constant even when the formula is copied or moved to another cell. Absolute references are designated by the dollar sign ($) before the column letter and/or row number.

What are the two parts of a cell reference? ›

A cell reference or cell address is a combination of a column letter and a row number that identifies a cell on a worksheet.

What are the two types of cell contents in sheets? ›

Each cell can contain several different types of content, including text, formatting, formulas, and functions.
  • Text: Cells can contain text, such as letters, numbers, and dates.
  • Formatting attributes: Cells can contain formatting attributes that change the way letters, numbers, and dates are displayed.

What are the two cell data types in a spreadsheet? ›

Similar to the default behavior of traditional spreadsheets, Automatic is the default data type for cells in Spreadsheet.com. Text: The Text data type is for adding a short amount of text. Number: The Number data type is for inputting numbers as integers or decimals with specific formatting defined by you.

Top Articles
Latest Posts
Article information

Author: Stevie Stamm

Last Updated:

Views: 6505

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.