Sub topic 5
Working with the PivotTable Fields pane
This chapter assumes you can insert a PivotTable from a range or Excel Table and that you know what a flat source dataset looks like. Here you will learn how the Fields pane controls everything the PivotTable shows.
The pane and its four areas
After you insert a PivotTable, the PivotTable Fields pane opens on the right. It has two parts. The field list at the top holds one entry for each column header in your source data. The four areas at the bottom decide where each field goes.
| Area | What it does |
|---|---|
| Filters | Restricts the whole report to selected items |
| Columns | Lists items across the top |
| Rows | Lists items down the left side |
| Values | Calculates numbers, such as a sum or a count |
The pane only appears while a cell inside the PivotTable is selected. If it vanishes, click a PivotTable cell. If it still does not show, use PivotTable Analyze > Field List.
Placing fields
Use this dataset, stored in an Excel Table with columns Date, Region, Product, Units and Sales.
Date,Region,Product,Units,Sales
2025-01-05,East,Widget,10,250
2025-01-12,West,Gadget,4,180
2025-02-03,East,Gadget,7,315
2025-02-14,West,Widget,12,300
2025-03-09,East,Widget,5,125You can add a field in two ways:
- Tick its check box. Excel puts text fields in Rows and numeric fields in Values.
- Drag the field into the area you want. This gives you full control.
To build a grid of sales by region and product, drag the fields like this:
Rows: Region
Columns: Product
Values: Sum of SalesEast and West appear down the side, Gadget and Widget across the top, and each cell holds a total. East and Widget gives 375, which is 250 plus 125.
Rearranging and removing fields
Changing the layout never changes your source data. You can experiment freely.
- Drag a field from one area to another to move it.
- Drag fields up or down within an area to change their order. In Rows, the top field becomes the outer grouping.
- Drag a field out of the pane, or clear its check box, to remove it.
- Click the arrow on a field in an area to see its options, such as Field Settings.
Excel also has a Defer Layout Update check box at the bottom of the pane. It stops the report from recalculating after every move. This helps with large sources. Click Update when you finish arranging.
Common errors
- A numeric field lands in Rows. Drag it to Values. If it keeps landing in Rows or shows a Count, the column probably contains text. See the troubleshooting chapter.
- A new column is missing from the list. Refresh the PivotTable, and check that the source range or Table includes the column.
- Values shows "Count of Sales" instead of a sum. Excel counted because of text or blanks. Change the summary function later, after you fix the data.
Exercise
You drag Region to Rows, Product to Columns and Sales to Values. You then want Product shown down the side, below Region, instead of across the top. What do you do in the Fields pane?
Show answer
Drag Product from the Columns area into the Rows area, below Region. Region stays the outer grouping and Product becomes the inner one. The source data is unchanged.