Skip to main content
  1. Home
  2. Computing
  3. How tos

How to freeze rows and columns in Excel

Add as a preferred source on Google
Microsoft Excel opened on a desktop computer.
Microsoft / Dell

If you’ve ever worked with an enormous Excel spreadsheet, you’ll know just how daunting all those rows and columns can be. Once you’re over 10 or 15 different values and labels, it can get pretty difficult to hang onto any info you’ve gleaned from these early cells. Fortunately, there’s a simple way to lock those little rectangular boxes of information.

The name of the game is “freezing,” and the execution is about as surface-level as the word. You use Microsoft Excel's built-in function to freeze specific rows and columns (often row or column headers), so when you’re scrolling through, these cells remain stationary on the page.

Recommended Videos

Difficulty

Easy

Duration

5 minutes

What You Need

  • Microsoft Excel

  • A PC

Here's our step-by-step guide to teach you how to start freezing today!

How to freeze a row in Excel

Step 1: Pick out the row or rows you want to freeze. These will be the rows that will stay with you as you scroll through the spreadsheet. Select the row immediately below the row you want to freeze. So if you want to freeze rows 1-3, you need to select row 4.

An Excel screenshot showing which row to select and the View tab menu for freezing rows.
Digital Trends

Step 2: Then select the View tab from the ribbon menu at the top of the screen.

Step 3: From the drop-down menu that appears, select Freeze Panes.

Alternatively, if all you want to do is freeze the top row of your spreadsheet, you don't have to select any rows beforehand. You can just click on the View tab and then Freeze Panes > Freeze Top Row.

An Excel screenshot showing the Freeze Panes drop down menu options.
Digital Trends

Step 4: To unfreeze your frozen rows: Go to the View tab again, select Freeze Panes, and then choose Unfreeze Panes from the drop-down menu.

An Excel screenshot showing the Unfreeze Panes menu option.
Digital Trends

How to freeze a column in Excel

Step 1: Pick the columns you want to freeze. Then select the column that is immediately to the right of the column or columns you want to freeze. For example, if you need to freeze columns A, B, and C, you should select column D.

An Excel screenshot showing column selection, View tab, and Freeze Panes option.
Digital Trends

Step 2: Then select the View tab from the ribbon menu at the top of the screen. Then choose Freeze Panes.

Step 3: From the drop down menu that appears, select Freeze Panes.

Alternatively, if all you want to do is freeze the first column of your spreadsheet, you can just click on the View tab, and then select Freeze Panes > Freeze First Column.

An Excel screenshot showing the Freeze Panes drop down menu options.
Digital Trends

Step 4: To unfreeze your frozen columns, just click on the View tab, and select Freeze Panes > Unfreeze Panes. Note that if you want to add a column to Excel, it will be frozen if added within a group of already frozen columns.

how to freeze row in excel unfreeze panes option screenshot
Digital Trends

Freezing rows and columns with keyboard shortcuts

You can also freeze Excel rows and columns with keyboard shortcuts. Here’s a small list of the most popular commands:

Step 1: Freeze both rows and columns: Press Alt+W+F+F, with each key tap taking place after the last. Once you’ve selected a cell in Excel, this command freezes the rows and columns before the highlighted cell.

Step 2: Freeze the top row: Press Alt+W+F+R. Regardless of the cell that’s selected, this command will always freeze the first row in your spreadsheet.

Step 3: Freeze the first column: Press Alt+W+F+C. Regardless of the cell that’s selected, this command will always freeze the first (leftmost) column in your spreadsheet.

Google Sheets is open in the Safari browser on a MacBook Air.
Digital Trends

How do you freeze rows and columns in Google Sheets?

Similar to Excel, Google’s own spreadsheet software has freeze-unfreeze options for you to mess around with. Here’s how to access these settings:

Step 1: Open a new spreadsheet in Google Sheets.

Step 2: Choose the row or column you’d like to freeze or unfreeze. Then, click View > Freeze at the top of the page.

Step 3: Now just select how many rows or columns you’d like to freeze. To unfreeze, click View > Freeze > No rows or No columns.

If you think this method sounds easier, you might think about converting your Excel file to use Google Sheets instead.

How do you freeze rows and columns in MacOS Numbers?

While Apple’s first-party spreadsheet software doesn’t actually have the same kind of freeze-unfreeze capabilities as Excel or Google Sheets, you can still freeze header rows, header columns, or both. Here’s how:

Step 1: Open a Numbers spreadsheet and click any area of the table. Then, click Table at the top of the page.

Step 2: Choose Freeze Header Rows, Freeze Header Columns, or both. You can also select Header Rows and Header Columns to choose how many rows or columns to freeze.

While you might have saved a lot of scrolling through your Excel spreadsheet, it's a good idea to protect important data from accidental altering. Learn how to lock cells in Microsoft Excel and maintain the integrity of your data.

Editors' Note: Article was checked on March 1, 2023, and confirmed that the steps and information included are still accurate.

Anita George
Anita George has been writing for Digital Trends' Computing section since 2018. So for almost six years, Anita has written…
ChatGPT’s hiking advice left two hikers stranded on a mountain in Poland
The chatbot directed the pair onto a climbing route neither had the skills to finish, and it's not the first time AI has sent travelers somewhere they shouldn't have gone.
Bag, Clothing, Coat

A shortcut recommended by ChatGPT left two hikers stuck on a mountain face in Poland this month, and they needed a helicopter to get back down. It's the latest case of an AI chatbot steering travelers toward routes it has no real way to evaluate.

ChatGPT's shortcut led straight to a dead end

Read more
Firefox is doubling its update pace, and that’s good news for your security
Mozilla Firefox

Mozilla is about to speed up one of the most important parts of using Firefox: security updates. If you're used to seeing a new Firefox update land about once a month, that's about to change. Beginning in September, Mozilla plans to switch to a two-week release schedule for Firefox on desktop and Android, meaning users should start getting updates twice as often. That might sound like more frequent downloads, but it's really about closing security gaps sooner.

Why waiting a month for security fixes no longer cuts it

Read more
Anthropic confirms Claude acts differently depending on your language and which model you pick
A new study shows Claude's isn't nearly as consistent as you might assume.
Claude app on iPhone

If you've ever felt like Claude gave you a completely different vibe on one day than another, you weren't imagining it. Anthropic just published research confirming that its chatbot's personality shifts depending on which model you pick and which language you type in, and the pattern is consistent enough that it's worth knowing before you ask your next question.

The model you pick decides how Claude responds

Read more