How to Freeze Rows and Columns in Microsoft Excel

Microsoft Excel is an incredibly powerful tool for managing large datasets. However, as your spreadsheet grows beyond a few dozen rows, you will inevitably encounter a major usability problem: when you scroll down to view data at the bottom of the sheet, your header row disappears.

Without the header row visible, it becomes impossible to remember whether a specific column contains “Gross Profit” or “Net Revenue”. Continually scrolling up and down to check the column names is a massive waste of time. To solve this, you need to learn how to freeze rows and columns in Microsoft Excel, ensuring your critical reference data remains permanently pinned to the screen.

How to Freeze the Top Row

The most common requirement in Excel is freezing the very first row (Row 1), which typically contains the titles of your data columns.

  1. Open your spreadsheet in Microsoft Excel.
  2. Look at the ribbon menu at the top of the Excel window. Click on the View tab.
  3. Locate the Window group within the ribbon and click the Freeze Panes button (it has an icon showing a padlock over a spreadsheet).
  4. A drop-down menu will appear. Select Freeze Top Row.

A subtle, dark grey line will appear directly underneath Row 1. Now, as you scroll down through thousands of rows of data, your column headers will remain completely stationary at the top of the screen.

How to Freeze the First Column

If your spreadsheet is extremely wide (containing dozens of columns), you may want to freeze the first column (Column A) so that client names or product IDs remain visible as you scroll horizontally to the right.

  1. Navigate to the View tab in the top ribbon.
  2. Click on the Freeze Panes button.
  3. From the drop-down menu, select Freeze First Column.

A solid grey line will appear to the right of Column A, pinning it firmly in place regardless of how far right you scroll.

How to Freeze Multiple Rows and Columns Simultaneously

What if your headers take up the first three rows, and you also want to freeze the first two columns? The “Freeze Top Row” and “Freeze First Column” buttons will not work for this. You must use the custom “Freeze Panes” option.

The secret to using this feature is understanding how Excel selects the freeze point. Excel will freeze everything above and to the left of your currently selected cell.

  1. Decide exactly which rows and columns you want to lock. For example, if you want to lock Rows 1-3 and Columns A-B, you need to select the cell immediately below the rows and immediately to the right of the columns.
  2. In this example, you would click once to select cell C4.
  3. Go to the View tab.
  4. Click Freeze Panes.
  5. Select the first option in the menu, also called Freeze Panes.

You will now see intersecting grey lines. Everything above Row 4 and to the left of Column C is permanently locked on your screen.

How to Unfreeze Panes

If you have made a mistake or simply want your spreadsheet to return to normal scrolling behaviour, unlocking the panes takes just two clicks.

  1. Go to the View tab.
  2. Click Freeze Panes.
  3. Select Unfreeze Panes (this option replaces the standard “Freeze Panes” button whenever a freeze is currently active on the sheet).

The grey boundary lines will immediately vanish, and your spreadsheet will scroll normally in all directions.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.

Receive our best articles and tips delivered straight to your inbox.