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

Lesson 75 · Pivot tables

Pivot tables: more than one field in Excel

You can drag two fields into Rows. The second one shows under each item of the first, with a subtotal for each group. The order of the fields changes the layout.

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

What you will learn

  • Put two fields in the Rows box
  • Read subtotals

How it works

Drag Region into Rows. Then drag Product into Rows too, under Region.

Now each region shows its products under it. The bold line for each region is its subtotal.

The order matters. To swap them, click a field in the Rows box and click Move Up or Move Down.

Where things go

Rows: Region, Productproducts inside each region
Field ▾ › Move Upchange the order

Example

Make a pivot table. Show each Region, and the Products inside each region, with the total Amount.

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, then Product. Values: Sum of Amount.

The pivot table you get:

Row LabelsSum of Amount
East$4,470.00
   Laptop$890.00
   Phone$1,260.00
   Tablet$2,320.00
North$9,930.00
   Laptop$7,020.00
   Phone$2,480.00
   Tablet$430.00
South$10,180.00
   Laptop$6,800.00
   Phone$2,230.00
   Tablet$1,150.00
West$11,910.00
   Laptop$6,640.00
… 2 more lines
Grand Total$36,490.00

When to use it

  • Products inside each region
  • Status inside each product
  • Reports with groups and subtotals

Common mistakes

  • Fields in the wrong orderUse Move Up or Move Down in the Rows box.
  • Reading a subtotal as a single itemThe bold line is the group’s subtotal.
  • Adding the same field twice to ValuesUse Value Field Settings to make one Sum and one Average.

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.

Pivot tables: more than one field in Excel: how it works, with examples · ExcelUnpack