Sub topic 11
Rows, columns, and cells
This chapter assumes you can open a blank workbook, recognize the Name Box and formula bar, and switch between sheet tabs. Here you will learn how the worksheet grid is built and how its parts behave.
The grid at a glance
A worksheet is a grid. Columns run vertically and are labeled with letters. Rows run horizontally and are numbered. A cell is the box where one column and one row cross. Every cell holds one value, one formula, or nothing.
Current Excel worksheets have these limits:
| Part | Limit |
|---|---|
| Rows | 1,048,576 |
| Columns | 16,384 (A to XFD) |
| Characters in one cell | 32,767 |
After column Z, labels continue as AA, AB, and so on, up to XFD.
The active cell
Only one cell is active at a time. Excel draws a thick border around it. The Name Box shows its address, and the formula bar shows its contents. Anything you type goes into the active cell.
Note the difference between a cell's contents and its display. A cell may show 15% while the formula bar shows 0.15. A cell may also show a rounded number while it stores more digits. Check the formula bar when a value looks wrong.
Selecting rows, columns, and cells
Selection decides what a command applies to. These are the common ways to select:
- Click a column letter to select the whole column.
- Click a row number to select the whole row.
- Click one cell, then Shift+click another to select the block between them.
- Hold Ctrl and click to select cells that are not next to each other.
- Press Ctrl+A to select the whole used area. Press it again to select the entire sheet.
Two shortcuts select whole lines from the keyboard:
Ctrl+Space Select the entire column of the active cell
Shift+Space Select the entire row of the active cellChanging row height and column width
Rows and columns can be resized by dragging the border between two headers. Double-click that border to auto-fit. Excel then sizes the row or column to its longest entry.
A cell full of ##### is a common error. It means the column is too narrow to display a number or date. Widen the column and the value appears. The stored value was never damaged.
Inserting and deleting
Right-click a row number or column letter and choose Insert or Delete. Inserting a row pushes the existing rows down. Inserting a column pushes the existing columns to the right. Formulas that refer to shifted cells are updated automatically.
A common mistake is deleting a row or column that other formulas depend on. Those formulas then show #REF!. Press Ctrl+Z immediately to undo.
Exercise
You select column C and insert a new column. A formula in D2 previously referred to C2. What does the formula refer to now, and why?
Show answer
It refers to D2. The inserted column pushed the old column C to the right, and Excel updates formulas so they keep pointing at the same data.
Exercise
A cell shows ##### instead of a date. What is the likely cause and the fix?
Show answer
The column is too narrow to display the value. Widen it by dragging its border or by double-clicking the border to auto-fit.