Sub topic 3
Converting a range to a table
This chapter covers the conversion step itself: what to select, which commands to use, what Google Sheets does at the moment of conversion, and what to check afterward. It assumes you can select ranges, use A1 notation, and write simple formulas such as SUM. It also assumes your data already has a clean header row and consistent columns, as set up in the previous chapter. Later chapters cover column types, naming, and formulas in detail. Here you only need to get a range converted and confirm the result.
What conversion does
Converting a range to a table does not move or copy your data. The cells stay at the same addresses, and Sheets wraps them in a table object. That object has its own name, a header row it treats as column labels, a type for each column, and built-in styling. The object also remembers where its boundaries are. The boundaries are what let a table grow when you add rows, which a plain range cannot do.
The conversion is cheap to try and easy to undo. Still, it changes the look of your cells and may change how Sheets treats the values in each column. Check the result right after converting.
Before you convert
Use the sample range below as a running example. It sits in A1:E4, with the header in row 1.
Order ID | Customer | Order Date | Amount | Paid
1001 | Acme | 2026-01-05 | 250 | TRUE
1002 | Globex | 2026-01-09 | 480 | FALSE
1003 | Initech | 2026-01-12 | 125 | TRUECheck these points first. Each one prevents a common conversion problem.
- One header row on top. Every header cell should contain text, and every header should be unique. Blank or duplicate headers force Sheets to invent names, or to treat the row as data.
- One kind of value per column.
Amountshould hold only numbers. If a cell holds the text"n/a", the column may be typed as text instead of number. - No blank rows or columns inside the data. A blank row ends the range that Sheets detects automatically. Everything below it is left out of the table.
- No merged cells. Merged cells break the one-cell-per-field structure that a table needs. Unmerge them first with Format > Merge cells > Unmerge.
- Nothing already in the way. A table cannot overlap another table. Make sure the cells just below and beside the range are free if you expect to add rows later.
Two ways to convert
You can start the conversion in either of two ways. Both produce the same result.
From the menu bar
- Select the range, for example
A1:E4. Selecting a single cell inside the data also works. In that case, check the range Sheets proposes. - Choose Format > Convert to table.
From the right-click menu
- Select the range.
- Right-click inside the selection.
- Choose Convert to table.
There is also a keyboard shortcut. On Windows and ChromeOS it is Ctrl + Alt + T. On Mac it is Cmd + Option + T. The shortcut can be changed or disabled by browser or system settings, so use the menu if it does nothing.
What happens at conversion
When you run the command, Sheets does these things in a single step.
- It treats the first row of the selection as the header row. Header text becomes the column names.
- It assigns a name. The first table on a sheet is typically called
Table1. You rename it in a later chapter. - It applies a default style. The header row is shaded, and the body rows are banded in alternating shades. This is visual only, and you can change it.
- It detects a type for each column. From the sample data, Sheets would likely choose a type for each column as follows.
| Column | Sample values | Likely detected type |
|---|---|---|
| Order ID | 1001, 1002, 1003 | Number or text |
| Customer | Acme, Globex, Initech | Text |
| Order Date | 2026-01-05 | Date |
| Amount | 250, 480, 125 | Number or currency |
| Paid | TRUE, FALSE, TRUE | Checkbox |
Detection is a best guess, not a promise. An identifier like Order ID could be treated as a number or as text, and both are valid. A column that mixes dates and text is a typical case where the guess is wrong. Chapter 5 covers changing a column's type. For now, scan the types and note any that look off.
- It adds a column menu to each header. Each header gets a small dropdown arrow. This menu provides sorting, filtering, and column settings.
- It shows a table name chip. A label with the table's name appears at the top left of the table, and it opens the table menu.
The conversion flow
The diagram shows the decisions between selecting the range and having a usable table.
Worked example
Take the sample range above and convert it.
- Click cell
A1, then Shift-clickE4to selectA1:E4. - Choose Format > Convert to table.
- Look at the result. The table should span
A1:E4, with row 1 as the header and rows 2 to 4 as the body. - Open the dropdown on the
Paidheader and confirm the column behaves as checkboxes. The values should appear as checkboxes, not as the words TRUE and FALSE. - Open the dropdown on
Order Dateand confirm it is a date column.
Now test that the table is really a table. Type a new row directly under the last one, in row 5:
1004 | Umbrella | 2026-01-15 | 310 | FALSEThe table boundary should extend to include row 5, and the new row should pick up the banding and column types. A plain range would simply have more cells below it, with nothing connecting them to the data above. How expansion works is the subject of chapter 8.
What happens to formulas
Formulas outside the table that refer to the old range, such as =SUM(D2:D4), still work after conversion. They point at cells, not at the table. They behave like any fixed range reference. If you add a fifth row, that sum does not include it unless you edit the reference.
=SUM(D2:D4)To make a formula follow the data as it grows, refer to the column by name once the table is named:
=SUM(Orders[Amount])Naming and structured references are covered in chapter 7. After converting, review any formula that used the old range and decide whether to rewrite it.
Common problems at conversion
| Symptom | Likely cause | Fix |
|---|---|---|
| The table stops before the last rows | A blank row inside the data ended automatic detection | Remove the blank row, or select the full range by hand and convert again |
| The first data row became a header, or the header became data | The top row was not clearly text, for example a header made of numbers or dates | Make header cells text, then convert again |
| A column has the wrong type | Mixed values, such as numbers and text, in one column | Clean the stray values, then change the column type |
| The command is unavailable or fails | The selection overlaps an existing table, or includes merged cells | Select a range outside other tables, and unmerge cells |
| Header names look odd, such as `Column 2` | Header cells were blank | Type a unique name in each header cell |
| Formulas elsewhere did not change | They still use A1 references | Rewrite them with structured references if you want them to grow |
Undoing a conversion
If the result is not what you wanted, press Ctrl + Z (Cmd + Z on Mac) immediately. Sheets returns the cells to a plain range. Because no data was moved, undoing is safe at this stage. If you have since made other edits, use the conversion back to a plain range, described in chapter 11, rather than stepping back through many undo operations.
A short checklist after converting
Run through these checks every time. They take less than a minute.
- The table covers all the rows and columns you intended, and nothing else.
- Row 1 holds the column names, and each name is correct.
- Each column's type matches how you use it.
- Data that must stay unchanged, such as identifiers with leading zeros, still looks right.
- Formulas that reference the old range still give the numbers you expect.
Choosing whether to convert
Conversion suits data that is a list of records. Each row is one item, and each column is one attribute. Orders, contacts, tasks, and inventory all fit. It suits a sheet less well when the cells are a layout, such as a report with title rows, subtotals in the middle, or a calendar grid. Those cells have no single header row, so the structure a table needs is missing. Chapter 12 covers when to keep a plain range.
Exercise
You select A1:E20 and convert it to a table. Rows 1 to 10 are included, but rows 12 to 20 are left out. Row 11 is completely empty. What is the cause, and what are two ways to fix it?
Show answer
The blank row 11 ended the range that Sheets detected, so the table covers only rows 1 to 10. One fix is to delete row 11 (or fill it with data), undo the conversion if needed, and convert again. The other fix is to select A1:E20 explicitly and convert from the Format menu, then check that the table covers all the rows. Deleting the blank row is cleaner, because a blank row inside the data would cause the same problem again later.
Exercise
After conversion, the formula =SUM(D2:D4) sits in cell G1. You type a new order in row 5 of the table. Does G1 include the new amount? What would you change so that future rows are included automatically?
Show answer
No. The formula uses a fixed A1 range, and conversion does not change it, so it still sums only D2:D4. To include future rows, rename the table (for example Orders) and replace the formula with =SUM(Orders[Amount]), which follows the Amount column as the table grows.