Lets have a look at an example helping the Pokemon trainers to calculate prices for Pokeballs
The prices reference is B11
, we do not want the fill function to change this, so we lock it.
As an Excel user, you may have come across cell references in formulas and wondered what the dollar signs mean. Well, that’s an absolute cell reference! It’s a powerful but often misunderstood feature in Excel.
In this guide I’ll explain in simple terms
- What an absolute cell reference is
- How to create and use absolute and mixed references
- Real-world examples of when you’d apply them
- Pros, cons, and common mistakes to avoid
Plus plenty of examples so you can master absolute references quickly!
What is an Absolute Cell Reference?
In Excel formulas, cell references identify cells or ranges to include in calculations. For example:
=B1+C1
By default, these are relative references. When copied or filled, they update based on the new location:
Formula | Becomes… |
---|---|
=B1+C1 | =B2+C2 |
An absolute reference locks the column and/or row portion so it does not change
Formula | Stays… |
---|---|
=$B$1+$C$1 | =$B$1+$C$1 |
You create an absolute reference by adding dollar signs ($) before the column letter and row number
|$B$1|
The dollar signs fix the reference so it always points to cell B1.
This is helpful when referencing constants you want to stay fixed when copying formulas.
How to Make a Cell Reference Absolute in Excel
To create an absolute reference:
-
Select the cell with the formula.
-
Click once on the cell reference you want to lock.
-
Press F4 to add the dollar signs:
B1 -> $B$1
Results:
Relative | Absolute |
---|---|
B1 | $B$1 |
B1:B10 | $B$1:$B$10 |
Sheet1!B1 | Sheet1!$B$1 |
Press F4 again to toggle between different types of references:
- Relative (B1)
- Absolute column and row ($B$1)
- Absolute column (B$1)
- Absolute row ($B1)
This makes it easy to switch between relative and absolute references!
Mixed References: Absolute Column or Row
In some cases, you only want to fix either the column OR the row portion of the reference.
These mixed references are handy for specific situations:
Absolute column, relative row ($B1): Fixes the column but changes the row when copying across columns. Useful when referencing a fixed table of data.
Absolute row, relative column (B$1): Fixes the row but changes the column when copying across rows. Useful when calculating percentages or ratios from values in a fixed row.
Real World Examples of Absolute References
Absolute references are helpful in many scenarios:
- Calculating sales tax based on a fixed tax rate cell
- Adding a fixed bonus amount to salaries
- Finding percentages or ratios from values in a fixed row
- Keeping certain worksheet totals constant in a model
- Referencing a fixed initial value in a loan calculation
For example, you may use an absolute reference to calculate loan payments based on a fixed interest rate cell:
=PMT(D$4,B5,C5)
This fixes the interest rate reference while allowing the payment term and principal amount to change.
When NOT to Use Absolute References
While absolute references have many use cases, you don’t want to overuse them without purpose.
Here are some cases when you SHOULD keep references relative:
- Your model is designed to work with relative references. Absolutes will break it.
- You intend a value to update in multiple places when changed.
- Your formulas need to adjust to new rows/columns when filled or copied.
Pro Tips for Working with Absolute References
Follow these tips for success:
-
Name key cells like rates, constants, totals rather than absolute reference. Improves readability.
-
Use absolutes only where required. Don’t blanket your model without purpose.
-
Check for errors like linking to the wrong fixed cell after copying.
-
Beware mixing absolutes and relative ranges in the same formula. Can cause #REF! errors if not careful when copying.
-
Understand how formulas update when copying with mixed references to avoid mistakes.
-
Use F4 shortcut when reviewing formulas to check for unintended absolutes that shouldn’t be there.
Common Mistakes to Avoid
It’s easy to unintentionally create errors when working with absolute references:
-
Accidentally adding dollar signs to a reference you need to stay relative. Can break your model.
-
Forgetting to make a reference absolute when needed, resulting in incorrect calculations.
-
Linking formulas to the wrong fixed cell after copying. Gives unexpected results.
-
Assuming a reference is relative when it’s absolute, and vice versa. Confuses troubleshooting.
-
Not understanding how mixed references behave when copying. Leads to wrong values.
The key is taking time to thoroughly review formulas to ensure references behave as expected. Excel’s F4 shortcut makes quick work of checking.
Absolute cell references are a simple yet powerful tool for controlling how formulas update when copied or filled in Excel.
While the concept is straightforward, mastering real-world application takes knowledge and practice.
Use this guide to understand absolute and mixed references on a fundamental level. Then try applying them in your own workbooks to gain firsthand experience with these important building blocks for advanced Excel work.
The ability to leverage absolute and relative references skillfully will serve you well no matter what projects you take on in Excel!
Tutorials Tutorials filter input
W3Schools offers a wide range of services and products for beginners and professionals, helping millions of people everyday to learn and master new skills.
Excel Data Analysis
Absolute reference is when a reference has the dollar sign ($
).
It locks a reference in the formula.
Add $
to the formula to use absolute references.
The dollar sign has three different states:
- Absolute for column and row. The reference is absolutely locked. Example
=$A$1
- Absolute for the column. The reference is locked to that column. The row remains relative. Example
=$A1
- Absolute for the row. The reference is locked to that row. The column remains relative. Example
=A$1
Lets have a look at an example helping the Pokemon trainers to calculate prices for Pokeballs
Type or copy the following data:
Data explained
- There are 6 trainers: Iva, Liam, Adora, Jenny, Iben and Kasper.
- They have different amount of Pokeballs each in their shop cart
- The price per Pokeball is 2 coins
Help them to calculate the prices for the Pokeballs.
The prices reference is B11
, we do not want the fill function to change this, so we lock it.
The reference is absolutely locked by using the formula $B$11
.
How to do it, step by step:
- Type
C2(=)
- Select
B11
- Type (
$
) before theB
and11
($B$11
) - Type (
*
) - Select
B2
- Hit enter
- Auto fill
C2:C7
Congratulations! You successfully calculated the prices for the Pokeballs using an absolute reference.
Relative vs Absolute Cell Reference in Microsoft Excel – What’s the difference?
What are absolute cell references?
Absolute cell references, on the other hand, are fixed and do not change as the formula is copied or moved to new locations. They are indicated by a dollar sign in front of the column and row reference, for example, $A$1. Absolute cell references are useful when you want to maintain a fixed point of reference in your formula.
What is absolute neutrophil count?
Absolute neutrophil count indicates the ability of the immune system to fight infections in the body. It indicates the number of neutrophils in the blood. If the counts are low it indicates poor immunity. A low count is usually seen in immunocompromised patients and patients on immunosuppressive drugs. The absolute neutrophil count is also reduced in cancers.
What is an absolute reference in Excel?
An absolute reference in Excel refers to a fixed location on a worksheet. When you copy a formula, an absolute reference never changes. Let’s start with fixing a reference to a cell. 1. Cell C2 below refers to cell B2 and cell E2. Both references are relative. 2. This is what happens when we copy the formula in cell C2 to cell C3. 3.
What is the difference between absolute and relative cell references?
When you copy this formula down the column, the absolute reference to E2 remains fixed, while the relative reference to C5 changes with each new row. To sum up, the purpose of absolute cell references is to “lock” a reference to a specific cell or set of cells, ensuring that when you copy or move a formula, certain references stay fixed.