How to Fix the First Column in Excel (Freeze Panes)
In this article
To keep the first column visible while you scroll right in Excel, use Freeze Panes: click cell B1 (the first cell of the second column), then go to View > Freeze Panes > Freeze Panes. Everything to the left of the active cell (column A) and above it (row 1) is frozen. If you only want the column locked and not the top row, click cell A2 instead, then View > Freeze Panes > Freeze Panes. The labels can differ slightly by Excel version, platform and region, but the View tab and the Freeze Panes button are consistent across Excel for Microsoft 365, Excel 2021/2019 and Excel for Mac.
What You'll Need
- Excel for Windows, Excel for Mac, or Excel for the web (the desktop apps give the most reliable freeze behavior).
- A workbook with data in column A that you want to keep visible.
- The sheet should be the active sheet you want to freeze; freeze settings apply per worksheet, not to the whole workbook.
Step-by-Step
- Open the worksheet that contains the column you want to lock. Freeze Panes is applied to the active sheet only, so repeat the steps on each sheet that needs it.
- Decide what should stay visible. If you want only column A frozen, you will select cell A2. If you want column A and row 1 frozen together, select cell B1. The rule is: everything above and to the left of the selected cell is frozen.
- Click the correct cell. For column A only, click A2. For column A plus the header row, click B1. Do not select an entire column by clicking the column letter; that freezes differently and is not what most people want.
- Go to the View tab on the ribbon. On Excel for Mac, the View tab is also on the ribbon; on Excel for the web it is in the same place.
- Click Freeze Panes. A small dropdown opens with three options: Freeze Panes, Freeze Top Row and Freeze First Column.
- Choose Freeze Panes. This freezes based on your selected cell. If you selected A2, column A is locked. If you selected B1, column A and row 1 are locked.
- Verify it worked. Scroll to the right. Column A should stay in place while columns B, C and beyond move. A thin gray line appears at the freeze boundary.
- Save the workbook with Ctrl+S (Cmd+S on Mac). Freeze settings are saved with the file and will still be there when you reopen it.
Common Mistakes
- Selecting the wrong cell. Clicking A1 and then Freeze Panes freezes nothing useful because there is nothing above or to the left of A1. Always select the cell just below and to the right of what you want frozen.
- Using Freeze First Column when you also need row 1. Freeze First Column locks column A but leaves the header row scrolling. Use Freeze Panes with B1 selected if you need both.
- Freezing an entire column by clicking the column header. That selects the whole column and can produce unexpected results. Select a single cell instead.
- Expecting it to apply to every sheet. Freeze Panes is per worksheet. Other tabs keep scrolling normally until you repeat the steps.
- Confusing freeze with split. Split divides the window into panes that both scroll; Freeze Panes keeps one area fixed. Use Freeze Panes for a locked first column.
- Forgetting to unfreeze before editing layout. If you later insert or delete rows above the freeze line, the boundary can shift. Unfreeze, make the change, then re-freeze.
Tips
- Use Freeze Panes with B2 selected if you want both column A and row 1 locked but you also want to keep the header row visible while editing.
- If your first column contains long labels, widen it before freezing so the full text stays readable while you scroll.
- To unfreeze, go to View > Freeze Panes > Unfreeze Panes. The option only appears when something is currently frozen.
- Freeze settings travel with the file, so a shared workbook will open with the same frozen column on another computer, provided the recipient opens it in Excel.
- On Excel for the web, freeze panes works but the menu path is the same; some older browsers may render the gray boundary line faintly.
- If you need the first column visible in a printed report, consider Page Layout > Print Titles instead, which repeats columns on every printed page.
Troubleshooting
- Nothing appears frozen. Check that you selected a cell other than A1. If A1 is active, Freeze Panes has no effect because there is nothing above or to the left.
- The wrong area is frozen. Click Unfreeze Panes, then reselect the correct cell and freeze again. The boundary line shows exactly what is locked.
- The Freeze Panes button is grayed out. This usually means the sheet is protected or the workbook is in a view that does not support freezing. Check Review > Unprotect Sheet, or switch out of Page Layout view to Normal view.
- Freezing disappeared after reopening. Confirm you saved the file after freezing. If the file was saved by another user or in a different format, the setting may not persist.
- Only part of column A stays visible. The freeze line may be placed inside the column. Unfreeze, click the cell to the right of the column you want locked, and freeze again.
- Freeze Panes is missing on Mac. Make sure you are in a normal sheet view, not Page Layout, and that the workbook is not in a protected view. The View tab on the Mac ribbon has the same Freeze Panes control.
Frequently Asked Questions
Can I freeze more than one column?
Yes. Select the cell immediately to the right of the last column you want frozen. For example, to freeze columns A and B, select C1 and use Freeze Panes.
Does freezing the first column affect formulas or sorting?
No. Freeze Panes only changes what stays visible on screen. It does not alter cell values, formulas, sorting or filtering.
Will the frozen column stay when I share the file?
Yes, the setting is saved in the workbook. It will appear when the file is opened in Excel, though other spreadsheet apps may handle freeze panes differently.
How do I remove the freeze?
Go to View > Freeze Panes > Unfreeze Panes. This removes all frozen rows and columns on the active sheet.
Can I freeze the first column in Excel for the web?
Yes. The View tab includes Freeze Panes, and the same cell-selection rule applies. Some features may behave slightly differently from the desktop app.
Why does my frozen column show a thick line?
That line marks the freeze boundary. It is a visual guide, not a border, and it does not print or affect the data.