How to Freeze Rows and Columns in Excel

Microsoft Excel How to Freeze and Unfreeze Columns
(Image credit: Microsoft)

When you're working with a lot of spreadsheet data on your laptop, keeping track of everything can be difficult. It's one thing to compare one or two rows of information when dealing with a small subset of data, but when a dozen rows are involved, things get unwieldy. And we haven't even started talking about columns yet. When your spreadsheets become unmanageable, there's only one solution: freeze the rows and columns.

Freezing rows and columns in Excel makes navigating your spreadsheet much easier. When done correctly, the chosen panes are locked in place; this means those specific rows are always visible, no matter how far you scroll down. More often than not, you'll only freeze a couple of rows or a column, but Excel doesn't limit how many of either you can freeze, which can come in handy for larger sheets.

This how-to works with Microsoft Excel 2016 as well as later versions. However, the this method also works with Google Sheets, OpenOffice and LibreOffice. Ready to get to work? Here's how to freeze rows and columns in Excel: 

How to freeze a row in Excel

1. Select the row right below the row or rows you want to freeze. If you want to freeze columns, select the cell immediately to the right of the column you want to freeze. In this example, we want to freeze rows 1 to 5, so we've selected row 6.

Microsoft Excel How to Freeze and Unfreeze Columns

(Image credit: Future)

2. Go to the View tab. This is located at the very top, inbetween "Review" and "Add-ins."

3. Select the Freeze Panes option and click "Freeze Panes." This selection can be found in the same place where "New Window" and "Arrange All" are located.

Microsoft Excel How to Freeze and Unfreeze Columns

(Image credit: Future)

That's all there is to it. As you can see in our example, the frozen rows will stay visible when you scroll down. You can tell where the rows were frozen by the green line dividing the frozen rows and the rows below them.

Microsoft Excel How to Freeze and Unfreeze Columns

(Image credit: Future)

If you want to unfreeze the rows, go back to the Freeze Panes command and choose "Unfreeze Panes".

Microsoft Excel How to Freeze and Unfreeze Columns

(Image credit: Future)

Note that under the Freeze Panes command, you can also choose "Freeze Top Row," which will freeze the top row that's visible (and any others above it) or "Freeze First Column," which will keep the leftmost column visible when you scroll horizontally.

Besides allowing you to compare different rows in a long spreadsheet, the freeze panes feature lets you keep important information, such as table headings, always in view.

Need more Excel tricks? Check out our tutorials on How to Lock Cells in Excel and How to Use VLOOKUP in Excel.

Read more
Microsoft Office
Microsoft's recent tests could lure Google Workspace users back to Office apps
An illustration of a man's silhouette and the top of his head is open like a lid as a slew of app icons float out into the air. The illustration is on a flat orange background.
I found an app that connects all my apps — without trying to replace them. It's a life-changer.
A desk with two monitors, a keyboard, a mouse, a lamp, and a desktop gaming PC on it showing a Linux home screen
I ditched Windows 11 for Linux — and you should, too
Samsung Dex
I replaced my laptop with Samsung Dex. Here’s what happened.
Acer Predator Triton Neo 16 gaming and content creation laptop
3 critical tips and tricks for maximizing performance on your gaming laptop
laptop hovering over a seenda laptop cooling pad against blue gradient background
3 laptop cooling pad deals under $35 — keep your laptop from overheating
Latest in Work & Collaboration Tools
An illustration of a man's silhouette and the top of his head is open like a lid as a slew of app icons float out into the air. The illustration is on a flat orange background.
I found an app that connects all my apps — without trying to replace them. It's a life-changer.
Thunderbolt Share depiction
Intel Thunderbolt Share: The powerful PC-to-PC connection software is frustratingly elusive, but you don't need a new laptop to use it
The 39.7-inch Dell UltraSharp monitor beside a Laptop Mag deals icon in front of an orange and yellow background
Top 5 Dell UltraSharp monitor deals: Save up to $300 on the ultimate productivity monitor!
The Logitech MX Creative Console seen from above on a white table
Logitech MX Creative Console review: Is this alternative stream deck a creative game changer?
Google Search
Google Reverse Image Search: How to search with an image in Google
docs in proton drive
What is Proton Docs? Why you might want to give the privacy-focused Google competitor a chance
Latest in How-To
illustration of laptop with tower speakers on either side.
How I turned my office into a personal concert hall with tower speakers and a MacBook
Acer Predator Triton Neo 16 gaming and content creation laptop
3 critical tips and tricks for maximizing performance on your gaming laptop
Samsung Galaxy Chromebook Plus
How to restart a Chromebook
how to use copilot voice
Copilot Voice: Here's how you can chat with Microsoft's new AI companion
Screenshots of iPhone mirroring using iOS 18 and macOS Sequoia
iPhone Mirroring changed how I use my MacBook and iPhone — here's how it works
The iPhone 16's camera control button
How to use the iPhone 16's new Camera Control button to become a phone photography pro