Sub topic 9
Inserting, Resizing, Hiding, and Freezing Rows and Columns
Assume you can open a spreadsheet, select cells, and use basic copy and paste. This chapter focuses on changing the sheet’s structure without changing the values stored in its cells.
Understand rows and columns
A row runs horizontally and is identified by a number, such as row 4. A column runs vertically and is identified by a letter, such as column C. Each cell belongs to one row and one column. For example, C4 is the cell where column C and row 4 meet.
Use rows for records and columns for fields in a data table. For example, each row might represent one order, while columns hold the order date, customer, and amount.
Select a complete row by clicking its number. Select a complete column by clicking its letter. To select several adjacent rows or columns, drag across their headers. To select separate areas, hold Ctrl on Windows or Command on macOS while selecting.
Insert rows and columns
Insert a row when new data belongs between existing records. Insert a column when you need a new field in a table.
- Select a row or column header near the place where you want the new one.
- Right-click the header.
- Choose Insert 1 row above, Insert 1 row below, Insert 1 column left, or Insert 1 column right.
- Enter the new data in the inserted area.
When you insert a row or column, formulas that refer to affected cells usually adjust automatically. Still, inspect important formulas after structural changes. References in charts, named ranges, or external connections may need separate checking.
To insert several rows or columns at once, first select the same number of existing headers. For example, select three row headers, then insert three rows.
Resize rows and columns
A column that is too narrow may display number signs such as ##### or hide part of a long label. A row that is too short may hide wrapped text.
Drag the boundary between two column letters or row numbers. Double-click the boundary to fit the size to the longest visible value. You can also right-click a header, choose Resize column or Resize row, and enter an exact size or choose Fit to data.
Use a fixed width when consistent layout matters. Use Fit to data when the content changes often. Very wide columns can make a sheet harder to scan.
Hide and show rows or columns
Hiding is useful for details that should remain available but distract from the current view. Select a row or column, right-click its header, and choose Hide row or Hide column. Small arrows appear between the surrounding headers. Click those arrows to show the hidden area again.
Hiding does not protect information. Anyone with suitable access can reveal the rows or columns. Do not use hiding as a security control.
Freeze headers while scrolling
Freezing keeps selected rows or columns visible as you move through a large sheet. To freeze a header row, choose View > Freeze > 1 row. To freeze the first column, choose View > Freeze > 1 column. You can freeze more rows or columns when needed.
The frozen area stays at the edge of the window. It does not duplicate data and does not change formulas.
Exercise
A sheet has headers in row 1 and hundreds of records below. You need the headers visible while scrolling, but you must not alter the data. What should you do?
Show answer
Choose View > Freeze > 1 row. Do not insert or hide row 1.