How to Lock Columns in Excel and Google Sheets

Written by

Mel Jenkins

Reviewed by

Laura Tsitlidze

Last updated on January 3, 2023

This tutorial demonstrates how to lock columns so they stay in view as you scroll in Excel and Google Sheets.

 

excel freeze columns example

 

Freeze Left Column

If you have a large worksheet with many columns going across the screen, you might want to make sure that you can always see the first column.

  1. In the Ribbon, select View > Freeze Panes.

 

excel freeze columns first column

 

  1. Select Freeze First Column.
    As you scroll in the worksheet, you can see that the first column remains visible regardless of how far you scroll across.
  1. To remove the pane freeze, select Unfreeze Panes from the Freeze Panes menu.

 

excel freeze panes unfreeze

 

Freeze Panes

You can freeze more than one column with Freeze Panes.

  1. Position your cursor in the column you wish to freeze.
  1. In the Ribbon, select View > Freeze Panes > Freeze Panes.

 

excel freeze columns freeze panes

 

The worksheet freezes Columns A to C. If you scroll across, these columns remain in place.

 

excel freeze columns third column

 

  1. To remove the pane freeze, select Unfreeze Panes from the Freeze Panes menu.

Freeze First Column in Google Sheets

  1. In the Menu, click View > Freeze > 1 column.

 

excel freeze columns first column google sheets

 

As you scroll across, the left column remains in place.

 

excel freeze columns first column example google sheets

 

  1. Click View > Freeze > No columns to remove the freeze.

 

excel freeze columns unfreeze google sheets

 

To freeze more than one column in Google Sheets, you can select either 2 columns to freeze the top two columns, or Up to current column(col) to freeze up to the column you have selected.

 

excel freeze columns freeze multiple google sheets

 

Note that the letter in parentheses after Up to current column reflects the column you have selected.

 

excel freeze columns freeze multiple example google sheets

 

You can also use Freeze Panes to freeze rows.

Were you looking instead for how to lock cell references in formulas or how to lock cells for editing with a password?

AI Formula Generator

Try for Free

See all How-To Articles