×

How to lock top row in Excel

How to lock top row in excel

While working with an Excel spreadsheet, the user utilizes the rows and columns to enter the details under various headings. Sometimes while scrolling the cursor to the lower column or rows, the headings of the sheet are not visible. Therefore the user might get confused with the fields and may not get a proper idea.  Hence to keep the top area of the Excel sheet visible while scrolling to another section of the same Sheet, Excel provides the "Freeze Panes" option. The Excel freeze pane option keeps a specific part of the sheet visible or locked while the rest of the page scrolls.

In this tutorial, we will discover the various ways to freeze or lock a row or column:

KEY points of Excel Freeze

Before we move forward and discover the steps to freeze rows or columns in a worksheet, lets' cover some essential points or Freeze rules guided by Excel:

  1. Excel allows the user to freeze rows from the top area and columns from the left side of the Excel sheet pane; therefore, the user wishes to freeze the rows and columns from the middle or any other sheet position that won't be feasible.
  2. The Excel Freeze Panes command is not accessible when the user is in cell editing mode, i.e., he/she is either entering an Excel formula or data in a cell or if the user has enabled the worksheet in a protected mode. However, the user can cancel the Excel cell editing mode by pressing Enter or the Esc button.
  3. Excel provides you the feature to freeze the top row or the left column of your sheet or multiple rows and columns simultaneously. For instance, if the user has already locked row 1 and wants to freeze column A, row 1 will not be locked anymore, but if he wants to lock both rows and columns, he must freeze them simultaneously.

Freeze the top row

To lock the top row in Excel, following are the steps:

  1. Click on the View tab from the Excel ribbon bar.
How to lock top row in excel
  • From the upcoming pane, select the Freeze Pane option as shown in the below screenshot.
How to lock top row in excel
  • It will display three options. Select the Freeze top option.
How to lock top row in excel
  • As you can see in the below screenshot, Excel has locked the first row and made it visible even if it scrolls the rest of the worksheet.
How to lock top row in excel

Freeze the first column

To lock the first column in Excel, following are the steps:

  1. Click on the View tab from the Excel ribbon bar.
How to lock top row in excel
  • From the upcoming pane, select the Freeze Pane option as shown in the below screenshot.
How to lock top row in excel
  • It will display three options. Select the ‘Freeze First Column’ option.
How to lock top row in excel
  • As you can see in the below screenshot, Excel has locked the first column and made it visible even if it scrolls the rest of the worksheet.
How to lock top row in excel

Note: Sometimes the view tab is not visible to the user, and it may be because they are using Excel Starter. 

How to Freeze Top Row & First Column

Excel’s Top Row & First Column freeze option allows the user to lock both the top row and first column simultaneously. You can implement this preference using the generic option called Freeze Panes. Following are the steps to freeze the row & column simultaneously:

  1. Open the Excel sheet in which you would like to apply the selection cell option. Put your cursor on the cell till which to want to freeze the rows from top and columns towards its left. In our case, we have clicked on B3.
How to lock top row in excel
  • Click on the View tab from the Excel ribbon bar.
How to lock top row in excel
  • From the upcoming pane, choose the Freeze Pane and click on three triangular icon as shown in the below screenshot.
How to lock top row in excel
  • Click on the first option i.e., Freeze Panes.
How to lock top row in excel

NOTE: If you have already selected other freeze options, firstly unfreeze them to unlock the Freeze Pane option.

  • Now if you scroll across your Excel spreadsheet you will notice that Excel has the rows from the top and columns from the left till your selected cell reference (refer to the below screenshot).

How to unfreeze a locked row

Excel only allows freezing either the top row, left column, or both (if done at the same time). Once you freeze a row, you cannot further freeze a column unless and until you unfreeze it.

To unfreeze the row or column in Excel, following are the steps:

  1. Choose the View tab from the Excel ribbon bar.
How to lock top row in excel
  • From the upcoming pane, select the Freeze Pane option as shown in the below screenshot.
  • It will display three options. Select the top option i.,e Unfreeze Panes. This option unlocks all the rows and columns and enables the user to scroll the Excel worksheet.
How to lock top row in excel

Related Topics

How to convert a number to words in C

There are many ways available for converting an integer or a number to its word form. For example, consider a number as 12345. This number can be represented in two...

3 minutes read.

Armstrong program in C using function

In this article we will learn how to find Armstrong of a number using function in C. An Armstrong number is a three-digit number that is the sum of its separate...

1 minute read.

Exponential() in C

Introduction: In C language, there are available many types of functions. The exponential() function is one of them. It is a mathematical function. This article describes using the pow() property to...

3 minutes read.

Null character in C

Introduction The Null character in the C programming language is used to terminate the character strings. In other words, the Null character is used to represent the end of the string...

3 minutes read.

Queue implementation in C

In the C programming language, the queue is the abstract concept that is similar to stacks. However, it is the part of the data structures that work opposite to that...

4 minutes read.

Big O Notation in C

Big O Notation in C: In the C programming language, we have so many algorithms and solutions to the problems that exist, which have different aspects and purposes to an...

3 minutes read.

What is algorithm in C?

What is an algorithm? In computer programming languages, an algorithm is set of statement that solves a particular problem. In C, first step of every algorithm is Start and last step of...

3 minutes read.

One Dimensional Array in C

One Dimensional Array in C: In the C programming language, an array is defined as a collection of one or more values of the same type. Every value present in...

4 minutes read.

Types Of Structures In C

We can normally store elements of the same datatype with the help of an array in C programming. We can store multiple numbers of elements of a character data type...

3 minutes read.

Types of Pointers in C

Pointers in C A pointer is a variable and this variable contains the address of another variable, i.e it’s a variable which has the address of another variable as its value....

4 minutes read.

Structure Pointer in C

Structure Pointer in C In the C programming language, a structure pointer is defined as a pointer that points to the memory block address that stores a structure. Like C standard...

4 minutes read.

Loop Questions in C

Question 1: What is For loop syntax? Ans: The syntax that has been used for the ‘for’ loop in C programming language is: for (initialization statement /*for providing a value to variables*/; test...

19 minutes read.

How to use sine() function in C

What is Function? The function is a set of statements. It takes input and performs some computation to produce output. The process is a set of codes only achieved when it is...

3 minutes read.

FIFO Example in the C Language

FIFO is an acronym that means "First In, First Out." It is a data structure handling method in which the first element is handled first, and the last element is...

3 minutes read.

C program to find factorial of a number using Recursion

What does the term "Factorial of a Number" mean? In mathematics, factorial is the product of all positive integers that are less than or equal to a certain positive integer, and...

2 minutes read.

Nested Structure in C

In C language, we can create nested Structure (Structure within Structure). There are two ways to define a nested structure. By separate structure By Embedded structure   Separate structure In a separate...

1 minute read.

fflush in C

In this article, we will understand what is fflush(), the need for fflush and fflush(stdin), and fflush(stdout). The fflush() function is used to clear the output buffer and move the buffered...

3 minutes read.

Use of free() function in C

Introduction The free() function uses in C programming language. The free() function in the C programming language uses to release or deallocate the memory blocks; these blocks are previously allocated by calloc(), malloc() or realloc()...

3 minutes read.

Find occurrence of substring in C using function

Introduction: In this article, we discuss finding the occurrence of a substring in C using function. This software takes strings and substrings as input and counts the occurrences of substrings within...

3 minutes read.

Beep() function in C

Introduction: Beep is a function which is used in C programming language. The beep function uses to make a beep sound. In the C language, when we want to generate...

3 minutes read.