Locking cells: what’s the Excel dollar sign shortcut?

The Excel absolute reference shortcut will become one of your favourites to save time! Switch from relative to absolute references in seconds using this trick.

How to lock cells in Excel? What’s the Excel dollar sign shortcut? How to switch between relative and absolute references?

In this tutorial, we’ll answer all your questions about the famous dollar sign in cells!

First, we need to clarify what an absolute reference is in Excel.

In Excel, an absolute reference is a cell reference that does not change when you copy-paste a formula in another cell. The formula stays the same because you locked it with a dollar sign ($).

For example, if your formula is =$A$1+$B$1 in cell C1, when you copy the formula to C2 it will stay =$A$1+$B$1 and will not become =A2+B2.
Note that you will end with the same result if your formula is =A$1+B$1 in this particular example.

You can mix relative and absolute references within a cell (for example, =$A$1+B1 in C1 will become =$A$1+B2 in C2).

By default, a cell reference is relative in Excel. This means the reference logic between two cells will be used the same way for other cells.

If you refer C1 from A1, you refer to a cell that is 2 columns to the left and within the same row. The system keeps the same logic regarding cells reference. If you copy the formula from C1 to C2, the referred cell will be A2.
For example, if your formula is =A1+B1 in cell C1, when you copy the formula to C2 it will change to =A2+B2.

To switch from a relative reference to an absolute one in Excel, add a dollar sign before the cell reference.

To lock a cell in Excel (to switch from a relative to an absolute reference) add a dollar sign ($) before cells references.

To do so, just add the $ symbol directly in the formula.

Note that a cell reference contains a column and a row references, if you add $ only before A1 ($A1), it may still become A2 if you paste the formula in another cell. To keep A1 reference in any other formulas change it to $A$1.

Take 30 sec. to watch the video on the right to learn how to do it.

In this example, the goal for the students is to end with the lowest score. We want to give a bonus (-2 points) to the students who score less than 10 points.

Our formula is =IF(score<10,(score-E3),score) with E3=2. This formula works fine for row 2 but if we apply the same formula to rows below, we’ll encounter an issue: E3 will become E4, then E5, etc.

We need E3 to be an absolute reference: let add a dollar sign $ before E and 3. Our formula is now =IF(score<10,(score-$E$3),score) and we can now use our IF function without any issues.


Check this page if you are not familiar with the IF function in Excel!

How did we add dollar signs simultaneously, you ask? What’s the shortcut to lock cells in Excel? It’s fn+F4!

To lock a cell in Excel, press fn and F4.

We do recommend you to press fn first to avoid any unwanted system actions like closing the window, opening the search window, etc.

Now, you know how to lock cells in Excel and how to use the dollar sign shortcut!

Learn more handy shortcuts and formulas with our Online Course. Join now and receive a free Spreadsheet Cheat Sheet!

Advertising
Analytics

Categories

AllAdvertisingFormatsPlatformsKPI'sAd News
What is Programmatic Advertising?

What is Programmatic Advertising?

Understand what programmatic advertising is and how it works to increase your ROI and become a programmatic specialist.

Read More
Programmatic Advertising: What is a DSP?

What are DSPs?

A DSP is a great tool to use but what does DSP stand for in marketing? What are some Demand-Side Platforms examples? Today, we answer your questions!

Read More

Best DSPs for Programmatic Advertising

Ted Jordan shares his list of best DSPs for Programmatic Advertising so you don’t have to lose time searching the internet to find the right Demand-Side Platform for your campaigns.

Read More
Programmatic Advertising: What is a SSP?

Supply-Side Platforms (SSPs) Explained

SSPs basics in advertising: learn what Supply-Side Platforms are used for and who use them. Get familiar with more programmatic advertising technical terms.

Read More

What is O&O Advertising?

Discover one more important jargon term used in Programmatic Advertising: O&O advertising. Get familiar with O&O formats and advantages.

Read More
Programmatic: Pixels in Advertising 101

Advertising pixels: types, pros and best practices

Learn the basics of Programmatic Advertising with Ted Jordan! Today, we explain what a pixel is in advertising with simple words and expertise. Ready to learn?

Read More

Categories

AllFunctionsToolsShortcut Keys

How to change shapes in Excel column charts

Learn how to easily change the columns shape in your Excel charts so your colleagues and customers will remember your impacting graphs.

Read More

How to use the LEFT, RIGHT and MID functions

Learn how to extract text in Excel with the LEFT, RIGHT and MID functions. Plenty of examples to learn from and functions are explained with simple words. If you start...

Read More

Excel IF statement: how to use it for 3 conditions

Learn how to use the Excel IF statement with multiple conditions and combine it with OR and/or AND functions!

Read More
Navigating with Tab, Enter, and Shift Key on Excel.

How to move between cells when arrow keys are not working (Excel)

Learn how to move between Excel cells without using your mouse or arrow keys. Discover more shortcuts and tricks below!

Read More

How to use the IFERROR function (Excel + Google Sheets)

Discover how to use IFERROR in Excel or in Google Sheets in 4 easy steps! No more errors on your documents or dashboards with IFERROR.

Read More
Cope Paste Options on excel with shortcut keys

Copy paste values like a pro! (Excel+Google Sheets)

Copy and paste values (not formulas) using shortcut keys in Excel or Google Sheets! Learn how spreadsheets professionals do it within seconds and become one of them. Save time now...

Read More