Lesson 18: Freezing Panes and View Options
/en/excel2016/basic-tips-for-working-with-data/content/
Introduction
Whenever you're working with a lot of data, it can be difficult to compare information in your workbook. Fortunately, Excel includes several tools that make it easier to view content from different parts of your workbook at the same time, including the ability to freeze panes and split your worksheet.
Watch the video below to learn more about freezing panes in Excel.
To freeze rows:
You may want to see certain rows or columns all the time in your worksheet, especially header cells. By freezing rows or columns in place, you'll be able to scroll through your content while continuing to view the frozen cells.
- Select the row below the row(s) you want to freeze. In our example, we want to freeze rows 1 and 2, so we'll select row 3.
- On the View tab, select the Freeze Panes command, then choose Freeze Panes from the drop-down menu.
- The rows will be frozen in place, as indicated by the gray line. You can scroll down the worksheet while continuing to view the frozen rows at the top. In our example, we've scrolled down to row 18.
To freeze columns:
- Select the column to the right of the column(s) you want to freeze. In our example, we want to freeze column A, so we'll select column B.
- On the View tab, select the Freeze Panes command, then choose Freeze Panes from the drop-down menu.
- The column will be frozen in place, as indicated by the gray line. You can scroll across the worksheet while continuing to view the frozen column on the left. In our example, we've scrolled across to column E.
If you only need to freeze the top row (row 1) or first column (column A) in the worksheet, you can simply select Freeze Top Row or Freeze First Column from the drop-down menu.
To unfreeze panes:
If you want to select a different view option, you may first need to reset the spreadsheet by unfreezing panes. To unfreeze rows or columns, click the Freeze Panes command, then select Unfreeze Panes from the drop-down menu.
Other view options
If your workbook contains a lot of content, it can sometimes be difficult to compare different sections. Excel includes additional options to make your workbooks easier to view and compare. For example, you can choose to open a new window for your workbook or split a worksheet into separate panes.
To open a new window for the current workbook:
Excel allows you to open multiple windows for a single workbook at the same time. In our example, we'll use this feature to compare two different worksheets from the same workbook.
- Click the View tab on the Ribbon, then select the New Window command.
- A new window for the workbook will appear.
- You can now compare different worksheets from the same workbook across windows. In our example, we'll select the 2013 Sales Detailed View worksheet to compare 2012 and 2013 sales.
If you have several windows open at the same time, you can use the Arrange All command to rearrange them quickly.
To split a worksheet:
Sometimes you may want to compare different sections of the same workbook without creating a new window. The Split command allows you to divide the worksheet into multiple panes that scroll separately.
- Select the cell where you want to split the worksheet. In our example, we'll select cell D6.
- Click the View tab on the Ribbon, then select the Split command.
- The workbook will be split into different panes. You can scroll through each pane separately using the scroll bars, allowing you to compare different sections of the workbook.
- After creating a split, you can click and drag the vertical and horizontal dividers to change the size of each section.
To remove the split, click the Split command again.
Challenge!
Within our example file, there is A LOT of sales data. For this challenge, we want to be able to compare data for different years side by side. To do this:
- Open our practice workbook.
- Open a new window for your workbook.
- Freeze First Column and use the horizontal scroll bar to look at sales from 2015.
- Unfreeze the first column.
- Select cell G17 and click Split to split the worksheet into multiple panes. Hint: This should split the worksheet between rows 16 and 17 and columns F and G.
- Use the horizontal scroll bar in the bottom right of the window to move the worksheet so that Column N, which contains data for January 2015, is next to Column F.
- Open a new window for your workbook, and select the 2012-2013 Sales tab.
- Move your windows so they are side by side. Now you're able to compare data for similar months from several different years. Your screen should look something like this:
/en/excel2016/sorting-data/content/