Pivot Table Exercises in Excel (10 Real-World Practice Problems)
2026-07-30 · Spreadsheet Challenges
Pivot Table Exercises in Excel (10 Real-World Practice Problems)
Learn PivotTables by Analysing Real Business Data
PivotTables are one of the fastest ways to turn a large Excel dataset into a useful report.
With a few fields, filters, and calculations, you can summarise thousands of rows by:
- Product
- Region
- Customer
- Department
- Month
- Sales representative
- Cost category
- Business unit
But knowing where the PivotTable button is does not make someone good at PivotTables.
The real skill is knowing:
- Which fields belong in rows and columns
- Which measures should be summed, counted, or averaged
- How to group dates correctly
- How to avoid misleading totals
- How to create useful calculated fields
- How to convert the output into a management-ready report
The exercises below are designed to help you practise those decisions using realistic business scenarios.
At SpreadsheetChallenges.com, you can also solve hands-on Excel and Google Sheets challenges covering formulas, analysis, financial modelling, reporting, and advanced spreadsheet logic.
Start with 10 free spreadsheet challenges and unlock 900+ additional exercises as your skills develop.
The Practice Dataset
Imagine that you receive a transaction-level sales export containing these columns:
- Order ID
- Order date
- Customer ID
- Customer segment
- Product
- Product category
- Region
- Sales representative
- Units sold
- Revenue
- Cost
- Discount
- Order status
The dataset contains several thousand rows across two years.
Your objective is to use PivotTables to analyse performance and answer practical business questions.
Before starting, convert the source range into an Excel Table so that new rows can be included more reliably when the data is refreshed.
Exercise 1: Revenue by Region
Management wants a quick geographical performance summary.
Build a PivotTable showing:
- Region in the rows
- Total revenue in the values
- Percentage of total revenue
- Number of orders
Then sort the regions from highest to lowest revenue.
Questions to answer
- Which region generates the most revenue?
- Which region has the highest number of orders?
- Does the region with the most orders also have the highest revenue?
- Is company revenue heavily concentrated in one region?
Skills practised
- Basic PivotTable construction
- Value-field settings
- Showing values as a percentage of total
- Sorting and ranking
Exercise 2: Monthly Revenue Trends
Create a PivotTable showing revenue over time.
Use:
- Order date in the rows
- Revenue in the values
- Region as a filter
Group the dates into:
Add a PivotChart showing the monthly revenue trend.
Questions to answer
- Which months generate the strongest sales?
- Is there a visible seasonal pattern?
- Which quarter performs best?
- Is the business growing year over year?
Common mistake
Do not compare incomplete months with complete months without clearly marking the difference.
Exercise 3: Product Category Profitability
Revenue alone does not show whether a product category is attractive.
Add a calculated column to the source data:
Gross Profit = Revenue - Cost
Then build a PivotTable showing:
- Product category
- Revenue
- Cost
- Gross profit
- Gross margin
Gross margin can be calculated outside the PivotTable as:
Gross Profit / Revenue
Questions to answer
- Which category generates the most revenue?
- Which category generates the most profit?
- Which category has the strongest margin?
- Are any high-revenue categories producing weak margins?
For further profitability analysis, see Financial Analysis Excel Practice Problems.
Exercise 4: Sales Representative Performance
Create a performance report for each sales representative.
Include:
- Total revenue
- Gross profit
- Number of orders
- Units sold
- Average order value
- Average discount
Add conditional formatting to highlight:
- Top performers
- Below-average performers
- Representatives giving unusually high discounts
Analytical challenge
A representative with high revenue may still produce weak profit if they rely heavily on discounts.
Rank the representatives using both revenue and gross profit rather than using revenue alone.
Exercise 5: Customer Segment Analysis
Build a PivotTable comparing customer segments.
Use:
- Customer segment in the rows
- Product category in the columns
- Revenue in the values
- Order count as a second value
Show revenue both as:
- Total amount
- Percentage of each segment’s total
Questions to answer
- Which segment generates the most revenue?
- Which product categories are most important to each segment?
- Does any segment depend heavily on one category?
- Which segment has the highest average order value?
This exercise demonstrates how the same dataset can reveal different patterns depending on whether values are shown as totals, percentages, or averages.
Exercise 6: Discount Impact Analysis
Create discount bands in the source data:
- No discount
- 1–5%
- 6–10%
- 11–20%
- More than 20%
Then use a PivotTable to compare each band by:
- Revenue
- Units sold
- Gross profit
- Gross margin
- Number of orders
Questions to answer
- Do larger discounts produce meaningfully higher sales volumes?
- Which discount band generates the most profit?
- At what point does margin deterioration outweigh the increase in sales?
- Are particular products or representatives responsible for most high-discount orders?
This is a good example of how PivotTables support business investigation rather than simple reporting.
Exercise 7: Customer Concentration Risk
Create a PivotTable showing revenue by customer.
Sort customers from highest to lowest revenue and calculate:
- Each customer’s percentage of total revenue
- Cumulative percentage of total revenue
- Number of orders
- Gross profit
Then classify customers into groups such as:
- Top 10 customers
- Next 40 customers
- Remaining customers
Questions to answer
- What percentage of revenue comes from the top 10 customers?
- Is the company dependent on one or two customers?
- Are the largest customers also the most profitable?
- Which major customers have declining order volumes?
For related segmentation practice, see Excel Business Analyst Exercises.
Exercise 8: Order Status and Cancellation Analysis
Build a PivotTable showing order outcomes by:
- Region
- Product category
- Sales representative
- Customer segment
Use order status as the columns, with categories such as:
- Completed
- Pending
- Cancelled
- Returned
Show values as both:
- Number of orders
- Percentage of row total
Questions to answer
- Which region has the highest cancellation rate?
- Which product category has the most returns?
- Does one sales representative have an unusually high pending-order rate?
- Are certain customer segments more likely to cancel?
Important distinction
A region with many cancelled orders may simply process more orders overall. Compare cancellation rates, not only cancellation counts.
Exercise 9: Actual vs Target Performance
Add a separate target table containing monthly revenue targets by region.
Use XLOOKUP, SUMIFS, or Power Pivot to connect targets with actual performance.
Create a summary showing:
- Actual revenue
- Target revenue
- Absolute variance
- Percentage variance
- Favourable or unfavourable status
Questions to answer
- Which regions exceeded their targets?
- Which month had the largest negative variance?
- Did any region grow year over year while still missing target?
- Is poor performance concentrated in a particular product category?
PivotTables work especially well when paired with formulas rather than treated as a completely separate Excel feature.
Exercise 10: Build an Interactive Sales Dashboard
Use several PivotTables and PivotCharts to build a one-page dashboard.
Include these KPIs:
- Total revenue
- Gross profit
- Gross margin
- Number of orders
- Average order value
- Top product category
- Top region
- Cancellation rate
Include these visuals:
- Monthly revenue trend
- Revenue by region
- Profit by category
- Top customers
- Sales representative ranking
Add slicers for:
- Year
- Region
- Product category
- Customer segment
- Sales representative
Add a timeline for the order date.
Dashboard requirement
All PivotTables and charts should respond consistently when the same slicer is used.
Use Report Connections to connect slicers to the relevant PivotTables.
PivotTable Skills Covered
By completing these exercises, you practise:
- Building PivotTables from Excel Tables
- Rearranging row and column fields
- Using multiple value fields
- Changing value calculations
- Showing percentages of totals
- Grouping dates by month, quarter, and year
- Sorting and filtering
- Using Top 10 filters
- Creating PivotCharts
- Adding slicers and timelines
- Connecting slicers to multiple reports
- Refreshing PivotTables
- Combining PivotTables with formulas
- Turning summaries into business insights
PivotTable Mistakes to Avoid
Using Count Instead of Sum
Excel may default to Count when a numeric column contains blanks or text. Check the value-field settings before trusting the result.
Forgetting to Refresh
PivotTables do not always update automatically when source data changes. Refresh the workbook before reporting results.
Using a Fixed Source Range
A fixed range may exclude new rows. Use an Excel Table or a dynamic source instead.
Adding Calculated Percentages Incorrectly
Adding row-level percentages can produce misleading totals. Whenever possible, calculate ratios using aggregated values.
Ignoring Blank and Error Categories
Blank categories may reveal missing or incomplete source data. Investigate them before hiding them.
Overloading the PivotTable
A report containing too many nested fields becomes difficult to interpret. Build several focused PivotTables rather than one unreadable report.
How to Practise Effectively
Use this workflow for each exercise:
- Write down the business question.
- Identify the required dimensions and measures.
- Check the source data for missing or inconsistent values.
- Build the simplest PivotTable that answers the question.
- Validate totals against the raw data.
- Change the report into percentages or averages when relevant.
- Write one or two conclusions based on the result.
- Convert the analysis into a clear chart only when the chart adds value.
The final step matters most.
A PivotTable is useful only when it helps someone understand the business more clearly.
Practice Spreadsheet Challenges Online
At SpreadsheetChallenges.com, you can:
- ✅ Solve practical spreadsheet exercises
- ✅ Practise Excel and Google Sheets formulas
- ✅ Improve analytical problem-solving
- ✅ Build stronger reporting and data-analysis skills
When you’re ready to go further, unlock:
- 900+ spreadsheet challenges
- Learning paths and progression systems
- Advanced spreadsheet categories
- Leaderboards, streaks, and achievements
👉 View Pricing and Unlock Full Access →
Conclusion
PivotTables are among the most valuable Excel tools for analysing large datasets quickly.
But the real skill is not dragging fields into boxes. It is choosing the right structure, validating the numbers, and converting the output into a useful conclusion.
Practise these PivotTable exercises with sales, customer, product, operational, and financial data to build skills that transfer directly into analyst, finance, reporting, and business roles.
👉 Summarise the data. Investigate the drivers. Communicate the insight.