Tools, Data & Automation10 min read

Pivot Tables Explained in Plain English

A pivot table is one of the most powerful features in Excel, and one of the most misunderstood. Many people find them intimidating at first, but the underlying idea is simple: a pivot table summarises a large dataset into a compact, readable table that you can rearrange and filter interactively. This guide explains how they work and how to use them.

What you will learn

  • What a pivot table is and what it is used for
  • How to create a pivot table from a dataset
  • How to use rows, columns, values and filters
  • How to group data and change the summary calculation
  • Common mistakes and how to avoid them

Introduction: what problem does a pivot table solve?

Imagine you have a spreadsheet with 500 rows of repair jobs, each with a category, a status, a date and a cost. You want to know: how many jobs are in each category? What is the total cost by category? How many jobs were completed each month? Answering these questions by scrolling through 500 rows is impractical. A pivot table answers all of them in seconds.

What does it mean? Rows, columns, values and filters

A pivot table has four areas. Rows defines what appears in the left-hand column of the table — typically the categories you want to group by, such as job category or month. Columns defines what appears across the top — useful when you want to compare groups side by side. Values defines what is calculated for each combination of row and column — typically a count, sum, average or other aggregation. Filters lets you restrict the whole table to a subset of your data.

You build a pivot table by dragging fields from your dataset into these four areas. Excel recalculates the table instantly whenever you make a change, so you can explore your data interactively without writing any formulas.

How does it work? Creating your first pivot table

To create a pivot table, click any cell in your data and go to Insert > PivotTable. Excel will suggest a data range — check that it includes all your data, including the header row. Choose whether to place the pivot table on a new sheet or the existing sheet, then click OK.

The PivotTable Fields pane appears on the right. Drag a field to the Rows area to group your data by that field. Drag a numeric field to the Values area to calculate a total or count. For example, drag Category to Rows and Cost to Values — Excel will show the total cost for each category.

To change the calculation, click the dropdown arrow next to the field in the Values area and choose Value Field Settings. You can switch between Sum, Count, Average, Max, Min and others. Count is useful for non-numeric fields — for example, dragging Job Reference to Values and choosing Count gives you the number of jobs in each category.

A real-world example: analysing repairs data

The property team at Snips Housing Association had a spreadsheet of 800 repair jobs from the previous year. The operations manager wanted to know which categories of repair were most common, which were most expensive, and how the volume of repairs had changed month by month.

Using a pivot table, the analyst created three views in under ten minutes: a count of jobs by category, a sum of costs by category, and a count of jobs by month. By adding a filter for the current year, the same pivot table could be used for future analysis without any changes to the underlying data.

Try it yourself: summarise a dataset with a pivot table

Create a spreadsheet with four columns: Category (with three or four different values), Status (Open or Closed), Date (various dates across two or three months) and Cost (numeric values). Enter 30 rows of data.

Insert a pivot table. Drag Category to Rows and Cost to Values (set to Sum). You now have the total cost by category. Now drag Status to Columns — you can see the cost breakdown by category and status side by side. Finally, drag Date to Filters and filter to a single month. Notice how the table updates instantly.

Common mistakes to avoid

Pivot tables do not update automatically when the underlying data changes. After adding new rows to your data, right-click the pivot table and choose Refresh to update it. If you have added rows outside the original data range, you may also need to update the data source.

Pivot tables require clean, structured data. Blank rows, merged cells and inconsistent values will cause problems. If your pivot table is producing unexpected results, check the underlying data first.

Key takeaways

A pivot table summarises a large dataset into a compact, interactive table. You build it by dragging fields into four areas: Rows, Columns, Values and Filters. It is one of the most powerful tools in Excel for exploring and presenting data — and it requires no formulas. Remember to refresh it when the underlying data changes.

Where to go next

Once you can summarise data with pivot tables, the next step is presenting it visually. The next guide introduces dashboards and data visualisation.

Introduction to dashboards and data visualisation →