How to Freeze, Unfreeze, and Lock Rows, Columns, and Cells in Microsoft Excel

excel-dashboard-tips

You can fit a lot of data into an Excel sheet. With thousands upon thousands of rows and columns, it can get pretty unwieldy.

Unlock the FREE "Essential Excel Formulas" cheat sheet now!

This will sign you up to our newsletter

Enter your Email

One small feature that makes it easier to manage all of that data is the ability to freeze rows and columns. This means that no matter where you scroll in the spreadsheet, those rows or columns always stay visible.

Along with the freeze feature in Excel is a lock option. While it may sound like these two features could do the same thing, they actually serve different purposes. To avoid confusion, we’ll explain the difference and then how to lock rows, columns, and cells in Excel as well.

Freeze Versus Lock in Excel

As we briefly mentioned above, if you want a row or column to be visible no matter where you scroll in your Excel sheet, this requires the freeze feature.

You would use the lock feature to prevent changes to the content of a cell. As examples, you might lock a cell or range that contains formulas, lists, or similar types of data that you don’t want changed.

So if someone asks you how to lock a row in Excel, they likely mean to ask how to freeze a row in Excel.

How to Freeze the First Column or Top Row in Excel

More spreadsheets than not contain column or row headers. So freezing a column or row containing headers make is much easier to manage your data, especially when you have a lot of it.

With this method, you’re going to have to choose to freeze either the first column or first row. Unfortunately, you can’t do both.

  1. Open your Excel spreadsheet and go to the View tab.
  2. Click the Freeze Panes button.
  3. To freeze the first column, click Freeze First Column in the dropdown menu. To freeze the top row, click Freeze Top Row.

Excel Freeze First Column or Top Row

In Excel on Mac, you have separate buttons on the View tab for each option. So just click Freeze First Column or Freeze Top Row.

Excel Freeze First Column or Top Row on Mac

How to Freeze Columns and Rows in Excel

You may want to freeze more than just the first column or row in Excel. For instance, maybe you want to freeze the first three columns or rows.

  1. Open your Excel spreadsheet and go to the View tab.
  2. Select the last column or row in the group you want to freeze. For example, if you want to freeze columns A through C, select column D. Or if you want to freeze rows 1 through 4, select row 5.
  3. Click the Freeze Panes button and then the Freeze Panes option in the dropdown menu.

Excel Freeze Column

In Excel on Mac, this is also its own button on the View tab. So select the column or row and click Freeze Panes.

Excel Freeze Column Freeze Panes on Mac

How to Freeze Panes in Excel

If you would prefer to freeze a combination of rows and columns, referred to as a pane, it’s possible but slightly trickier.

  1. Open your Excel spreadsheet and go to the View tab.
  2. Select the cell directly below the row you want to freeze and the cell to the right of the column you want to freeze. For example, if you want to freeze columns A through C and rows 1 to 4, you would select cell D5.
  3. Click the Freeze Panes button and again, click the Freeze Panes option in the dropdown menu.

Excel Freeze Panes

How to Unfreeze Columns, Rows, or Panes in Excel

It’s just as simple to unfreeze columns, rows, and panes in Excel as it is to freeze them.

  1. Open your Excel spreadsheet and go to the View tab.
  2. Click the Freeze Panes button.
  3. Select Unfreeze Panes in the dropdown menu.

Excel Unfreeze Panes

In Excel on Mac, as you may have already guessed, this too is its own button. Head to the View tab and click Unfreeze Panes.

Excel Unfreeze Panes on Mac

How to Lock Columns, Rows, or Cells in Excel

Locking rows, columns, or cells in Excel involves two steps. First, you’ll lock the cell(s) and then you’ll protect the sheet. Note that cells in Excel are locked by default, but we’ll show you how to double-check that for the two-step process.

Lock the Cell(s)

  1. Select the column, row, cell, or group that you want to lock.
  2. Open the Format Cells dialog box by clicking the Alignment group on the Home tab or by right-clicking the cell(s) and picking Format Cells.
  3. Choose the Protection tab.
  4. Make sure the box for Locked is checked and click OK.

Excel Format Cells Locked

Protect the Sheet

  1. Go to the Review tab and in the Protect group click Protect Sheet.
  2. In the pop-up window, you’ll see a list of optional items that you can check or uncheck as part of the protection. Make sure that the first box is checked for Protect worksheet and contents of locked cells. If you want to allow other users to select the cells you lock, but not change them, you can check the box for Select locked cells.
  3. Enter a password for the sheet in the box at the top and click OK. On Windows, you’ll need to verify your password and click OK once more. On Mac, the password and verification are on the same screen.

Excel Protect Sheet

Unprotect the Sheet

To remove protection from an Excel spreadsheet, go to the Review tab, click Unprotect Sheet, and enter the password.

If you’re interested in the Protect Workbook button that you see in the ribbon, check out our tutorial on how to use that to protect your Excel file.

What’s important to note when you lock cells and protect a sheet is that as we explained earlier, all cells in an Excel sheet are locked by default. So unless you specifically unlock cells, all cells will be locked.

Lock Only Certain Cells

If you only want specific cells to be locked, you’ll start by unlocking them all and then only locking the ones you want.

  1. Click the Select All button (triangle) on the top left of the sheet. You’ll see your entire spreadsheet become highlighted.
  2. Open the Format Cells dialog box by clicking the Alignment group on the Home tab or by right-clicking the cell(s) and picking Format Cells.
  3. Choose the Protection tab.
  4. Uncheck the box for Locked and click OK.

Excel Unlock Cells

Once you do this, all cells in the spreadsheet will be unlocked. Now you can follow the two-step process above to Lock the Cell(s) and Protect the Sheet.

Freeze for Easy Viewing, Lock to Prevent Changes

Freezing rows and columns along with locking cells can both help in different situations. Whether you want to see a large amount of data more easily or make sure unwanted changes don’t occur, Excel gives you the features you need.

And for doing more with your Excel spreadsheets, take a look at tips for working with worksheet tabs or how to manage columns in Excel.

Read the full article: How to Freeze, Unfreeze, and Lock Rows, Columns, and Cells in Microsoft Excel



from MakeUseOf https://ift.tt/31v7TD8
via IFTTT
Share on Google Plus

About Oyetoke Toby

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment