Information Technology Topic

Locking Row and Column Titles

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. Title locking (freezing) keeps chosen top rows and/or left columns on screen while the rest of the sheet scrolls, so headings and names are always in view
  2. Locking rows is the horizontal lock, locking columns is the vertical lock, and you can lock both: select the row just below, the column just to the right, or the single cell below and to the right of the titles you want to keep
  3. Locking only changes what you see while scrolling. The data and formulas are not changed, and the same command turns the lock off again

Section 1The problem: titles scroll away

A spreadsheet with 60 students or 200 sales has far more rows than fit on the screen. Row 1 holds the headings, such as Name, Maths and English. Scroll down to row 45 and row 1 has gone off the top. Now you are looking at a column of numbers and you cannot remember which column is which. The same thing happens sideways when a sheet has many columns and the names in column A scroll off the left. Title locking solves this. You choose the titles you want to keep, and they stay put while everything else scrolls.

Section 2What title locking does

Title locking (also called freezing) keeps chosen top rows, left columns or both visible while the rest of the sheet scrolls past them. The locked part acts like a fixed frame. You scroll the rest of the sheet underneath and beside it. In some programs a heavier line marks the edge of the locked area. The titles in row 1 or column A are ordinary cells. Locking changes what stays on screen, not what is in the cells.

Section 3Locking rows: the horizontal lock

To keep the top rows in view, select the row just below the rows you want to keep, then turn on freezing. To keep row 1 only, select row 2. To keep rows 1 to 3, select row 4. This is called a horizontal lock because the dividing line runs across the screen and the locked rows sit above it. Here's the trick: the locked rows are the ones above your selection. This is the lock to use for a long list whose headings are in the top row, such as a class list with 60 names.

Section 4Locking columns: the vertical lock

To keep the left columns in view, select the column just to the right of the columns you want to keep, then turn on freezing. To keep column A only, select column B. To keep columns A and B, select column C. This is called a vertical lock because the dividing line runs up and down the screen and the locked columns sit to its left. The locked columns are the ones to the left of your selection. This is the lock to use for a wide sheet, such as a timetable with 40 columns of dates and names down column A.

Section 5Locking both rows and columns

A big sheet often needs both: headings across the top and names down the side. For this, select the single cell that sits below the rows and to the right of the columns you want to keep, then turn on freezing. The rule: that cell is the first one that is allowed to scroll. To keep row 1 and column A, select B2. To keep rows 1 and 2 and columns A and B, select C3. To keep rows 1 to 4 and columns A to B, select C5. Easy to mix up: you select the cell AFTER the titles, not the last title cell. Selecting B1 to keep row 1 and column A would not give the result you want. Count the rows and columns to keep, then add one to each.

Section 6Turning the lock off

Use the same freezing command to switch locking off again. The sheet then scrolls normally. If you want to change which titles are locked, turn the lock off first, then select a new row, column or cell and turn it on again. Some programs call the switched-off command unfreeze. It is the same command in the opposite state.

Section 7What locking does not do, and choosing what to lock

Locking changes the view only. It does not move any cells, change any values or formulas, or sort anything. It also does not stop anybody editing the titles. It only keeps them on screen. Before you lock, look at the shape of your sheet. Many rows and few columns: lock the top rows. Many columns and few rows: lock the left columns. Many of both, with headings across the top and names down the side: lock both. Watch out: if you lock too much, the frozen area takes up the screen and leaves little room to scroll. Lock only the titles you really need, usually one or two rows and one or two columns.

Examples

A Kingston teacher keeps 60 students on a sheet. Row 1 holds the headings Name, Maths, English and Science, and the names run from row 2 to row 61. The window shows 15 rows at a time, locked rows included. (a) Which kind of lock does she need, and what should she select before freezing? (b) She scrolls until row 41 is the first row below the locked area. State which rows are visible. (c) State what she sees if she had not locked row 1.

(a) The headings are in the top row and there are many rows, so she needs a horizontal lock (locking rows). She selects row 2, the row just below the row to keep, then turns freezing on. (b) Row 1 is locked, so 14 of the 15 rows in the window can scroll. With row 41 leading, those are rows 41 to 54. The visible rows are row 1 and rows 41 to 54, which is 15 rows in all. (c) Without the lock, the window would show 15 scrolling rows, 41 to 55, and row 1 would be gone. She would be looking at marks with no headings to say which subject each column is.

A Montego Bay call centre keeps a shift sheet. Row 1 holds the title and row 2 holds the day headings. Column A holds the agent number and column B the agent name. The shifts for each day start in column C and run to the right. The window shows 12 rows and 6 columns, locked ones included. (a) State the single cell to select so rows 1 and 2 and columns A and B all stay in view. (b) The sheet is scrolled so that row 30 is the first scrolling row and column F is the first scrolling column. State the visible rows and columns. (c) State whether each cell is visible: B2, G31, D35. (d) Describe how to switch the locking off.

(a) Keep 2 rows and 2 columns, so add one to each and select the cell at column C, row 3: C3. Rows 1 and 2 are above it and columns A and B are to its left. (b) Rows: the 2 locked rows (1 and 2) plus 10 scrolling rows (12 minus 2), starting at row 30. That is rows 1, 2 and 30 to 39. Columns: the 2 locked columns (A and B) plus 4 scrolling columns (6 minus 2), starting at F. That is A, B, F, G, H and I. (c) B2 is in a locked row and a locked column, so it is visible. G31 is in column G and row 31, both in the visible lists, so it is visible. D35 is in column D, which has scrolled out of view (C, D and E have gone), so it is not visible even though row 35 is on screen. (d) Use the same freezing command again to turn it off. The whole sheet then scrolls normally.

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from