This section details the core steps to create and manage your pivot tables.
1. Prepare Your Data
Ensure your data is organized in a tabular format with unique column headers. Avoid blank rows or columns within your data range.
2. Insert a Pivot Table
Click anywhere within your data range. Go to the 'Insert' tab on the Excel ribbon and click 'PivotTable'.
In the 'Create PivotTable' dialog box, Excel will usually pre-select your data range. Choose 'New Worksheet' for the PivotTable to be placed on a new sheet, then click 'OK'.
3. Arrange PivotTable Fields
The 'PivotTable Fields' pane will appear on the right. Drag and drop fields into the four areas: Filters, Columns, Rows, and Values.
- Rows: Fields dragged here will appear as rows in your PivotTable.
- Columns: Fields dragged here will appear as columns.
- Values: Fields dragged here will be summarized (e.g., Sum, Count, Average).
- Filters: Use these to filter the entire PivotTable data.
4. Customizing Your PivotTable
To change how values are summarized (e.g., from Sum to Average), click the dropdown arrow next to the field in the 'Values' area, then select 'Value Field Settings...'.
Use the 'Design' tab on the Excel ribbon (appears when PivotTable is selected) to change layout, styles, and add/remove subtotals/grand totals.
5. Refreshing PivotTable Data
If your source data changes, your PivotTable will not update automatically. To refresh, right-click anywhere on the PivotTable and select 'Refresh', or go to 'Analyze' tab > 'Refresh'.