ExcelUnpackUnpack Excel, one formula at a time.
Log inSign up

Lesson 72 · Pivot tables

Your first pivot table in Excel

A pivot table sums up a big list in seconds. Click inside your data, insert a PivotTable, and drag fields into the Rows and Values boxes. Excel does all the adding for you.

Practice this lesson →Pro lesson. The first 4 lessons are free.

What you will learn

  • Make a pivot table
  • Put fields in the Rows and Values boxes
  • Find answers in your pivot table

How it works

You make a pivot table in 3 steps:

  1. Click one cell in your data, like A2. Excel finds the whole list by itself.
  2. Click Insert, then PivotTable. A box called Create PivotTable opens. Keep New Worksheet and click OK. A new sheet opens, called Sheet2, with the PivotTable Fields list on the right.
  3. Drag fields into the boxes. Drag Region into Rows. Drag Amount into Values.

Now the pivot table shows each region and its total. The last line is the Grand Total. It adds up everything.

Where things go

Insert › PivotTablemake a pivot table
Rowsone line for each item
Columnsone column for each item
Valuesthe numbers
Filtersshow only some rows

Example

Make a pivot table. Show the total Amount for each Region.

The data (first rows):

ABCDEF
1OrderRegionProductMonthAmountStatus
21001NorthLaptopJan$1,370.00Shipped
31002NorthLaptopJan$790.00Shipped
41003WestPhoneJan$460.00Shipped
51004WestTabletJan$320.00Pending
61005WestTabletJan$550.00Shipped
71006WestPhoneJan$710.00Pending
81007NorthTabletJan$430.00Shipped

Click inside the data, then Insert › PivotTable › OK. Rows: Region. Values: Sum of Amount.

The pivot table you get:

Row LabelsSum of Amount
East$4,470.00
North$9,930.00
South$10,180.00
West$11,910.00
Grand Total$36,490.00

When to use it

  • Total sales for each region or product
  • Summing up hundreds of rows without formulas
  • Answering quick questions about a list

Common mistakes

  • Selecting only part of the data firstClick one cell inside the data. Excel finds the whole list.
  • Dragging a number field into RowsNumbers go in Values. Labels go in Rows.
  • Typing into the pivot tableChange it with the PivotTable Fields list instead.

Practice it on a real sheet

Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.

Your first pivot table in Excel: how it works, with examples · ExcelUnpack