Excel course · Lesson 10 of 34
Excel tables and structured references
Turn a range into an Excel table: automatic formatting, growing ranges, calculated columns, the total row and structured references like Sales[Amount].
An Excel table (sometimes called a ListObject) is a range that Excel knows is a single block of data with headers. Converting a list to a table costs one shortcut and gives you a lot in return: formatting that extends to new rows, filters on every header, formulas that copy themselves down, a total row, and formulas that refer to columns by name. Tables are also the best source for PivotTables, charts, Power Query and drop-down lists, because everything built on a table grows when the table grows.
Creating a table
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Date | Region | Product | Qty | Price |
| 2 | 2026-01-08 | North | Laptop | 3 | 950 |
| 3 | 2026-01-09 | South | Monitor | 5 | 189 |
| 4 | 2026-01-12 | North | Mouse | 20 | 12 |
| 5 | 2026-01-14 | East | Laptop | 2 | 950 |
| 6 | 2026-01-15 | South | Keyboard | 12 | 25 |
A sales list in A1:E6, ready to become a table.
- Click any cell inside the list.
- Choose Insert › Tables › Table, or press
Ctrl+T(Mac:Ctrl+Tas well;Ctrl+Lalso works on Windows). - Check that the range
=$A$1:$E$6is correct and that My table has headers is ticked. Click OK. - The range gets banded rows and filter buttons, and the Table Design tab appears (called Table on Mac).
- In Table Design › Properties › Table Name, replace
Table1with a meaningful name:Sales. Names cannot contain spaces.
Sales[Price] in a formula is self-explanatory; Table3[Price] is not.Tables grow by themselves
Type a new date in A7, directly below the table, and press Enter. The table expands to include row 7: the banding continues, the formats are copied, and any formula, chart, PivotTable or drop-down list based on the table now includes the new row. You can also drag the small resize handle at the bottom-right corner of the table, or press Tab in the last cell of the table to add a new row.
Calculated columns
- Click
F1, type the headingAmountand press Enter. The table grows to include column F. - In
F2, type=and clickD2, type*, clickE2. Excel writes=[@Qty]*[@Price]instead of=D2*E2. - Press Enter. The formula fills the whole column automatically. This is a calculated column.
- Add a row later and the formula appears in it automatically.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Date | Region | Product | Qty | Price | Amount |
| 2 | 2026-01-08 | North | Laptop | 3 | 950 | 2850 |
| 3 | 2026-01-09 | South | Monitor | 5 | 189 | 945 |
| 4 | 2026-01-12 | North | Mouse | 20 | 12 | 240 |
| 5 | 2026-01-14 | East | Laptop | 2 | 950 | 1900 |
| 6 | 2026-01-15 | South | Keyboard | 12 | 25 | 300 |
The calculated column Amount. Every cell in F2:F6 holds the same formula.
Result: 945
[@Qty] means "the Qty value in this row". The @ is short for this row. The formula is identical in every row, which makes it easy to read and impossible to break by copying the wrong cell.
Structured references
References to table parts use the table and column names. They are called structured references.
| Reference | Refers to |
|---|---|
| Sales | All data rows (no headers, no total row) |
| Sales[Amount] | The Amount column, data rows only |
| Sales[@Amount] or [@Amount] | The Amount value in the same row as the formula |
| Sales[#Headers] | The header row |
| Sales[#Totals] | The total row |
| Sales[#All] | Everything: headers, data and totals |
| Sales[[Qty]:[Amount]] | The columns Qty to Amount |
Outside the table, formulas read naturally:
=SUM(Sales[Amount])
=SUMIFS(Sales[Amount], Sales[Region], "North")
=COUNTIFS(Sales[Product], "Laptop")
=AVERAGE(Sales[Price])| Formula | Result |
|---|---|
| =SUM(Sales[Amount]) | 6,235 |
| =SUMIFS(Sales[Amount], Sales[Region], "North") | 3,090 |
| =COUNTIFS(Sales[Product], "Laptop") | 2 |
| =AVERAGE(Sales[Price]) | 425.2 |
You do not need to type these. When you drag over a whole table column while writing a formula, Excel inserts the structured reference for you. If you prefer plain addresses, you can switch this off under File › Options › Formulas › Use table names in formulas.
Copying structured references sideways
Structured references behave like relative references when dragged across with the fill handle: =SUM(Sales[Qty]) dragged one column right becomes =SUM(Sales[Price]). To lock a column, use the range form with the column repeated: Sales[[Qty]:[Qty]]. Copying with Ctrl+C and Ctrl+V keeps the reference unchanged.
The total row
- Click inside the table and tick Table Design › Table Style Options › Total Row (
Ctrl+Shift+Ton Windows). - A Total row appears below the data. The last column gets a sum automatically.
- Click any cell in the total row to open a drop-down with Sum, Average, Count, Max, Min, StdDev and more.
- The total row uses SUBTOTAL, so it ignores rows hidden by a filter. Filter Region = North and the total shows 3,090.
Other table features
- Banded rows and columns, header row on/off and first/last column emphasis: Table Design › Table Style Options.
- Table styles: a gallery of colour schemes in Table Design › Table Styles.
- Slicers: Table Design › Tools › Insert Slicer adds clickable buttons that filter the table, great for dashboards (PivotCharts, slicers and timelines).
- Remove Duplicates: Table Design › Tools › Remove Duplicates (Removing duplicates and cleaning data).
- Headers stay visible: when you scroll down a table, the column letters are replaced by the table headers, so you rarely need Freeze Panes.
- Summarize with PivotTable: one click to build a PivotTable from the table (PivotTables: summarise thousands of rows in seconds).
Converting back to a range
Table Design › Tools › Convert to Range turns the table back into normal cells. The formatting stays, and structured references in formulas are converted to normal cell references.
Limitations to know
- Tables cannot contain merged cells, and headers are always text: a header typed as 2026 becomes the text
2026. - Traditional array formulas entered with Ctrl+Shift+Enter that return several cells are not allowed inside a table, and dynamic array formulas cannot spill inside a table (you get
#SPILL!). Put spilling formulas outside tables. - A protected sheet stops a table from expanding automatically.
- Shared workbooks in the old legacy sharing mode do not support tables; modern co-authoring does.
Ctrl+T, the same as on Windows (Cmd+T on a Mac switches $ references instead).Check yourself
1. Which shortcut converts a range into a table on Windows?
Ctrl+T (or Ctrl+L) opens the Create Table dialog.
2. What does [@Qty] mean in a table formula?
The @ sign means 'this row'.
3. You type a new record directly below a table. What happens?
Tables grow automatically, including formats and calculated columns.
4. Which reference returns the Amount column of the Sales table, data rows only?
Table[Column] refers to the data rows of that column.
5. Why does the total row ignore rows hidden by a filter?
The total row inserts SUBTOTAL formulas, which skip filtered-out rows.