About this lesson

I9 LESSON 29 · PASS

Pivot tables: total and count sales by store in Google Sheets

To make a pivot table in Google Sheets, click a cell in your data and go to Insert > Pivot table. In the Pivot table editor, add a text field such as Store under Rows and a number field such as Sales under Values, where it's summarised by SUM. To count the rows instead, change Summarise by to COUNTA.

Using Excel? Do this lesson in Excel.

Pivot tables need a big screen and a mouse. This lesson works on a phone, but it's hard going, so jump on your computer if you can.

What you'll practise

Turn an orders log into sales by store in a few clicks: insert a pivot table, add Rows and Values, switch SUM to COUNTA, then re-cut it by category.

4 steps · 40 points · the cells outlined in gold below

  • pivot tables
  • Rows and Values
  • SUM vs COUNTA
  • Summarise by

The data

ABCDEF
1StoreCategorySales ($)
2CairnsTents4,860
3BrisbanePacks2,315
4TownsvilleApparel1,742
5BrisbaneTents6,280
6DarwinPacks1,968
7CairnsApparel2,104
8BrisbaneApparel3,457
9TownsvilleTents5,125
10DarwinTents3,890
11CairnsPacks1,536
12BrisbanePacks2,746
13TownsvillePacks2,083
14DarwinApparel1,377
15BrisbaneTents7,014
16CairnsTents3,962
17TownsvilleApparel2,598
18BrisbaneApparel1,829
19DarwinPacks2,451
20TownsvilleTents4,307
21CairnsApparel1,718

Semester pass · A$49 for six months

This drill comes with the semester pass.

Every lesson, for A$49 every six months. Cancel any time and you keep the pass until the six months you've paid for run out.