Types of cell references

In Google Sheets, there are two types of cell references: relative and absolute.

In Google Sheets, there are two types of cell references: relative and absolute. Relative and absolute references behave differently when copied and filled into other cells. Relative references change when a formula is copied to another cell. Absolute references, on the other hand, remain unchanged regardless of where they are copied.

 

Relative references

By default, all cell references are relative references. When copied across multiple cells, they change based on the relative positions of the 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.

How to create and copy formulas using relative references

The following example aims to create a formula that multiplies the price of each item by the quantity. Instead of creating a new formula for each row, you can create a single formula in cell D4 and then copy it to the other rows. Relative references will be used to ensure the formula calculates the exact total for each item.

1. Select the cell that will contain the formula. For example, we would select cell D4.

Images 1 of Types of cell references

 

2. Enter the formula to calculate the desired value. For example, you would enter =B4*C4.

Images 2 of Types of cell references

3. Press Enter on the keyboard. The formula will be calculated and the result will be displayed in the cell.

4. Select the cell you want to copy. For example, select cell D4 . The fill handle will appear in the bottom right corner of the cell.

Images 3 of Types of cell references

5. Click and drag the fill handle to the cells you want to fill. For example, we would select cells D5:D13.

Images 4 of Types of cell references

 

6. Release the mouse button. The formula will be copied to the selected cells with relative references, displaying the result in each cell.

Images 5 of Types of cell references

You can double-click on filled cells to check the accuracy of the formula. Relative cell references should be different for each cell, depending on their row.

Images 6 of Types of cell references

Absolute reference

Sometimes you might not want the cell reference to change when copying or filling a cell. You can use an absolute reference to keep a row and/or column constant in a formula.

An absolute reference is specified in a formula by adding a dollar sign ($). It can precede a column reference, a row reference, or both.

Images 7 of Types of cell references

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

How to create and copy formulas using absolute references

The example below will use cell E2 (containing a 7.5% tax rate) to calculate the sales tax for each item in column D. To ensure the reference to the tax rate remains constant—even if the formula is copied and filled into other cells—cell $E$2 will be set as the absolute reference.

1. Select the cell that will contain the formula. For example, we would select cell D4.

Images 8 of Types of cell references

 

2. Enter the formula to calculate the desired value. For example, you would enter =(B4*C4)*$E$2 , making $E$2 an absolute reference.

Images 9 of Types of cell references

3. Press Enter on the keyboard. The formula will perform the calculation, and the result will be displayed in the cell.

4. Select the cell you want to copy. For example, select cell D4 . The fill handle will appear in the bottom right corner of the cell.

Images 10 of Types of cell references

5. Click and drag the fill handle into the cells you want to fill (cells D5:D13 in the example).

Images 11 of Types of cell references

6. Release the mouse button. The formula will be copied to the selected cells with absolute references, and the values ​​in each cell will be calculated.

Images 12 of Types of cell references

You can double-click on filled cells to check the accuracy of the formula. Absolute references must be the same for each cell, while other references are relative to the cell's row.

Images 13 of Types of cell references

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

Images 14 of Types of cell references

Close
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup