What the video covers
The video walks through choosing a range, placing the pivot table, adding rows and values, and filtering the result. Try the three-purchase example below in a desktop browser to see how each choice changes the answer.
Watch the video on YouTubeStep-by-step instructions
- Give each purchase its own row
In a blank sheet, type Category in A1 and Amount in B1. Enter Books and 12 in row 2, Travel and 20 in row 3, and Books and 8 in row 4. Enter the amounts as numbers. When working with your own expenses, leave any existing grand total outside the range you select. - Create the summary on its own sheet
Select A1 through B4, including the headers. Open Insert and choose Pivot table. Select New sheet and click Create. The editor uses the headings from row 1 as the names of the fields you can add. - Choose what one summary row represents
In the editor, use Add beside Rows and choose Category. Books and Travel should appear once each. Next, use Add beside Values and choose Amount. Set Summarize by to SUM to calculate dollars spent. - Apply a filter after checking the full total
For a report showing only books, add Category under Filters and select Books. The report now answers a narrower question. Clear that filter before comparing the report with all three source purchases.
Watch the video
Play tutorial
Why it matters
Books appears twice in the expense log. Adding the two amounts answers “How much did I spend?” Counting the entries answers “How many purchases did I make?” Both results can look reasonable, so check the calculation shown in the Values field before sharing the report.
Check your result
With the filter cleared, Books should total 20, Travel should total 20 and the grand total should be 40. Change the book purchase in B4 from 8 to 10. Books should become 22 and the grand total should become 42.
Troubleshooting
If a later purchase is missing, reopen the pivot table editor and inspect the source range. A purchase added in row 5 falls outside A1:B4. Expand the range to include it, then check the active filters. Double-click a value in the pivot table to see the source rows behind that number.
Reference
Google Sheets Help on creating and editing pivot tables