How to freeze rows and columns in Excel
This tutorial demonstrates how to freeze cells in Excel, ensuring they remain visible while navigating other worksheet areas. Detailed instructions cover freezing rows (single or multiple), columns (single or multiple), and both simultaneously.
- Locking the Top Row
- Freezing Multiple Rows
- Freezing Columns in Excel
- Locking the First Column
- Freezing Multiple Columns
- Freezing Rows and Columns Together
- Unfreezing Rows and Columns
- Troubleshooting Frozen Panes
- Alternative Methods for Locking Cells
- Splitting Panes
- Utilizing Tables to Lock Header Rows
- Printing Header Rows on Each Page
Freezing Rows
Freezing rows is straightforward. Navigate to the View tab, then Freeze Panes, and select the appropriate option: Freeze Top Row (for the first row) or Freeze Panes (for multiple rows). Detailed steps are below.
Freezing the Top Row
To lock the top row, go to the View tab, locate the Window group, and select Freeze Panes > Freeze Top Row. The first row will remain visible while scrolling.
A grey line indicates a frozen row:
Freezing Multiple Rows
To freeze multiple rows (starting from row 1):
- Select the row (or the first cell) immediately below the last row to be frozen.
- In the View tab, choose Freeze Panes > Freeze Panes.
For example, to freeze the first two rows, select cell A3 (or row 3) and click Freeze Panes.
The frozen rows remain visible while scrolling:
Important Notes on Row Freezing:
- Only top rows can be frozen.
- All rows to be frozen must be visible before freezing.
Freezing Columns
Column freezing uses the Freeze Panes command similarly.
Freezing the First Column
To freeze the first column, select View > Freeze Panes > Freeze First Column.
Freezing Multiple Columns
To freeze multiple columns:
- Select the column (or first cell) to the right of the last column to be frozen.
- Go to the View tab and select Freeze Panes > Freeze Panes.
For instance, freezing the first two columns requires selecting cell C1 (or column C) and clicking Freeze Panes.
Frozen columns remain visible when scrolling horizontally:
Important Notes on Column Freezing:
- Only leftmost columns can be frozen.
- All columns to be frozen must be visible beforehand.
Freezing Rows and Columns Simultaneously
To freeze both rows and columns:
- Select the cell below the last row and to the right of the last column to be frozen.
- Choose View > Freeze Panes > Freeze Panes.
For example, freezing the top row and first column involves selecting cell B2 and clicking Freeze Panes.
This keeps the header row and first column visible during scrolling:
Unfreezing Panes
To unfreeze, go to View > Window > Freeze Panes > Unfreeze Panes.
Troubleshooting Frozen Panes
If Freeze Panes is greyed out, ensure you're not in cell editing mode and that the worksheet isn't protected.
Alternative Methods
Besides freezing panes, consider:
- Splitting Panes: Divides the window into scrollable sections. Select a cell at the split point and click the Split button in the View > Window group.
- Using Tables: Converting a range to a table keeps the header row visible. Use Ctrl T to create a table.
- Printing Header Rows: To repeat headers on each printed page, use the Print Titles option in the Page Layout tab.
This comprehensive guide covers various techniques for managing cell visibility in Excel.
The above is the detailed content of How to freeze rows and columns in Excel. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

This tutorial demonstrates how to efficiently locate the top N values within a dataset and retrieve associated data using Excel formulas. Whether you need the highest, lowest, or those meeting specific criteria, this guide provides solutions. Findi

This tutorial shows you how to add dropdown lists to your Outlook email templates, including multiple selections and database population. While Outlook doesn't directly support dropdowns, this guide provides creative workarounds. Email templates sav

In this tutorial, you'll learn how to use regular expressions in Excel to find and extract substrings matching a given pattern. Microsoft Excel provides a number of functions to extract text from cells. Those functions can cope with most

This tutorial provides a comprehensive guide to Excel's Flash Fill feature, a powerful tool for automating data entry tasks. It covers various aspects, from its definition and location to advanced usage and troubleshooting. Understanding Excel's Fla

This tutorial explains how to use Excel's FV function to determine the future value of investments, encompassing both regular payments and lump-sum deposits. Effective financial planning hinges on understanding investment growth, and this guide prov

This article explains how to access and utilize shared calendars within the Outlook desktop application, including importing iCalendar files. Previously, we covered sharing your Outlook calendar. Now, let's explore how to view calendars shared with

This tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden

This tutorial demonstrates several methods for separating text and numbers within Excel cells, utilizing both built-in functions and custom VBA functions. You'll learn how to extract numbers while removing text, isolate text while discarding numbers
