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

Lesson 78 · Pivot tables

Pivot tables: project, Team expenses report in Excel

This project puts every pivot table skill together on a team expenses list. For each question, decide what goes in Rows, Columns, Values and Filters, then add a sort if needed.

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

What you will learn

  • Use everything you learned on new data

How it works

For each question, think first:

  • What goes down the side? (Rows)
  • What goes across the top? (Columns)
  • Which numbers? (Values)
  • Do I need a filter or a sort?

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

Which team spent the most? Show the total Cost for each Team, from largest to smallest.

The data (first rows):

ABCDEF
1ItemTeamCategoryQuarterCostApproved
2E-001ITSuppliesQ1$125.00Yes
3E-002SupportSoftwareQ1$505.00Yes
4E-003SalesSoftwareQ1$510.00Yes
5E-004SupportTrainingQ1$370.00Yes
6E-005SalesSuppliesQ1$120.00Yes
7E-006SalesTrainingQ1$530.00Yes
8E-007ITSoftwareQ1$590.00Yes

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

The pivot table you get:

Row LabelsSum of Cost
Support$5,610.00
Marketing$5,575.00
IT$4,415.00
Sales$2,875.00
Grand Total$18,475.00

When to use it

  • Expense reports by team
  • Approved spending by category
  • Spending by team and quarter

Common mistakes

  • Starting to drag before thinkingDecide Rows, Columns, Values and Filters first.
  • Forgetting the filter from an earlier questionStart each question with an empty pivot table.
  • Reading the wrong totalCheck the row and column labels before you answer.

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: project, Team expenses report in Excel: how it works, with examples · ExcelUnpack