Pivot tables
Summarize a long table by group in a few clicks.
A pivot table groups rows and summarizes them. Pick a field for Rows, like Region, and a field for Values, like Units. Each group gets one line showing the Sum (or Count, or Average) of its values, and a Grand Total at the bottom. It does what SUMIF does for every group at once.
Example: Rows: Region. Values: Sum of Units. West rows have 12, 30 and 8.
- Group the West rows — One line per region
- 12 + 30 + 8 = 50 — Sum of Units
- West 50 — Shown in the pivot table
Why it works: A pivot table puts every row into exactly one group and then sums each group, which is the same as running SUMIF once for every group.
Tip: Change Sum to Count or Average in the Values settings; the grouping stays the same.