How to create a pivot table in Excel from your data

A pivot table lets you summarize and analyze a list of data by dragging fields into rows, columns and values, with no formulas needed. This guide suits Excel beginners who have a clean data table. You only need Excel and a worksheet with headers.

YouTube video: How to Create Pivot Table in Excel

Captions are available. Use CC in the YouTube player.

Other videos for this task

26 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (26)
Video length
20 min 49 s
Time to do it
15 minutes
Difficulty
Easy
Steps
10

What you need

Steps

  1. Make sure your data has one header row, no blank rows or columns, and no merged cells. Each column should hold one type of value.

  2. Click any cell inside your data, then go to Insert and click Table. Confirm the range and tick My table has headers.

  3. With a cell in the table selected, go to Insert and click PivotTable. Choose New Worksheet and click OK.

  4. In the PivotTable Fields pane, drag a category field such as Region into the Rows area.

  5. Drag a number field such as Sales into the Values area. Excel sums it by default.

  6. To compare groups, drag a second field into the Columns area.

  7. Change how numbers show by right-clicking a value and choosing Summarize Values By, or use Show Values As for percentages.

  8. Sort and filter with the drop-down arrows on row or column labels.

  9. Add a PivotChart from the PivotTable Analyze tab, or insert a slicer or timeline to filter interactively.

  10. When the source data changes, right-click the pivot table and click Refresh.

Tips and common mistakes

Remove a field by dragging it out of the area or unticking it in the field list.

Rename value headers by typing over the label in the pivot table.

Use a slicer or timeline instead of manual filters for quick interactive filtering.

If new rows are added, refresh the pivot table so they appear.

Questions

Do I need formulas to use a pivot table?

No. You build the summary by dragging fields into the rows, columns and values areas.

Why is my pivot table missing new data?

Pivot tables do not update automatically. Right-click the table and click Refresh after the source data changes.

Can I make a chart from a pivot table?

Yes. Use the PivotChart option on the PivotTable Analyze tab to add a chart linked to the table.

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

Report a correction

More in Apps & Software

See all