0
0
Google Sheetsspreadsheet~5 mins

Creating a PivotTable in Google Sheets - Complete Walkthrough

Choose your learning style9 modes available
Introduction
A PivotTable helps you quickly summarize and analyze large sets of data. It lets you group, count, and total information without changing the original data.
When you want to see total sales by product category without manually adding numbers.
When you need to count how many times each item appears in a list.
When you want to compare monthly expenses by different departments.
When you want to quickly rearrange data to find patterns or trends.
When you want to create a summary report from a detailed data table.
Steps
Step 1: Select
- the range of cells containing your data
The data range is highlighted on the sheet
💡 Include headers in your selection for easier field identification
Step 2: Click
- Insert menu
A dropdown menu appears
Step 3: Select
- Pivot table
A dialog box opens asking where to place the PivotTable
Step 4: Choose
- New sheet or Existing sheet option in the dialog box
The PivotTable editor opens on the chosen sheet
Step 5: In the Pivot table editor, click
- Add next to Rows
A list of column headers from your data appears
Step 6: Select
- the field you want to group by (e.g., Product)
The PivotTable shows unique items from that field as row labels
Step 7: Click
- Add next to Values
A list of column headers appears to choose a value to summarize
Step 8: Select
- the field to summarize (e.g., Sales)
The PivotTable shows the sum of sales for each product
Before vs After
Before
A sheet with 100 rows of sales data including columns: Date, Product, Region, Sales
After
A new sheet with a PivotTable showing each Product in rows and the sum of Sales next to each product
Settings Reference
Rows
📍 Pivot table editor panel
Groups data by the selected field to create row labels
Default: None
Values
📍 Pivot table editor panel
Calculates totals or other summaries for the selected field
Default: Sum
Columns
📍 Pivot table editor panel
Groups data horizontally to create column labels
Default: None
Filters
📍 Pivot table editor panel
Filters data to show only specific items in the PivotTable
Default: None
Common Mistakes
Not selecting the entire data range including headers before creating the PivotTable
The PivotTable may miss some data or not show correct field names
Always select the full data range including the header row before inserting the PivotTable
Adding numeric fields to Rows instead of Values
Numbers will be listed as labels instead of being summed or counted
Place numeric data fields in the Values area to summarize them
Forgetting to refresh the PivotTable after changing the source data
The PivotTable will show old data and not reflect updates
Right-click the PivotTable and select Refresh to update it
Summary
PivotTables let you quickly summarize and analyze large data sets without changing the original data.
You create a PivotTable by selecting your data, then using Insert > Pivot table, and choosing fields to group and summarize.
Remember to select the full data range including headers and place numeric fields in Values to get correct summaries.