Switch between relative and absolute references (2024)

Excel for Microsoft 365 for Mac Excel 2021 for Mac Excel 2019 for Mac More...Less

By default, a cell reference is relative. For example, when 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), and in the same row (2). A formula that contains a relative cell reference changes as you copy it from one cell to another. For example, if you copy the formula =A2+B2 from cell C2 to C3, the formula references in C3 adjust downward by one row and become =A3+B3.

If you want to maintain the original cell reference when you copy it, you "lock" it by putting a dollar sign ($) before the cell and column references. For example, when you copy the formula =$A$2+$B$2 from C2 to D2, the formula stays exactly the same. This is an absolute reference.

In less frequent cases, you may want to make a cell reference "mixed" by preceding either the column or the row value with a dollar sign to "lock" either the column or the row (for example, $A2 or B$3). To change the type of cell reference:

  1. Select the cell that contains the cell reference that you want to change.

  2. In the formula bar Switch between relative and absolute references (1), click the cell reference that you want to change.

  3. Press Switch between relative and absolute references (2)+ T to move through the combinations.

    The following table summarizes what happens if a formula in cell A1, which contains a reference, is copied. Specifically, the formula is copied two cells down and two cells to the right, to cell C3.

    Switch between relative and absolute references (3)

Current reference (description):

Changes to:

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

Calculation operators and order of operations

Need more help?

Want more options?

Discover Community

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.

Switch between relative and absolute references (2024)

FAQs

Switch between relative and absolute references? ›

To change the type of cell reference: Select the cell that contains the formula. , select the reference that you want to change. Press F4 to switch between the reference types.

How do you change a reference from relative to absolute? ›

There is a shortcut for placing absolute cell references in your formulas! When you are typing your formula, after you type a cell reference - press the F4 key. Excel automatically makes the cell reference absolute! By continuing to press F4, Excel will cycle through all of the absolute reference possibilities.

Which key can you use to switch between relative and absolute cell references? ›

When writing a formula in Microsoft Excel, you can press the F4 key on your keyboard to switch between relative, absolute, and mixed cell references, as shown in the video below.

What causes Excel to switch between relative and absolute cell reference? ›

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. Optional: Download our practice workbook. Watch the video below to learn more about cell references.

How to differentiate between relative mixed and absolute referencing? ›

Relative cell references contain no dollar signs (i.e., A1). Mixed cell references have dollar signs attached to either the letter or the number in a reference but not both (i.e., $A1 or A$1). Absolute cell references have dollar signs attached to each letter or number in a reference (i.e., $A$1).

How do you toggle between relative and absolute references in Excel? ›

Switch between relative and absolute references
  1. Select the cell that contains the cell reference that you want to change.
  2. In the formula bar. , click the cell reference that you want to change.
  3. Press + T to move through the combinations.

How do you toggle absolute and relative references in Excel on a Mac? ›

Press the F4 key twice Row Reference Allows changing the column reference but the row reference is fixed. Press the F4 key thrice Column Reference Allows changing the row reference but the column reference is fixed. If you're running MAC, use the shortcut: ⌘ + T to toggle absolute and relative references.

Which character do you use to turn a relative cell reference into an absolute one? ›

If you want to maintain the original cell reference when you copy it, you "lock" it by putting a dollar sign ($) before the cell and column references. For example, when you copy the formula =$A$2+$B$2 from C2 to D2, the formula stays exactly the same. This is an absolute reference.

What is the F4 function in Excel? ›

F4 is a predefined keyboard shortcut in Excel that repeats your last command or action.

What does '$' mean in Excel formula? ›

The dollar sign in an Excel cell reference affects just one thing - it instructs Excel how to treat the reference when the formula is moved or copied to other cells. In a nutshell, using the $ sign before the row and column coordinates makes an absolute cell reference that won't change.

What is an example of an absolute reference? ›

Absolute references are used when you want to fix a cell location. These cell references are preceded by a dollar sign. By doing this, you are fixing the value of a particular cell reference. For example, if you type the formula = A1+A2 into A3 and copy it to another location: B3, the formula will change to = B1+B2.

What are the 3 types of cell references in Excel? ›

You learned that cell references can be relative, absolute or mixed. The type you use in a formula is important, as each behaves differently when copied or moved. You learned that relative cell references change based on where you copy them and that absolute references do not change.

What is an example of a mixed reference in Excel? ›

Mixed references are tricky referencing. A dollar sign is used before the row or the column for mixed reference. Excel Mixed reference locks the column or the row behind which the dollar sign is applied. So, for example, in cell A1 if we want to refer to only the A column, the mixed reference would be $A1.

What is an example of a mixed reference? ›

For example, if we want to apply mixed reference in a cell, say A1, then we can fix the column of cell A1 by putting dollar(“$”) before the column name $A1 or to fix the row of cell A1 then we can put dollar before the cell number A$1.

What does a $1 mean in Excel? ›

Absolute Reference – Definition

An Excel absolute reference adds a dollar symbol ($) before the column and row to keep the values intact. For instance, if A1 is the default cell reference, $A$1 is the absolute cell reference. If it precedes the column or row but not both, it's known as a mixed reference.

How do you convert to absolute value in Excel? ›

The “=ABS(number)” formula in Excel converts a negative number to a positive number, whereas a positive number remains unchanged. In other words, the ABS function in Excel is used to calculate the absolute value of any given number. For example: the absolute value of -4 is 4 and the absolute value of 4 is 4.

Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 6165

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.