How to Freeze Rows or Columns in Excel

Freeze Panes keeps selected rows or columns visible while the rest of the worksheet scrolls. It is perfect for header rows, ID columns, and wide data tables.

Does this affect you?

Use this for Excel for Microsoft 365, Excel 2021, Excel 2019, and Excel for the web when labels disappear as soon as you scroll down or sideways.

Freeze the top row or first column

Use the shortcuts for the most common layouts.

  1. Open the View tab.
  2. Click Freeze Panes.
  3. Choose Freeze Top Row to lock row 1.
  4. Choose Freeze First Column to lock column A.
  5. Scroll to confirm the frozen row or column stays visible.

To undo it, return to View > Freeze Panes and choose Unfreeze Panes. That option appears only after something is frozen.

Freeze a custom set of rows and columns

Select the cell just below and just right of everything that should stay visible.

  1. To freeze the top two rows and first column, click B3.
  2. Open View > Freeze Panes.
  3. Choose Freeze Panes, not the Top Row or First Column shortcut.
  4. Look for the thin boundary lines.
  5. Scroll down and across to test the result.

More control

Fix the wrong freeze area

If the wrong rows or columns froze, unfreeze panes and try again. The selected cell controls the boundary: rows above it and columns to the left of it stay locked.

Split is different

View > Split creates independently scrollable panes for comparing distant parts of the same sheet. Freeze Panes locks headers; Split divides the window.

Freeze each worksheet separately

A freeze setting on one tab does not apply to other worksheets in the workbook. Set it separately on each sheet.

Use Print Titles for paper

Freezing panes affects only the screen. To repeat headers on printed pages, use Page Layout > Print Titles.

Sources

  • Microsoft Support – Freeze panes to lock rows and columns (2025)
  • Microsoft Support – Split panes to lock rows and columns in separate worksheet areas (2025)
Disclosure: This post may contain affiliate links which means I may receive a commission for purchases made through links. I will only recommend products that I have personally used! Learn more on my Private Policy page.
A thoughtful woman reads a newspaper while enjoying coffee at an indoor workspace.

DEALWEEK

SUBSCRIBE AND GET 20% OFF YOUR NEXT ORDER! OFFER ENDS SOON - DON’T MISS OUT!

We don’t spam! Read our privacy policy for more info.

Shopping Cart