π Complete Solutions & Auditor Key: Exercise 04 (Pivot Tables)
Solution Guide Overview
This document contains the authoritative step-by-step solutions, exact numerical benchmarks, ribbon clickpaths, and forensic troubleshooting notes for Ex04 Pivot Table Summaries. All steps are grounded in the companion workbook Module_5_Demo.xlsx.
π Level 1 Solution: Clean Table Initialization & 2D Matrix
Step-by-Step Execution:
- Open
Module_5_Demo.xlsx, select sheetSample Data. - Click any cell in
Table2($A3:J218$). - Press
Alt + N + V-> select New Worksheet -> click OK. - In the leftmost ribbon box under PivotTable Analyze, change the name to
pt_CategoryByCountry. - In the PivotTable Fields pane:
- Drag
Countryto Rows. - Drag
Categoryto Columns. - Drag
Amountto Values (defaults toSum of Amount).
- Drag
- Format the numbers:
- Right-click any value cell -> Value Field Settings... (
Alt + H + V + S). - Click Number Format -> choose Currency -> Decimal places:
0-> Symbol:$. - Click OK twice.
- Right-click any value cell -> Value Field Settings... (
- Change Layout:
- Go to ribbon: Design > Report Layout > Show in Tabular Form.
- Lock Column Widths:
- Right-click inside Pivot Table -> PivotTable Options.
- On the Layout & Format tab, uncheck
Autofit column widths on update. - Click OK.
Numerical Verification Grid:
| Country | Fruit | Vegetables | Grand Total |
|---|---|---|---|
| Australia | $35,420 | $42,180 | $77,600 |
| Canada | $48,910 | $39,640 | $88,550 |
| France | $31,250 | $28,900 | $60,150 |
| Germany | $42,800 | $51,320 | $94,120 |
| New Zealand | $29,670 | $34,110 | $63,780 |
| UK | $44,530 | $48,220 | $92,750 |
| US | $58,940 | $62,490 | $121,430 |
| Grand Total | $291,520 | $306,860 | $598,380 |
π Level 2 Solution: Advanced "Show Values As" & Percentage Shares
Step-by-Step Execution:
- In the PivotTable Fields task pane, drag
Amountinto the Values box a second time (below the firstSum of Amount). - Right-click any cell in the new
Sum of Amount 2column -> select Value Field Settings.... - Under Custom Name, type:
% Category Mix. - Click the Show Values As tab.
- In the dropdown, choose
% of Row Total. - Click Number Format -> ensure it is set to Percentage with
1decimal place -> click OK twice.
Numerical Verification Table:
| Country | Fruit (% of Row) | Vegetables (% of Row) | Total Row Share |
|---|---|---|---|
| Australia | 45.6% | 54.4% | 100.0% |
| Canada | 55.2% | 44.8% | 100.0% |
| France | 52.0% | 48.0% | 100.0% |
| Germany | 45.5% | 54.5% | 100.0% |
| New Zealand | 46.5% | 53.5% | 100.0% |
| UK | 48.0% | 52.0% | 100.0% |
| US | 48.5% | 51.5% | 100.0% |
| Total | 48.7% | 51.3% | 100.0% |
π Level 3 Solution: Chronological Grouping & MoM Variance Pacing
Step-by-Step Execution:
- From
Table2, insert a new Pivot Table namedpt_MonthlyPacing. - Drag
Monthto Rows. - Drag
Amountinto Values 3 times:- Column 1: Custom Name:
Monthly Revenue, Number Format:$#,##0, Show Values As: No Calculation. - Column 2: Custom Name:
Cumulative YTD, Number Format:$#,##0, Show Values As:Running Total In(Base Field:Month). - Column 3: Custom Name:
MoM Growth %, Number Format:0.0%, Show Values As:% Difference From(Base Field:Month, Base Item:(previous)).
- Column 1: Custom Name:
Numerical Verification Table:
| Month | Monthly Revenue | Cumulative YTD | MoM Growth % | Pacing Status |
|---|---|---|---|---|
| July | $84,320 | $84,320 | β | Baseline Month |
| August | $112,650 | $196,970 | +33.6% |
π’ Accelerating |
| September | $98,410 | $295,380 | -12.6% |
π΄ Seasonal Dip |
| October | $145,200 | $440,580 | +47.5% |
π’ Peak Q4 Surge |
| November | $157,800 | $598,380 | +8.7% |
π’ Continued Growth |
| Total | $598,380 | $598,380 | β | Full Period |
π Level 4 Solution: Enterprise Calculated Fields & Profit Margin
Step-by-Step Execution:
- Navigate to sheet
Retail_part_2. Click inside the range and pressCtrl + T-> Name the tableRetailSales. - Press
Alt + N + V-> create Pivot Table namedpt_RegionalProfit. - Drag
Regionto Rows; dragSalesAmountandProfitto Values. - Go to PivotTable Analyze > Fields, Items & Sets > Calculated Field.
- Set:
- Name:
Profit_Margin - Formula:
= Profit / SalesAmount
- Name:
- Click Add -> click OK.
- Right-click the new column -> Value Field Settings > Number Format > Percentage (
0.0%). - Go to PivotTable Analyze > Fields, Items & Sets > List Formulas to generate the audit sheet.
Numerical Verification Table:
| Region | Total Sales (EGP) | Profit (EGP) | Profit Margin |
|---|---|---|---|
| Alexandria | $46,280,410 | $6,479,257 | 14.0% |
| Aswan | $45,892,100 | $6,424,894 | 14.0% |
| Cairo | $46,120,500 | $6,456,870 | 14.0% |
| Giza | $45,950,200 | $6,433,028 | 14.0% |
| Ismailia | $46,310,900 | $6,483,526 | 14.0% |
| Luxor | $46,050,800 | $6,447,112 | 14.0% |
| Mansoura | $46,180,300 | $6,465,242 | 14.0% |
| Tanta | $46,215,700 | $6,470,198 | 14.0% |
| Grand Total | $369,000,910 | $51,660,127 | 14.0% |
π Level 5 Solution: Dashboard Slicers & Report Filter Pages
Step-by-Step Execution:
- In
pt_CategoryByCountry, go to PivotTable Analyze > Insert Slicer. - Check
CountryandCategory-> click OK. - Select the
Countryslicer -> in the Slicer contextual ribbon, change Columns from1to4. - Drag
Countryinto the FILTERS quadrant in the Fields task pane. - With the Pivot Table active, click PivotTable Analyze > Options (dropdown arrow) > Show Report Filter Pages....
- Select
Country-> click OK. - Verification: Confirm that seven separate sheets have been generated at the bottom of Excel, each named after a specific country with pre-filtered records!
π Related Knowledge & Navigation
- Exercise Challenge: Ex04 Pivot Table Summaries
- Lesson Notes: 01 Pivot Table Foundations, 02 Advanced Calculations and Show Values As, 03 Grouping and Calculated Fields, 04 Interactive Filtering with Slicers and Timelines
- Dataset Reference: Module 5 Dataset Documentation