TopicsCheat sheetLessons
Lurndo › Excel › Pivot tables with rows and values

Learning Excel: Pivot tables with rows and values

Pivot tables

The bank asks how many litres of each beer the brewery sold. Isla could add up twenty rows on a calculator. Or she could build a pivot table in ten seconds.

A pivot table

A pivot table sums up a long list without a single formula. Every column of the list becomes a field.

Put Beer in Rows and you get each beer once. Put Litres in Values and Excel adds up the litres per beer. The Grand Total is at the bottom.

ABCDEFGHI
1QuarterBeerCustomerPackagingLitresPriceRevenueResult
2Q1Wise OwlCrown InnKeg300£2.40£720.00
3Q1Tripel HootBay Tree BistroBottle80£4.50£360.00
4Q1Night OwlCurlew InnKeg150£3.20£480.00
5Q1Wise OwlFestival HallKeg600£2.20£1,320.00
6Q1Barn OwlBay Tree BistroBottle60£4.00£240.00
7Q2Wise OwlCrown InnKeg350£2.40£840.00
8Q2Tripel HootCrown InnBottle90£4.50£405.00
9Q2Night OwlBay Tree BistroBottle120£3.40£408.00
10Q2Wise OwlCurlew InnKeg200£2.40£480.00
11Q2Barn OwlFestival HallKeg250£3.60£900.00
12Q3Wise OwlFestival HallKeg800£2.20£1,760.00
13Q3Tripel HootBay Tree BistroBottle110£4.50£495.00
14Q3Barn OwlCrown InnKeg180£3.80£684.00
15Q3Wise OwlCurlew InnKeg250£2.40£600.00
16Q3Night OwlCrown InnKeg100£3.20£320.00
17Q4Night OwlFestival HallKeg400£3.00£1,200.00
18Q4Tripel HootCurlew InnBottle70£4.50£315.00
19Q4Wise OwlCrown InnKeg320£2.40£768.00
20Q4Barn OwlBay Tree BistroBottle90£4.00£360.00
21Q4Tripel HootFestival HallKeg300£4.20£1,260.00
22

Summarising another way

A number in Values gets added up: Sum. In the list below it you can pick something else: Average, Max, Min, or Count to count the rows.

Put a field with text in Values and Excel counts it: Count of Beer tells you how many orders there are.

ABCDEFGHI
1QuarterBeerCustomerPackagingLitresPriceRevenueResult
2Q1Wise OwlCrown InnKeg300£2.40£720.00
3Q1Tripel HootBay Tree BistroBottle80£4.50£360.00
4Q1Night OwlCurlew InnKeg150£3.20£480.00
5Q1Wise OwlFestival HallKeg600£2.20£1,320.00
6Q1Barn OwlBay Tree BistroBottle60£4.00£240.00
7Q2Wise OwlCrown InnKeg350£2.40£840.00
8Q2Tripel HootCrown InnBottle90£4.50£405.00
9Q2Night OwlBay Tree BistroBottle120£3.40£408.00
10Q2Wise OwlCurlew InnKeg200£2.40£480.00
11Q2Barn OwlFestival HallKeg250£3.60£900.00
12Q3Wise OwlFestival HallKeg800£2.20£1,760.00
13Q3Tripel HootBay Tree BistroBottle110£4.50£495.00
14Q3Barn OwlCrown InnKeg180£3.80£684.00
15Q3Wise OwlCurlew InnKeg250£2.40£600.00
16Q3Night OwlCrown InnKeg100£3.20£320.00
17Q4Night OwlFestival HallKeg400£3.00£1,200.00
18Q4Tripel HootCurlew InnBottle70£4.50£315.00
19Q4Wise OwlCrown InnKeg320£2.40£768.00
20Q4Barn OwlBay Tree BistroBottle90£4.00£360.00
21Q4Tripel HootFestival HallKeg300£4.20£1,260.00
22

Ready for more?

The full lesson has 5 exercises, from easy to challenging, with hints, points and a streak you can build.

Start the lesson
← PreviousConditional formattingNext →Columns, filters and percentages

SQL

  • Topics
  • All lessons
  • Cheat sheet

Excel

  • Topics
  • All lessons
  • Shortcuts

HTML & CSS

  • About the course
  • All lessons

Lurndo

  • Dashboard
  • Leaderboard
  • Premium
  • Account
  • Privacy
Nederlands