Excel tables
Turn a plain list into an Excel table, with formulas that fill and grow by themselves.
Make the table, name it, then write formulas with its column names, like [@Price].
This lesson has you typing formulas, so it works best on a computer.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Order | Product | Price | Qty | Total | Total sales | |||
| 2 | A-1001 | Lamps | £25.00 | 9 | |||||
| 3 | A-1002 | Shelves | £60.00 | 5 | |||||
| 4 | A-1003 | Mirrors | £40.00 | 5 | |||||
| 5 | A-1004 | Mirrors | £40.00 | 2 | |||||
| 6 | A-1005 | Desks | £120.00 | 4 | |||||
| 7 | A-1006 | Shelves | £60.00 | 3 | |||||
| 8 | A-1007 | Rugs | £35.00 | 2 | |||||
| 9 | A-1008 | Chairs | £45.00 | 5 | |||||
| 10 | |||||||||
| 11 | |||||||||
| 12 |
In a bit more detail
What is an Excel table?
A list Excel knows is a list. Click any cell in it and press Ctrl+T (Insert → Table): the first row becomes the header, the rows get stripes, and the whole thing gets a name, like
Table1.Why give the table a name?
Formulas can then use it. Table Design → Table Name: call it Orders, and
=SUM(Orders[Total])reads like a sentence. Table names have no spaces.What does [@Price] mean?
"The Price in this row." Type = in a table, click the Price cell in the same row, and Excel writes
[@Price]for you.=[@Price]*[@Qty]works in every row, so there are no cell names to get wrong and no $ to remember.Why does the formula fill itself?
In a table, a formula typed into an empty column is copied down the whole column straight away: a calculated column. Change it in one row and Excel offers to change them all.
What happens when I add a row?
Type in the row right under the table and the table grows to take it in. The new row gets the calculated columns, and
=SUM(Orders[Total])includes it, with no ranges to stretch. That's the real reason to use tables.Where else do tables help?
PivotTables, charts and
XLOOKUPthat point at a table keep up when it grows too. To turn a table back into plain cells, use Table Design → Convert to Range.
Know someone fighting with a spreadsheet? Send them this page.