Confident CellsExcel practice Start free

PivotTables: more ways to show values: practice exercises

Show Values As: Difference From, % Difference From, Running Total In, Rank Largest to Smallest, % of Parent Row Total, Base field and Base item. 7 exercises on real-looking data, each checked as you go. The full lesson is part of Pro.

In the lesson

This lesson has a PivotTable builder like Excel's: drag fields into Rows, Columns and Values, and each task is checked as you go.

Open the PivotTables: more ways to show values lesson

How it works

Show Values As (in Value Field Settings) can do more than percentages of a total. Difference From compares each month with the one before. Running Total In adds up as it goes. Rank numbers the items 1, 2, 3. % of Parent Row Total shows each item out of the group it's in.

Most of these need a Base field: the field to work along, such as Month. Difference From also needs a Base item: (previous) to compare with the one before, or a named item to compare everything with.

Difference From

A café took £8,200 in March and £9,050 in April, so April is £850 up.

Row LabelsSum of Takings (£)
Jan
Feb500
Mar300
Apr850
Grand Total

In Value Field Settings, Show Values As: Difference From, Base field Month, Base item (previous). Each month is compared with the one before. January has nothing before it, so it's blank, and so is the Grand Total.

% Difference From gives the change as a percentage: £850 ÷ £8,200 = 10.37% up. Choose a named Base item, such as Nottingham, to compare every branch with Nottingham.

Running Total In

The café took £7,400 in January, £7,900 in February, £8,200 in March and £9,050 in April. By the end of April that's £7,400 + £7,900 + £8,200 + £9,050 = £32,550.

Row LabelsSum of Takings (£)
Jan7400
Feb15300
Mar23500
Apr32550
Grand Total

Show Values As: Running Total In, Base field Month. To see each month's own figure as well, put the field in Values twice and show just one of them as a running total.

Rank

Derby took £14,200, Leicester £11,900 and Nottingham £16,050. Largest first, Nottingham is 1, Derby 2 and Leicester 3.

Show Values As: Rank Largest to Smallest, Base field Branch. Two the same get the same rank, and the next one carries on from there: 1, 2, 2, 3. (The RANK function would say 1, 2, 2, 4.)

% of Parent Row Total

Nottingham took £16,050, and £6,420 of it was hot drinks: £6,420 ÷ £16,050 = 40% of Nottingham's takings.

With Branch and Category both in Rows, % of Parent Row Total shows each category out of its own branch, and each branch out of the Grand Total. % of Grand Total would show every row out of everything instead.

What you'll practise

  1. The café owner wants to see how much more or less was taken each month than the month before. Show the takings as Difference From the (previous) month.
  2. Now as a percentage: show each month's takings as % Difference From the month before.
  3. Show the takings so far this year at the end of each month: a Running Total In Month.
  4. Which branch took the most? Make a PivotTable of the takings for each branch, shown as Rank Largest to Smallest, so the biggest is 1.
  5. Mansfield is the branch the others are measured against. Show every branch's takings as the Difference From Mansfield.
  6. What share of each branch's takings came from each category? Show the values as % of Parent Row Total, so each branch's categories add up to 100%.
  7. The owner wants both: each month's takings, and next to them the running total. Put Takings (£) in Values a second time and show that one as Running Total In Month.