📗 Excel & Google Sheets for Students · Lesson 5 of 7
Pivot tables
Summarize hundreds of rows in a few clicks.
What a pivot table does
A pivot table summarizes a big table by groups: average satisfaction by class year, total spending by category, count of responses by major — without writing formulas.
Create one
- Click anywhere in your data (with headers)
- Excel: Insert > PivotTable. Google Sheets: Insert > Pivot table
- Drag a category to Rows (e.g., Major)
- Drag a number to Values (e.g., Score) and choose SUM, AVERAGE or COUNT
- Optionally drag another category to Columns (e.g., Class year)
Example
A survey of 300 students with columns Major, Year and Hours of sleep. Rows: Major; Columns: Year; Values: Average of Hours. In seconds you see whether engineering seniors sleep less than psychology freshmen.
Tips for clean results
| Consistent labels | “Bio”, “Biology” and “biology ” become 3 groups — clean first |
|---|---|
| Refresh | Pivot tables don’t update automatically in Excel — Refresh after changes |
| Filters | Add a filter to show one semester or one group |
| Charts | Insert a PivotChart for an instant graph |
Tip
💡 Use COUNT of a column to see how many responses each group has — small groups make averages unreliable.
✏️ Practice: your turn
- Download or create a small survey dataset (30+ rows)
- Make a pivot table: Rows = a category, Values = an average
- Add a second category as Columns
- Make a chart from the pivot table
✏️ Online spreadsheet: practice formulas without installing anything
🧠 Quick quiz
Answer all 4 questions correctly to mark this lesson as done.
0 of 4 correct
All lessons in Excel & Google Sheets for Students
- 🎓 1. A grade tracker with weighted averagesSUMPRODUCT, absolute references and “what do I need on the final?”
- 🧪 2. Cleaning and formatting lab dataTables, number formats, rounding, sorting and filtering
- 🔀 3. IF, COUNTIF and AVERAGEIFLabel results and summarize by condition
- 🔍 4. XLOOKUP and VLOOKUPPull matching data from another table
- 🧮 5. Pivot tablesSummarize hundreds of rows in a few clicks
- 📊 6. Charts for reportsPick the right chart, label it and keep it clean
- 💵 7. Project: a student budgetIncome, expenses, categories, a pivot and a chart