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…
Nvidia confirms more RTX Spark processors are coming with N2X and N3 series lined up
Huang confirming a multi-generation roadmap before the first device has even shipped is the clearest signal yet that this is a decade-long commitment.
nvidia-rtx-spark

The PC and laptop industry has run on Intel and AMD silicon so long that most people don’t even question whether these are the only options. 

Nvidia just answered that question at Computex 2026, in the form of the RTX Spark superchip, and Jensen Huang’s comments about what comes next suggest that it wasn’t a one-time experiment. 

Read more
AI fitness coach senses the muscle mechanics as you exercise and prevents rookie injuries
Most fitness apps offer encouragement dressed up as coaching, but BioCoach offers anatomy-specific corrections, and I could see it becoming a smartphone app real soon.
Woman exercises with her Apple Watch and Dexcom G7.

During the pandemic, the US Consumer Product Safety Commission recorded a 48% spike in at-home exercise injuries. You might think that the culprit was bad equipment, but it was bad form. People had no coach around to correct it.  

Researchers at Drexel University and Michigan State University have built a prototype that addresses exactly that problem, in real time, using your phone camera, and there’s real potential for it to become a legitimate fitness app in future (via Tech Xplore).

Read more
China is moving beyond super-apps to embrace AI agents that do it all for you
Alibaba’s Qwen and Tencent’s WeChat are racing to make chat the new home for food orders, shopping, travel, and payments.
Electronics, Mobile Phone, Phone

Alibaba wants Qwen to handle the everyday app chores people usually do by tapping through menus, from ordering fried chicken to planning flights.

China’s super-app model has trained users to keep more of their digital lives inside one giant mobile hub. WeChat is the clearest example, with messaging, payments, shopping, food orders, ride-hailing, travel bookings, content, and mini-programs packed into a familiar daily flow.

Read more