How to Freeze Multiple Columns in Excel
In this article
Freezing multiple columns in Excel keeps them visible as you scroll horizontally across large datasets, making it easier to track labels like IDs, names, or categories while navigating data. This feature works on all modern versions of Excel for Windows and macOS, and requires no add-ins or special settings—just the standard Freeze Panes tool.
What You'll Need
- A Microsoft Excel file (2010 or later)
- A worksheet with data extending beyond the visible screen width
- Access to the View tab on the Excel ribbon
Step-by-Step
- Open your Excel workbook and navigate to the worksheet where you want to freeze columns.
- Identify which columns you need to keep visible. For example, if you want to freeze the first three columns (A, B, and C), you’ll need to select the column immediately to the right of the last column you want to freeze—in this case, column D.
- Click on the header of column D to select the entire column. Alternatively, click and drag to select multiple columns starting from D, but only the first selected column matters for the freeze point.
- Go to the top of the Excel window and click the View tab in the ribbon menu.
- In the Window group on the View tab, click the Freeze Panes button. A drop-down menu will appear.
- From the drop-down, select Freeze Panes. Do not choose Freeze Top Row or Freeze First Column unless you only want to freeze one row or one column.
- Once applied, a thin horizontal line will appear just to the left of column D, and a vertical line will appear below the frozen columns. As you scroll right, columns A, B, and C will remain fixed on the screen.
- To test the freeze, click and drag the horizontal scroll bar at the bottom of the window. The frozen columns should stay in place while the rest of the data moves.
Common Mistakes
- Trying to freeze columns by selecting the columns you want to freeze instead of the column to the right. Excel freezes everything to the left of the selected column, so selecting column C to freeze A, B, and C will not work—you must select column D.
- Using Freeze First Column when you need more than one column frozen. This option only freezes column A and ignores other columns you may want locked.
- Freezing panes after scrolling horizontally. If you’ve scrolled right and then try to freeze, Excel may freeze based on your current view, not your intended starting point. Always return to column A before selecting the column to freeze.
- Assuming freezing columns also freezes rows. Column freezing only locks columns horizontally; rows remain scrollable unless you also freeze the top row using a separate setting.
Tips
- Combine column and row freezing: if you also want to keep the top row visible, select the cell immediately below and to the right of the area you want to freeze (e.g., cell D2 to freeze column A-C and row 1), then use Freeze Panes.
- Use the scroll lock indicator in the status bar at the bottom of Excel to confirm whether your view is properly locked. Frozen columns are always visible regardless of scroll position.
- If you frequently work with the same columns frozen, save the workbook with the freeze applied. The setting persists across sessions.
- For large datasets, consider using the Page Layout view to preview how frozen columns will appear when printed—frozen columns print normally unless you set print titles separately.
- Use keyboard shortcuts: after selecting the correct column, press Alt+W+F+F on Windows (or Command+Option+F on macOS) to quickly apply Freeze Panes without using the mouse.
Troubleshooting
- Freeze Panes is grayed out: This usually happens when the worksheet is protected or shared. Check if the sheet is protected (Review tab > Unprotect Sheet) or if it’s in Shared Workbook mode (Review tab > Share Workbook, then uncheck "Allow changes by more than one user").
- Columns still scroll after freezing: Double-check that you selected the correct column to the right of the last column you want frozen. If you selected column C instead of D, only column A will be frozen.
- Freezing works but the divider line is missing: The divider line may be hidden if your worksheet is zoomed out. Zoom to 100% (View tab > Zoom > 100%) to see the visual indicator clearly.
- Freeze resets after reopening: Ensure you saved the file after applying the freeze. If you’re working in a shared or cloud file (OneDrive, SharePoint), make sure you have edit permissions and that the file fully synced before closing.
- Excel crashes or freezes when applying: This is rare but can occur with very large files. Try copying your data to a new workbook and applying the freeze there. Also ensure Excel is updated to the latest version.