How to Keep a Column Fixed in Excel
In this article
Keeping a column fixed in Excel lets you scroll through large datasets while keeping important reference columns—like names, IDs, or dates—visible at all times. This is especially useful when working with spreadsheets that have dozens or hundreds of columns. No special tools or add-ins are required; Excel’s built-in Freeze Panes feature handles this reliably. The method works on Windows and Mac, in Excel 2010 and later versions, including Microsoft 365.
What You'll Need
- A Microsoft Excel file with data in multiple columns
- Excel installed on Windows or macOS (Excel for the web also supports this feature)
- At least one column you want to keep visible while scrolling horizontally
Step-by-Step
- Open your Excel file and navigate to the worksheet containing the data you want to work with.
- Click on the column header immediately to the right of the column you want to keep fixed. For example, if you want to keep Column A fixed, click on the header for Column B. If you want to keep Columns A and B fixed, click on Column C.
- Go to the View tab in the Excel ribbon at the top of the window.
- In the Window group, click the Freeze Panes button. A drop-down menu will appear.
- From the menu, select Freeze Panes. Do not choose Freeze Top Row or Freeze First Column unless you specifically want to freeze rows or only the first column without additional columns.
- After selecting Freeze Panes, the column(s) to the left of your selected column will be locked in place. You’ll see a faint vertical line appear to the right of the fixed column(s), indicating the boundary of the frozen area.
- Scroll horizontally to the right using the horizontal scrollbar or arrow keys. The fixed column(s) will remain visible while the other columns scroll away.
- To verify the column is fixed, try scrolling down the sheet. The fixed column(s) should stay in place regardless of vertical or horizontal scrolling.
Common Mistakes
- Clicking on the column you want to freeze instead of the one to its right—this will freeze only the first column, not multiple columns.
- Using Freeze First Column when you need to freeze more than one column—this option only locks Column A, ignoring any other columns you might want to keep visible.
- Freezing panes after selecting a cell within the data range instead of a column header—this can lead to unexpected results, especially if the selection is not aligned with the edge of the data.
- Assuming Freeze Panes works in protected sheets without unprotecting first—if your sheet is protected, you must unprotect it (Review > Unprotect Sheet) before freezing panes, then re-protect afterward if needed.
- Trying to freeze columns in Excel for the web using a mobile browser—freeze panes is supported on desktop browsers but may not function reliably on mobile browsers or tablets.
Tips
- If you frequently switch between different fixed columns, remember that Freeze Panes only allows one frozen area per worksheet. To change which columns are fixed, you must first unfreeze (View > Freeze Panes > Unfreeze Panes), then reapply with a new selection.
- For large datasets, consider combining column freezing with row freezing. Click on the cell at the intersection of the last row and column you want to freeze—then choose Freeze Panes to lock both rows above and columns to the left.
- Use the Name Box (left of the formula bar) to quickly jump to the column header you need to select—type, for example, C1 and press Enter to jump to cell C1, then click Freeze Panes.
- When printing, frozen columns do not affect the printed output. If you need fixed columns visible on every printed page, use Page Layout > Print Titles to set column headers as repeating columns.
- Freeze Panes does not affect sorting, filtering, or data entry—you can still edit cells in frozen columns normally.
- On Mac, the View tab and Freeze Panes option are located in the same place, but the ribbon layout may appear slightly different depending on your Excel version.
Troubleshooting
- The column won’t stay fixed after scrolling—Check that you selected the correct column header. If you clicked inside a cell instead of the column letter, Excel may have frozen based on your active cell, not your intended boundary. Click the correct column header and repeat the Freeze Panes step.
- Freeze Panes is grayed out—This usually means you’re in Page Layout or Page Break Preview mode. Switch back to Normal view by clicking View > Normal.
- Only the first column freezes, even though I clicked on Column C—You may have accidentally clicked Freeze First Column instead of Freeze Panes. Go to View > Freeze Panes > Unfreeze Panes, then reselect Column C and choose Freeze Panes.
- Freezing works but the screen jumps when scrolling—This can happen if the worksheet has merged cells or hidden rows/columns near the freeze boundary. Unhide all rows and columns (Select all, right-click > Unhide), and unmerge any cells that cross the freeze line.
- Freeze Panes doesn’t work in Excel for the web—It does work, but only on desktop browsers. If you’re using a mobile device, switch to a laptop or desktop computer. Excel for the web does not support freezing panes on touch-only interfaces.
- After reopening the file, the columns are no longer frozen—This is rare but may occur if the file was saved in an older format (.xls instead of .xlsx). Save your file in .xlsx format via File > Save As > Excel Workbook.