Technology · 2 min READ
How to Summarize Sales by Category With a Google Sheets Pivot Table

Turn a transaction list into category totals, compare sales channels, and trace a suspicious total back to its source rows.
Quick note
Follow these steps at your own pace. Check product terms and prices directly with providers before purchasing.
Quick answer
Select your transactions and choose Insert → Pivot table. Add Category under Rows and Amount under Values, summarized by SUM. Add Channel under Columns to compare where each category sold.
Turn transactions into a category report
- Put Category, Channel, and Amount in A1:C1. Keep one sale per row and leave out subtotal rows. Enter three sales: Books / Online / 30, Books / Store / 20, and Art / Online / 15.
- On a computer, select A1:C4, then choose Insert → Pivot table. Create it on a new sheet so it has room to expand.
- In the pivot editor, add Category under Rows. Under Values add Amount and select SUM. Expect Books 50, Art 15, and a grand total of 65.
- Add Channel under Columns. Check Books at the Online and Store intersections. The Books total should still be 50. To inspect a value, double-click its cell to see the underlying source rows on a new sheet.
Diagnose an unexpected total
| Symptom | What to check |
|---|---|
| Books displays 2 instead of 50 | Check whether Values is counting rows. Select SUM and verify that the amounts are numeric. |
| A new sale is missing | In the editor, extend the source range beyond the original last row. |
| The grand total is doubled | Look for subtotal lines included alongside the individual transactions. |
If a category splits into similar groups, list its distinct labels and inspect spelling or spaces. If amounts came from a CSV, check for numbers stored as text. For a fixed monthly report, sum transactions within each month.
Comments
Comments are reviewed before they become public.
Sign in with Google to leave a comment.
Sign in with GoogleNo approved comments yet. Be the first to start the discussion.