Excel tables: practice exercises
Ctrl+T, tables that grow, calculated columns, Table1[Sales], [@Hours]. 5 exercises on real-looking data, each checked as you go. The full lesson is part of Pro.
The keys
| What it does | Windows | Excel for Mac |
|---|---|---|
| Make the data a table | Ctrl+ | Control+ |
All the shortcuts in one list, with Windows and Mac keys side by side.
This lesson is done with the tools on a practice sheet in the lesson, just as in Excel, and each task is checked as you go.
How it works
Turn a block of data into an Excel table with Ctrl+T. On this site use Ctrl+L, because your browser keeps Ctrl+T for a new tab. You get banded rows, filter buttons, and a table that grows: type in the row just below it and the new row joins the table.
Formulas can use the column names: =SUM(Table1[Sales]) adds up the whole Sales column however long it gets, and =[@Hours]*[@Rate] means “Hours times Rate on this row”. Type a formula into an empty column and it fills the whole column by itself.
=SUM(Table1[Amount]) =[@Price]*[@Qty]
Why use a table?
- It grows. Type in the row under it and that row joins the table, with its formulas and formatting. Totals that use the table include it straight away.
- Banded rows and filter buttons come with it.
- Formulas can use names instead of cell addresses, which makes them easier to read.
Make one with Ctrl+T in Excel (Ctrl+L also works). Here, use Ctrl+L or the Format as Table button.
Structured references
Excel calls the first table Table1 (you can rename it). Then:
Table1[Sales]: every value in the Sales column.=SUM(Table1[Sales])totals it, however many rows there are.[@Hours]: the Hours value on this row.=[@Hours]*[@Rate]in a new column works out each row.- A name with spaces or symbols goes in extra brackets when it's on its own:
[@[Sales (£)]].
Type a formula into the first cell of an empty column and it fills the column: a calculated column.
What you'll practise
- Turn this data into a table with Ctrl+L (in Excel, Ctrl+T works too), or the Format as Table button.
- Add a new sale in row 12, just under the table: Zoe Brown, IT, East, 7340 (press Tab between cells). Watch the total in F2 pick it up.
- Add a Pay column: type Pay in E1, then in E2 type =[@Hours]*[@Rate] and press Enter. It fills the whole column by itself.
- In G1, total the Sales column using the table's name: =SUM(Table1[Sales (£)]). Unlike D2:D12, it'll keep up when rows are added.
- In G2, total the sales for the team in G1, with SUMIF and the table's column names: =SUMIF(Table1[Team], G1, Table1[Sales (£)]).
Guide with worked examples: Excel tables: how to make one, and why it helps