
How to Create Your First PivotTable in Excel
How to Create Your First PivotTable in Excel
Creating your first PivotTable is easier than you might expect. Once you have done it once, you will wonder how you ever analyzed data without it. Here is a step-by-step walkthrough.
Step 1: Prepare Your Data
Your source data needs to follow basic rules: each column must have a header in row 1, there should be no blank rows or columns in the data, and each row should represent one record. If your data is in an Excel Table (Ctrl + T), even better — Tables work especially well with PivotTables.
Step 2: Insert the PivotTable
- Click anywhere in your data.
- Go to Insert → PivotTable.
- Excel detects your data range automatically. Verify it looks correct.
- Choose where to place the PivotTable: a New Worksheet (recommended for beginners) or an Existing Worksheet.
- Click OK.
A blank PivotTable appears, along with the PivotTable Fields pane on the right side.
Step 3: Add Fields
The PivotTable Fields pane lists all the columns from your source data. Drag fields into the four areas at the bottom of the pane:
- Drag a category field (like Salesperson or Region) to the Rows area.
- Drag a numeric field (like Amount or Quantity) to the Values area.
The PivotTable builds instantly. Each salesperson now has a row showing their total amount.
Step 4: Add More Dimensions
Drag another field to the Columns area — for example, Region. Now the PivotTable shows each salesperson's totals broken down by region across columns. Add a field to Filters to add a dropdown filter for the whole table.
Step 5: Change the Value Calculation
By default, the Values area shows a Sum. To change this, click the dropdown arrow next to the field name in the Values area and choose Value Field Settings. You can switch to Count, Average, Max, Min, or others.