Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Freeze Columns in Excel: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To freeze columns in Excel, select the column to the right of the ones you want to keep visible, then go to View > Freeze Panes > Freeze Panes. This locks all columns to the left of your selection so they stay on screen while you scroll right. The same menu also lets you freeze rows, or both rows and columns at once, depending on where you place the selection.

What You'll Need

  • Microsoft Excel for Windows, macOS, or the web (Excel for Microsoft 365, Excel 2021, 2019, or 2016). The steps below use the desktop ribbon; the web version has the same View > Freeze Panes menu.
  • A spreadsheet with data that extends beyond the visible window, so freezing has a visible effect.
  • No add-ins or special permissions are required.

Step-by-Step

  1. Open your workbook and click the sheet tab you want to work on. Freezing applies per sheet, not to the whole workbook.
  2. Decide what to freeze. To freeze only columns, you will select the first column that should scroll. For example, if columns A, B, and C contain labels you want always visible, select column D. To freeze both rows and columns, select the cell just below the last row and just to the right of the last column you want locked (for rows 1–3 and columns A–C, select cell D4).
  3. Make the selection. Click the column letter at the top of the sheet to select the entire column. To select a cell, click it once. Avoid selecting multiple columns or a range, because Freeze Panes uses only the top-left corner of your selection.
  4. Go to the View tab on the ribbon. In the Window group, click Freeze Panes. (On Excel for the web, the button is also on the View tab.)
  5. Choose Freeze Panes from the dropdown. Excel inserts a thin black line to show the frozen boundary. Scroll right with the horizontal scrollbar; the frozen columns stay put while the rest move.
  6. Test it. Scroll down as well. If you froze only columns, rows should scroll normally. If you froze rows and columns, both should stay locked.
  7. Unfreeze when needed. Return to View > Freeze Panes and click Unfreeze Panes. This removes all frozen rows and columns on that sheet at once.

Menu labels can differ slightly by Excel version, device, or region. On Mac, the Freeze Panes button is on the Layout tab in some versions; if you do not see View > Freeze Panes, check the Layout tab. The keyboard shortcut Alt+W then F then F works in many Windows versions to open the Freeze Panes menu, but the exact sequence can vary, so use the ribbon if it does not respond.

Common Mistakes

  • Selecting the wrong column. Freezing works on everything to the left of your selection. If you select column C expecting to freeze C, you will actually freeze A and B. Select the column after the last one you want frozen.
  • Selecting a range instead of a single cell or column. Excel freezes based on the top-left cell of the selection, which can produce unexpected results. Click one column header or one cell.
  • Expecting freezing to apply to all sheets. Freeze Panes is a per-sheet setting. Repeat the steps on each sheet where you need it.
  • Confusing freeze with split. The Split option divides the window into panes that all scroll, which is not the same as locking columns in place.
  • Freezing in Page Layout view. Freeze Panes is designed for Normal view. Switch to View > Normal if the option appears greyed out.

Tips

  • Freeze columns before you start formatting a wide table; it makes it easier to keep headers in view while you work.
  • If you need to freeze several non-adjacent columns, first move them together or hide the columns in between, because Excel can only freeze a contiguous block from the left edge.
  • Use Freeze Top Row or Freeze First Column from the same dropdown for a one-click freeze of just the first row or first column.
  • Frozen panes are saved with the workbook, so they will still be in place when you reopen the file.
  • To print with repeated columns, use Page Layout > Print Titles instead; freezing affects only the on-screen view, not printed pages.

Troubleshooting

  • Freeze Panes is greyed out. You are likely in Page Layout or Page Break Preview view, or the sheet is protected. Switch to View > Normal. If the sheet is protected, go to Review > Unprotect Sheet (you will need the password).
  • Nothing appears to freeze. Check that you selected a column other than A or a cell other than A1. Selecting A1 or column A freezes nothing because there is nothing to the left.
  • The wrong columns are frozen. Click Unfreeze Panes, then reselect the correct column and freeze again.
  • The freeze line disappears after reopening. Confirm you saved the workbook after freezing. Some shared or protected workbooks may not retain view settings.
  • Freezing does not work in Excel for the web on a protected sheet. Unprotect the sheet or ask the owner to allow view changes.

Frequently Asked Questions

Can I freeze more than one column?

Yes. Select the column immediately to the right of the last column you want frozen, then choose Freeze Panes. All columns to the left of your selection are locked.

Does freezing columns affect printing?

No. Freezing changes only the on-screen view. To repeat columns on every printed page, use Page Layout > Print Titles.

Can I freeze columns on only part of a sheet?

No. Freeze Panes applies to the entire sheet and always locks from the left edge. For a different layout, consider splitting the window or using a second sheet.

Why is my Freeze Panes option greyed out?

The most common reasons are being in Page Layout view or having a protected sheet. Switch to Normal view and unprotect the sheet if needed.

Does freezing columns work in Excel for Mac?

Yes. The feature is available, though the button may be on the Layout tab rather than View in some versions. Look for Freeze Panes in the ribbon.

Can I freeze columns and rows at the same time?

Yes. Select the cell below the last row and to the right of the last column you want frozen, then choose Freeze Panes. Both the rows above and the columns to the left stay visible.