Skip to content

Pivot Table

You'll turn a few hundred rows into one readable table in four clicks, then make it answer three questions in plain sentences.

About

A pivot table takes a long list and summarizes it by whatever column you drag in: the total per month, the count per category, the average per person. People who know pivots write fewer formulas, because the pivot does the work. You need a flat list of at least 200 rows with a date, a category and a number, and a bank export, a fitness export or a public dataset all work. The trap is a subtotal row left in the source, which doubles the grand total and the pivot won't warn you. What counts is a pivot you built on data you can explain. A pivot that came with the file doesn't count.

At a glance

Per requirement
15 XP
Completion bonus
75 XP
Requirements
6
Takes
One evening
Skill level
Beginner (done it a few times)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
On your own

Requirements

  1. 1
    Get a flat list of at least 200 rows with a date, a category and a number. Flat means one header row and no merged cells, subtotals or blank rows. Bank exports are ideal: a date, a description, a category and an amount. If your bank doesn't export, your city's open data portal has thousands of lists like this. Blur account numbers and any merchant you don't want public. Take a screenshot of the raw list showing the header row and the row count. Photo
  2. 2
    Build a pivot showing the total per category, sorted biggest first. Insert a pivot table, drag the category to rows and the amount to values, then sort by the value, descending. The biggest category is often not the one you would have guessed. Take a screenshot of the pivot. Photo
  3. 3
    Add a second dimension so you can see category by month. Drag the date into columns and group it by month, and now you have a grid. If the months come out as 200 separate days, the grouping is a right-click away. Look across any row and spot the month that doesn't match the others. Take a screenshot of the grid. Photo
  4. 4
    Switch the value from sum to count, then to average, and say what changed. It's the same pivot telling three different stories. Lots of small transactions in one category and a few large ones in another look identical as a sum and completely different as a count. Film the switch between the three, or take a screenshot of the count version, and add two sentences on what it showed you. Photo or video
  5. 5
    Check the grand total against the source, and look for a row called (blank). The pivot's grand total should match a plain =SUM over the amount column and the total on the statement you exported. A row labelled (blank) at the bottom of the pivot means an empty category cell or a subtotal row got in, and a grand total about double what you expected means the same thing. Then pick one category and write a SUMIF for it on the raw list to confirm the two agree. Take a screenshot of the pivot's grand total next to the SUM and the SUMIF. Photo
  6. 6
    Write three findings in plain sentences under the pivot. Each one should be a number and a comparison, like 'eating out was 31 percent of spending, which is double what I guessed.' If you can't write a sentence from the table, the table isn't done yet. Take a screenshot of the three sentences under the pivot. Photo