The book: files and exercises · Lesson 16 of 24

Lesson 16 exercises: your first PivotTable

Six exercises on your first PivotTable, with the 96 orders from lesson16.xlsx: filters, count, average, rows and columns. You build the PivotTable in Excel and type here the numbers you get. Exercise 5 you can also do right here, with the formula.

Lesson 16. PivotTables: your first one in 5 minutes

Use the file lesson16.xlsx with the original data (F4 = $1,300.00). Each time, create the PivotTable you need or rearrange the one from the lesson.

Files: lesson16.xlsx · solutions: lesson16-solutions.xlsx.

In the exercises with a sheet, type the formula in the fx bar and click Check: the sheet works it out the way Excel does, with commas between the arguments (semicolons work too), and also tries it with other data, to see whether it still works when the data changes. In the other exercises, you work in Excel with the lesson's file and type the result here.

At the end of the page you'll find the lesson's Bonus challenge: one more exercise, whose answer isn't in the book. You check it only here.

Exercise 1

Put Category in Rows, Sum of Amount in Values and Region in the Filters area. A menu appears above the table: choose South. What is the grand total? And how much furniture was sold in the South?
Grand total with the South filter
Furniture in the South
Show the answer

Grand total $7,735.00; furniture in the South $1,250.00.

Exercise 2

Which salesperson closed the most orders, and how many? (Hint: Count.)
Which salesperson closed the most orders?
How many orders?
Show the answer

Reed, with 22 orders (Davis 20; Baker, Lopez and Parker 18 each).

Exercise 3

Which region has the highest average order, and how much is it?
Which region has the highest average order?
How much is it?
Show the answer

The North, with an average of $503.29 (South $429.72, Central $400.00).

Exercise 4

Put Salesperson in Rows and Category in Columns. How much furniture did Reed sell?
How much furniture did Reed sell?
Show the answer

$3,930.00.

Exercise 5

Check answer 4 with a formula on the Sales sheet: write the SUMIFS (Lesson 9) that gives the same number.
Type the SUMIFS in the empty cell G2
fx
Show the answer

=SUMIFS(F2:F97,C2:C97,"Reed",E2:E97,"Furniture") = $3,930.00.

Exercise 6

Without Excel: a coworker adds three orders in rows 98, 99 and 100 and clicks Refresh, but the grand total doesn't change. Why? What should she do?
Show the answer

The PivotTable uses the range A1:F97, so rows 98 to 100 stay outside it: she must enlarge the range with PivotTable Analyze > Data > Change Data Source (to F100) and refresh, or turn the list into a table (Lesson 14) and refresh.

The key is the data source: a PivotTable reads only the range you gave it when you created it, and Refresh doesn't make that range bigger.

Bonus challenge

The answer isn't in the book: you check it only here.

Neck and neck: in a PivotTable with Salesperson in Rows, Category in Columns and the sum of Amount in Values (original data), one salesperson sold almost the same amount in two different categories, only $10 apart. Who is it?
Who is this salesperson?
Show the answer

Lopez: Furniture $2,720.00 and Computers $2,730.00, only $10 apart. To find it, read the PivotTable one row at a time and compare the three columns Computers, Furniture and Office Supplies. For the other salespeople, Computers is far ahead of the other categories.