Microsoft Excel & Google Sheets: How to Create and Filter a Pivot Table
Pivot Tables are the most powerful data analysis tool in modern business, summarizing vast spreadsheets in seconds without writing a single formula.
Imagine you have a spreadsheet with 10,000 transactions listing Date, Salesperson, Region, Product, and Price. If your manager asks: 'What was the total revenue per region, broken down by product category?', doing that manually would take hours.
A Pivot Table does this in four clicks without any formulas. It 'pivots' (rotates) raw tabular data into dynamic summaries.
How to Build Your First Pivot Table in 4 Steps
Make sure your data has a single row of bold column headers (no merged cells, no blank header names, and no empty rows in between).
Click anywhere inside your table. Go to the top ribbon ➔ click Insert ➔ click PivotTable. Leave 'New Worksheet' selected and click OK.
A panel appears on the right. Drag your main category (e.g. 'Region') into the Rows box. Drag 'Sales $' into the Values box.
Right-click any number in your new pivot table ➔ select Number Format (not Format Cells!) ➔ choose Currency ($) with 2 decimals.
Summarizing by Count, Average, or Percentage
By default, Excel sums numeric columns. But you can easily change the aggregation:
Click the small drop-down arrow next to your field in the Values box ➔ select Value Field Settings. Here you can choose Average, Count, or switch the display to '% of Grand Total' to see market share percentages instantly!
✨ Key Takeaways
- Clean data is essential: every column must have a unique header name with zero merged cells.
- Drag categories you want listed vertically into Rows; drag metrics to calculate into Values.
- Change Value Field Settings to calculate Averages, Counts, or % of Total.
- Remember to right-click and hit 'Refresh' whenever you add new raw rows of data.
Print business invoice template →