search
HomeTopicsexcelHow 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.

How to freeze rows and columns in Excel

A grey line indicates a frozen row:

How to freeze rows and columns in Excel

Freezing Multiple Rows

To freeze multiple rows (starting from row 1):

  1. Select the row (or the first cell) immediately below the last row to be frozen.
  2. 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.

How to freeze rows and columns in Excel

The frozen rows remain visible while scrolling:

How to freeze rows and columns in Excel

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.

How to freeze rows and columns in Excel

Freezing Multiple Columns

To freeze multiple columns:

  1. Select the column (or first cell) to the right of the last column to be frozen.
  2. 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.

How to freeze rows and columns in Excel

Frozen columns remain visible when scrolling horizontally:

How to freeze rows and columns in Excel

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:

  1. Select the cell below the last row and to the right of the last column to be frozen.
  2. Choose View > Freeze Panes > Freeze Panes.

For example, freezing the top row and first column involves selecting cell B2 and clicking Freeze Panes.

How to freeze rows and columns in Excel

This keeps the header row and first column visible during scrolling:

How to freeze rows and columns in Excel

Unfreezing Panes

To unfreeze, go to View > Window > Freeze Panes > Unfreeze Panes.

How to freeze rows and columns in Excel

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!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
MEDIAN formula in Excel - practical examplesMEDIAN formula in Excel - practical examplesApr 11, 2025 pm 12:08 PM

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

Google Spreadsheet COUNTIF function with formula examplesGoogle Spreadsheet COUNTIF function with formula examplesApr 11, 2025 pm 12:03 PM

Master Google Sheets COUNTIF: A Comprehensive Guide This guide explores the versatile COUNTIF function in Google Sheets, demonstrating its applications beyond simple cell counting. We'll cover various scenarios, from exact and partial matches to han

Excel shared workbook: How to share Excel file for multiple usersExcel shared workbook: How to share Excel file for multiple usersApr 11, 2025 am 11:58 AM

This tutorial provides a comprehensive guide to sharing Excel workbooks, covering various methods, access control, and conflict resolution. Modern Excel versions (2010, 2013, 2016, and later) simplify collaborative editing, eliminating the need to m

How to convert Excel to JPG - save .xls or .xlsx as image fileHow to convert Excel to JPG - save .xls or .xlsx as image fileApr 11, 2025 am 11:31 AM

This tutorial explores various methods for converting .xls files to .jpg images, encompassing both built-in Windows tools and free online converters. Need to create a presentation, share spreadsheet data securely, or design a document? Converting yo

Excel names and named ranges: how to define and use in formulasExcel names and named ranges: how to define and use in formulasApr 11, 2025 am 11:13 AM

This tutorial clarifies the function of Excel names and demonstrates how to define names for cells, ranges, constants, or formulas. It also covers editing, filtering, and deleting defined names. Excel names, while incredibly useful, are often overlo

Standard deviation Excel: functions and formula examplesStandard deviation Excel: functions and formula examplesApr 11, 2025 am 11:01 AM

This tutorial clarifies the distinction between standard deviation and standard error of the mean, guiding you on the optimal Excel functions for standard deviation calculations. In descriptive statistics, the mean and standard deviation are intrinsi

Square root in Excel: SQRT function and other waysSquare root in Excel: SQRT function and other waysApr 11, 2025 am 10:34 AM

This Excel tutorial demonstrates how to calculate square roots and nth roots. Finding the square root is a common mathematical operation, and Excel offers several methods. Methods for Calculating Square Roots in Excel: Using the SQRT Function: The

Google Sheets basics: Learn how to work with Google SpreadsheetsGoogle Sheets basics: Learn how to work with Google SpreadsheetsApr 11, 2025 am 10:23 AM

Unlock the Power of Google Sheets: A Beginner's Guide This tutorial introduces the fundamentals of Google Sheets, a powerful and versatile alternative to MS Excel. Learn how to effortlessly manage spreadsheets, leverage key features, and collaborate

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use