How to make a pivot table in Excel from your data

You will turn a plain list of rows into a summary table that adds up, counts and groups your data in a few clicks. It suits anyone who keeps records in Excel and wants totals without writing formulas. You just need Excel and a table with clear column headers.

YouTube video: Master Excel Pivot Tables with This Simple Trick

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
1 min 53 s
Time to do it
10 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Put your data in one block with a single header row. Remove blank rows and columns, and give every column a clear name.

  2. Click any cell inside the data. Go to Insert on the ribbon and choose PivotTable. Excel selects the whole range for you.

  3. Pick New Worksheet in the dialog box and click OK. A blank pivot area appears on a new sheet, ready for your fields.

  4. Drag a field such as Region or Product into the Rows area. Each unique value becomes one line in the table.

  5. Drag a number field like Sales or Amount into the Values area. Excel sums it by default and adds a Grand Total at the bottom.

  6. Drag a second field into Columns to split the numbers across the top, or into Filters to show one item at a time.

  7. Right-click a value, choose Value Field Settings and pick Sum, Count or Average. Use Number Format to set decimals and currency.

  8. When the source data changes, click a cell in the pivot table and press Refresh on the PivotTable Analyze tab.

Tips and common mistakes

If the Values area shows Count instead of Sum, that column holds text or blank cells; clean them and refresh.

Untick any blank entries in the field drop-down so a (blank) row does not appear in your table.

Turn on Refresh data when opening the file in PivotTable Options if other people update the source sheet.

Questions

Why does my pivot table show Count instead of Sum?

The column you dragged into Values contains text, blank cells or errors, so Excel can only count it. Fix the cells to real numbers, then press Refresh.

How do I update the totals after editing the source data?

Click anywhere in the pivot table and press Refresh on the PivotTable Analyze tab. The table does not update by itself unless you turn on refresh on open.

Can I build a pivot table from more than one sheet?

Yes. When creating it, tick Add this data to the Data Model, then add each table as a separate source and link them by a shared field.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all