How to Make a Pivot Table in Excel, Step by Step

To make a pivot table in Excel, click any cell in your list, go to Insert, choose PivotTable, then drag one field into Rows and a number field into Values. Excel groups the rows and adds up the numbers for you. A pivot table is only as good as its source list, so most problems are fixed by tidying the data first.


Get your source data right first

A pivot table summarises a list, so the list must follow a few rules:


How to make the pivot table

  1. Click any cell inside your table or list.
  2. On the Insert tab, select PivotTable.
  3. Check that the table or range box shows your data, choose New Worksheet, and select OK.
  4. In the PivotTable Fields pane, drag a text field, such as Branch, to the Rows area.
  5. Drag a number field, such as Revenue, to the Values area. Excel shows Sum of Revenue for each branch.
  6. Right-click a number, choose Value Field Settings, then Number Format, and pick Currency with the £ symbol. Formatting set here stays when the pivot changes shape.
  7. To change how the report looks, use the Design tab to switch the layout between compact, outline and tabular, and to turn totals on or off.
  8. When your data changes, select the pivot and choose Refresh on the PivotTable Analyze tab. A pivot does not update by itself.


Worked example

Your sales list has five rows: Truro £300, Truro £240, Falmouth £310, St Austell £120 and St Austell £130. You put Branch in Rows and Revenue in Values. The pivot shows Truro £540, Falmouth £310 and St Austell £250, with a Grand Total of £1,100.

Now drag Revenue into Values a second time, right-click it, choose Show Values As, then % of Grand Total. Truro shows 49.09%, Falmouth 28.18% and St Austell 22.73%. You have the money and the share side by side, with no formulas in the grid.

If the pivot shows Count of Revenue instead of Sum, the column contains text or blank cells somewhere. Fix the source, refresh, then switch back to Sum in Value Field Settings.


Going further

Once you can build a basic pivot, slicers let you filter with buttons, grouping turns daily dates into months and quarters, and a PivotChart turns the result into a chart that updates with it. Calculated fields can add a new measure such as margin, though they have rules that catch many people out.


Common questions


Why is my new data not showing in the pivot?

Refresh it. If you still do not see the new rows, the pivot was probably built on a fixed range rather than a table, so change the data source or rebuild it from a table.


Why can't I find a field in the list?

The field must exist as a column in the source. If you want to group by Category, the source needs a Category column. Add it with a lookup column inside the table.


Do I need Microsoft 365 for pivot tables?

No. Pivot tables work in all modern desktop versions of Excel, and button names can vary slightly, so use the search box at the top of the window if one has moved.


Learn the full skill: Intermediate Excel: Lookups, Pivot Tables, Power Query and Dashboards

More plain-English answers: see all quick answers.

Learn something new every week

One short, practical tip each Thursday, plus news when new courses open. Free, and you can unsubscribe in one click.

We'll never share your email. See our privacy policy.