How to Freeze Panes in Excel to Scroll Cells
In this article
To keep cells visible while you scroll in Excel, use the Freeze Panes feature: select the cell just below and to the right of the rows and columns you want to lock, then go to View > Freeze Panes > Freeze Panes. This keeps the rows above and columns to the left of your selection on screen as you scroll through the rest of the sheet. The labels can differ slightly by Excel version, platform, or region, but the View tab is consistent across Windows, Mac, and the web app.
What You'll Need
- Excel for Windows, Mac, or Excel for the web (the feature is not available in the mobile apps).
- A workbook with data that extends beyond the visible screen area.
- Basic familiarity with selecting cells and using the ribbon.
Step-by-Step
- Open your workbook and navigate to the sheet where you want to freeze rows or columns.
- Decide what to freeze. To freeze only the top row (e.g., headers), you will select the entire row below it. To freeze only the first column, select the entire column to its right. To freeze both rows and columns, select the cell that is just below the last row and just to the right of the last column you want frozen.
- Make the selection. For example, if you want to freeze the first row (row 1), click on cell A2. If you want to freeze the first column (column A), click on cell B1. If you want to freeze both row 1 and column A, click on cell B2.
- Go to the View tab on the ribbon.
- Click Freeze Panes in the Window group. A dropdown menu appears.
- Choose Freeze Panes from the dropdown. (The other options, Freeze Top Row and Freeze First Column, are shortcuts that freeze only the top row or first column without needing to select a cell first.)
- Verify the freeze. You should see a thin black line (or gray line, depending on your version) indicating the frozen boundary. Scroll down or to the right; the frozen rows or columns should remain visible.
- To unfreeze, go back to View > Freeze Panes > Unfreeze Panes.
Common Mistakes
- Selecting the wrong cell. The freeze applies to everything above and to the left of the selected cell. If you select cell A1, nothing will freeze because there are no rows above or columns to the left. Always select the cell just below and to the right of the area you want frozen.
- Freezing entire rows or columns unintentionally. If you select an entire row (by clicking the row number) and then freeze, Excel will freeze all rows above that row, which may be more than you intended. Similarly for columns.
- Expecting freeze panes to work in Excel for mobile. The mobile apps (iOS and Android) do not support freeze panes. You can view frozen panes if they were set on desktop, but you cannot create or modify them.
- Confusing freeze panes with split. The Split feature divides the window into separate scrollable areas but does not keep rows or columns permanently visible. Freeze Panes is the correct tool for keeping headers visible while scrolling.
- Forgetting that freeze panes affect only the active worksheet. Each sheet has its own freeze settings. If you switch sheets, you may need to set it again.
Tips
- Use the keyboard shortcut Alt + W + F + F (Windows) to quickly access Freeze Panes. On Mac, you can use the ribbon or the menu bar.
- If you want to freeze multiple rows and columns, select the cell that is one row below and one column to the right of the intersection. For example, to freeze rows 1-3 and columns A-B, select cell C4.
- Freeze panes can be combined with Excel Tables. If your data is formatted as a table, the header row automatically stays visible when you scroll, so you may not need freeze panes for that purpose.
- To freeze panes in Excel for the web, the steps are the same: View > Freeze Panes. However, some advanced options may be limited.
- If you have a large worksheet and want to keep both the top row and the first column visible, select cell B2 and freeze. This is the most common setup for data tables.
Troubleshooting
- Freeze Panes is grayed out. This can happen if the workbook is in a mode that doesn't allow changes, such as when a cell is being edited or when the sheet is protected. Press Esc to exit edit mode, or unprotect the sheet via Review > Unprotect Sheet (you may need a password).
- The freeze line is not where you expected. Check which cell was selected when you applied the freeze. The freeze boundary is always above and to the left of the selected cell. To adjust, unfreeze and reapply with the correct cell selected.
- Frozen panes disappear after closing and reopening the workbook. Freeze panes are saved with the workbook, so they should persist. If they don't, ensure you are saving in a format that supports them (e.g., .xlsx). Also, check if the workbook was opened in a different app or version that might not support freeze panes.
- Cannot unfreeze panes. If Unfreeze Panes is grayed out, the sheet may be protected or the workbook may be shared. Unprotect the sheet or stop sharing, then try again.
- Freeze panes not working on a second monitor or after resizing the window. Sometimes the freeze line can appear misplaced due to display scaling. Try resetting the zoom level to 100% or restarting Excel.
Frequently Asked Questions
Can I freeze more than one row and one column?
Yes. Select the cell that is just below the last row and just to the right of the last column you want frozen. For example, to freeze rows 1-3 and columns A-B, select cell C4, then apply Freeze Panes.
Does freezing panes affect printing?
No. Freeze panes only affect the on-screen view. Printing uses the page setup settings, such as print titles, which you can set via Page Layout > Print Titles.
Can I freeze panes in Excel for Mac?
Yes. The steps are similar: go to the View tab, click Freeze Panes, and choose Freeze Panes. The menu labels may differ slightly but the functionality is the same.
Why is Freeze Panes grayed out?
Common reasons include: the sheet is protected, the workbook is shared, or you are in cell edit mode. Press Esc, unprotect the sheet, or stop sharing the workbook as needed.
Can I use freeze panes in Excel for the web?
Yes, Excel for the web supports freeze panes. Go to View > Freeze Panes and choose the option you need. Note that some features may be limited compared to the desktop version.
What is the difference between Freeze Panes and Split?
Freeze Panes keeps specific rows or columns visible while you scroll. Split divides the window into separate panes that you can scroll independently, but it does not keep rows or columns permanently visible. Use Freeze Panes for headers, and Split for comparing different parts of the same sheet.