Sub topic 3
Converting Ranges to Tables in Google Sheets
How a table grows as you add rows
This chapter assumes you can select ranges, write a simple SUM formula, and have converted at least one range to a table.
A table in Google Sheets is a range with a header row and typed columns. Sheets tracks the table as one object, so it can grow when you add data. Type into the row directly below the last table row, and the table expands to include it. A plain range does not do this. A formula such as =SUM(C2:C4) keeps pointing at the same cells until you edit it.
Sorting and filtering table data
Use the table menu to sort or filter. Sorting reorders only the table rows, and filters hide only table rows. Rows outside the table stay where they are, so unrelated data does not get scrambled.
Grouping rows in a table
Group rows to collapse detail rows under a summary row. Select the rows, then choose the grouping option. Collapsing a group hides the rows without deleting them.
Converting a table back to a range
Right-click the table and choose the option to convert it to a range. The data stays in place, but the table features such as typed columns and automatic growth are removed. Check your formulas afterward, because references that used column names may need review.
Limitations and when to keep a plain range
Tables do not suit every layout. Keep a plain range for free-form report areas, sections with merged cells, or data that needs no column types. Use a table when the data grows over time and your formulas refer to columns by name.
Exercise
A table named Orders covers A1:D4. You type a new order in row 6 and leave row 5 empty. Does the table include row 6?
Show answer
No. The new row must sit directly below the last table row. The empty row 5 keeps row 6 outside the table.