Excel table practice

An Excel table tells Excel where your data starts and ends. Sorting, totals and filters then come built in.

click to change

Point at a step to see the sheet right after it.

A2:A6 = ORD-02, ORD-01, ORD-04, ORD-05, ORD-03 The most expensive order is on top. The buttons were there from the moment the table was made.

Most spreadsheets that break do it at the bottom: a new row typed under the data that the totals and formulas never pick up. A table fixes that. It knows where the data starts and ends, and it keeps track as the data grows.

Below, an office-supply order list becomes a table. You sort it from a header, add a Total Row, and answer a budget question without writing a formula. After that, each part is taken apart on a small sheet where you can try the choices yourself.

Lesson

This is Witsheet, Witsy’s in-browser spreadsheet. It works like Excel and checks each step as you go.

Sort and filter from the headers

Insert → Table turns a block of cells into one dataset with headers. Every header gets a button straight away, and the rows are banded so they’re easy to read across. The button sorts the whole table by its column, and it filters: untick what you don’t want to see.

A2:A6 = ORD-02, ORD-05 The two Ink orders. The funnel on Category’s button says a filter is on.

click to change

Point at a step to see the sheet right after it.

filter C to Ink category
The categories left ticked in the Category button.

Filtering hides rows; it never deletes them. A filter left on is easy to miss later, so look for the funnel on a header button, and clear it from the same button.

A table grows with its data

Type in the row right under a table and it grows to include it, formatting and formulas too. A formula can name the table’s column, =SUM(Table1[Total]), instead of a range like =SUM(D2:D6), and the column grows with the table.

D8 = 233 The new row joined the table, so the table’s Total column now runs to row 7, and a SUM of it counts ORD-06 too.

=SUM() click to change
D2:D7 range
What the SUM adds up, after ORD-06 was typed under the table.

The Total Row follows the filter

Table Design → Total Row adds a row under the data. It totals the last column, and every cell in it has a dropdown: Sum, Average, Count, Max and more. Count counts every filled cell, text too; Count Numbers counts only numbers. The Total Row adds up only the rows you can see, so a filter turns it into that category’s total.

D7 = 89 The Total Row adds only the rows on show: the two Ink orders. Change the filter and it follows.

= click to change
SUBTOTAL(109,D2:D6) total
The total under the Total column, with the table filtered to Ink.

The other side of it: clear the filter before you report the full total.

A blank row cuts the table short

Insert → Table takes the unbroken block around the cursor. A blank row in the middle stops it, and everything below the gap stays outside the table. Delete the gap first, or fix the range in the dialog before you click OK. And if the Table Design tab disappears, click any cell in the table: the tab only shows while the cursor is inside one.

Download the tables practice sheet

To keep practicing in your own Excel, download the workbook: a year of office-supply orders, 350 rows to turn into a table, total, filter and pivot. The tasks sheet walks you through it.

Office supply orders

A year of orders for a fictional office-supplies company — regions, reps, categories, quantities and totals. The classic pivot table dataset; also good for SUMIF, sorting and filtering.

350 rows · Order ID · Date · Region · Sales Rep · Product · Category · Units · Unit Price · Total

Free · fictional data · opens in Excel and Google Sheets

Learn the rest of Excel the same way

Witsy’s Excel course teaches a few hundred small skills, called Wits, the way this page teaches tables: in a real spreadsheet, a step at a time. The placement test finds the ones you already have.

Your Wit map

Test your spreadsheet Wits.

Take a few minute test to see how good you actually are with spreadsheets. Witsy creates a map of the Wits you should learn next.

Take the placement test Or just start learning →
new unproven weak mid strong very strong super strong