Excel test prep · Lesson 6 of 9
Pivot table and data test: 23 practice questions
Practice Excel pivot table test: 23 questions on summarising, grouping, % of total, calculated fields, slicers, filtering and data cleaning, explained.
Pivot tables are the single most tested Excel feature after formulas, because they are how most offices summarise data. This test also covers the data skills that come before a pivot table: sorting, filtering, cleaning text, removing duplicates and validation. There are 23 questions; allow about 25 minutes.
Questions about pivot tables describe the layout in words (which field goes in Rows, Columns and Values), because that is how test questions usually phrase it. Build the pivot table in Excel from the data below if you want to check an answer: select a cell in the data and choose Insert > PivotTable. The lessons behind this page are PivotTables: summarise thousands of rows in seconds, PivotCharts, slicers and timelines, Sorting and filtering data and Removing duplicates and cleaning data.
Part 1: Reading pivot table results
Parts 1 and 2 use this sales log in A1:E9. Column A holds real dates.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Date | Region | Product | Units | Revenue |
| 2 | 2026-01-05 | North | Tea | 10 | 50 |
| 3 | 2026-01-12 | South | Coffee | 4 | 36 |
| 4 | 2026-01-20 | North | Coffee | 6 | 54 |
| 5 | 2026-02-03 | East | Tea | 8 | 40 |
| 6 | 2026-02-10 | South | Tea | 5 | 25 |
| 7 | 2026-02-18 | North | Tea | 12 | 60 |
| 8 | 2026-03-02 | East | Coffee | 7 | 63 |
| 9 | 2026-03-15 | South | Coffee | 3 | 27 |
Tea and coffee sales log, used in Parts 1 and 2.
1. A pivot table has Region in Rows and Sum of Revenue in Values. What is shown for North?
North has three rows: 50 + 54 + 60 = 164. The pivot table groups identical Region values into one row and sums their revenue. See PivotTables: summarise thousands of rows in seconds.
2. Region is in Rows, Product in Columns and Sum of Revenue in Values. What is in the South / Coffee cell?
South coffee sales are 36 (12 January) and 27 (15 March), so 63. The other South row is tea. The East / Coffee cell also happens to show 63, from a single sale.
3. What is the Grand Total of Sum of Revenue?
50 + 36 + 54 + 40 + 25 + 60 + 63 + 27 = 355. A quick check in a test: select E2:E9 and read the Sum on the status bar.
4. Region in Rows, Sum of Revenue shown as % of Grand Total. What appears for East (one decimal)?
East revenue is 40 + 63 = 103, and 103 / 355 = 29.0%. Set it with right-click on a value > Show Values As > % of Grand Total. The share is of revenue, not of the number of regions, which would be 33.3%.
5. Date is in Rows, grouped by Months, with Sum of Units in Values. What is shown for Feb?
February rows have 8, 5 and 12 units, so 25. Right-click a date in the pivot table > Group lets you group by days, months, quarters and years; newer versions group dates automatically.
6. Product in Rows and Count of Product in Values. What appears for Tea?
Count counts rows, not units or revenue. Tea appears on 4 rows (5 Jan, 3 Feb, 10 Feb, 18 Feb). Text fields default to Count when dropped into Values.
7. Product in Rows, Units in Values summarised by Average. What appears for Coffee?
Coffee units are 4, 6, 7 and 3: 20 / 4 = 5. Change the summary with right-click > Summarize Values By > Average, or Value Field Settings.
Part 2: Pivot table set-up and pitfalls
8. You add a calculated field Price = Revenue / Units and put Region in Rows. What does the pivot table show for North (two decimals)?
A calculated field works on the sums: 164 / 28 = 5.86. It does not average the row-level prices (5, 9 and 5, which average 6.33). Knowing this difference is a classic advanced pivot question.
9. You add new sales below row 9 and click Refresh, but the pivot table ignores them. What is the most likely reason?
A pivot table built on a fixed range keeps using that range. Build it on an Excel table (Ctrl+T), or change the source with PivotTable Analyze > Change Data Source. See Excel tables and structured references.
10. Revenue appears in the pivot table as Count of Revenue instead of Sum. What usually causes this?
Excel defaults a field to Sum only when every cell is a real number. Fix the source data (convert text to numbers, fill blanks with 0), refresh, then set the field to Sum.
11. You want clickable buttons that filter the pivot table by Region and show which region is selected. What do you insert?
Slicers are visual filters. One slicer can be connected to several pivot tables through Report Connections, which is how simple dashboards are built. See PivotCharts, slicers and timelines.
12. You type = and click a value cell inside a pivot table. Excel inserts a long formula instead of a cell reference. Which function is it?
GETPIVOTDATA fetches a value by its field names, so it still finds the right number when the layout changes. You can turn this off under PivotTable Analyze > Options > Generate GetPivotData.
13. Where do you put the Region field so that the whole pivot table can be filtered to one region from a drop-down above it?
Fields in Filters create a drop-down above the pivot table that filters everything. Rows and Columns split the data into groups instead.
14. Which keyboard shortcut refreshes every pivot table and query in the workbook?
Ctrl+Alt+F5 is Refresh All; Alt+F5 refreshes only the selected pivot table. F9 recalculates formulas but does not refresh pivot tables, and Alt+F11 opens the VBA editor.
Part 3: Preparing and cleaning data
15. You filter the sales log to Region = North and Revenue greater than 50. How many rows remain visible?
North revenues are 50, 54 and 60. The filter "greater than 50" excludes 50 itself, so 54 and 60 remain. Use "greater than or equal to" to include it. See Sorting and filtering data.
16. With the filter Region = North applied, what does =SUBTOTAL(109,E2:E9) return?
Function number 109 tells SUBTOTAL to sum only visible cells. SUM would still return 355, because it includes hidden rows. AGGREGATE offers the same choice plus the option to ignore errors.
17. You sort the log by Region A to Z, then by Revenue largest to smallest. Which row comes first?
East comes first alphabetically. Within East, the second sort level puts 63 (coffee) before 40 (tea). Add the second level in Data > Sort > Add Level.
18. A customer column has the same customers listed several times. You need a list with each customer once. Which built-in command does this in place?
Remove Duplicates deletes repeated rows based on the columns you tick. Work on a copy, because it removes rows for good. UNIQUE gives a formula-based list without touching the data. See Removing duplicates and cleaning data.
19. A column holds Kovac, Ana style names. Which tool splits them into surname and first name columns without formulas?
Text to Columns splits at a delimiter. The first name keeps the space that followed the comma, so also tick Space with Treat consecutive delimiters as one, or apply TRIM afterwards. With formulas, TEXTSPLIT or TEXTBEFORE do the same.
20. Numbers imported from a system show a small green triangle and SUM ignores them. What is the problem?
Text that looks like a number is skipped by SUM and breaks lookups. Select the cells and choose Convert to Number from the warning icon, or use VALUE. Data > Text to Columns > Finish also converts a whole column.
21. You type Ana K. next to Kovac, Ana and want Excel to fill the same pattern for the other rows. Which shortcut does this?
Flash Fill spots the pattern from your example and fills the column. The results are typed values, not formulas, so they do not update if the source changes. See Text cleanup: TRIM, CLEAN, TEXTSPLIT, Flash Fill and Text to Columns.
22. Units must always be a whole number of at least 1. Which feature stops users typing 0, -3 or 2.5?
Data Validation rejects bad entries before they reach the data. Conditional formatting only highlights them, and a number format only changes how 2.5 is displayed (as 3). See Data validation: drop-down lists and dependent lists.
23. Which pivot table layout answers "Which product earned more revenue in total?" fastest, and what is the answer?
Tea revenue is 50 + 40 + 25 + 60 = 175 and coffee is 36 + 54 + 63 + 27 = 180. Count and units measure something else: tea sells more units (35 against 20) but less revenue.
Ready for a full case? Try Practical Excel test: 8 interview tasks with model answers, where you choose between a pivot table and formulas yourself.