Welcome to Module 10! So far, you have learned how to create PivotTables, calculate totals, sort information, apply filters, use Slicers, and create PivotCharts.
In this module, we will explore some more advanced PivotTable features. These features help you discover useful information from your data and answer important business questions.
Imagine that you help manage a supermarket in Ibadan. The manager wants to know which products are selling well, which branches are performing best, and how sales have changed over time.
Instead of checking hundreds or thousands of transactions one by one, you can use advanced PivotTable features to find answers quickly.
Sometimes, knowing the total sales is not enough. A business manager may also want to know what percentage of total sales came from each product or branch.
For example, imagine a supermarket made ₦1,000,000 in total sales during one month.
| Product | Sales | Percentage of Total Sales |
|---|---|---|
| Rice | ₦400,000 | 40% |
| Cooking Oil | ₦300,000 | 30% |
| Milk | ₦200,000 | 20% |
| Bread | ₦100,000 | 10% |
| Total | ₦1,000,000 | 100% |
This report tells us that rice contributed 40% of the supermarket's total sales.
Businesses often compare their performance over different months or years.
For example, a supermarket manager may want to compare January sales with February sales.
| Month | Sales |
|---|---|
| January | ₦500,000 |
| February | ₦650,000 |
| March | ₦700,000 |
From this report, we can see that sales increased from January to February.
Excel can also calculate the difference between one month and another using the Show Values As feature.
Excel will calculate the difference between each month and the previous month.
A calculated field allows you to create a new calculation using existing fields in your source data.
Imagine that a supermarket records the quantity of products sold and the selling price of each product.
You can use a calculated field to estimate total sales using:
Total Sales = Quantity × Unit Price
For example:
| Product | Quantity | Unit Price | Total Sales |
|---|---|---|---|
| Rice | 10 | ₦5,000 | ₦50,000 |
| Milk | 20 | ₦2,000 | ₦40,000 |
Example formula:
= Quantity * UnitPrice
A running total is a calculation that keeps adding values as you move down a list.
Imagine that a business records these monthly sales:
| Month | Monthly Sales | Running Total |
|---|---|---|
| January | ₦100,000 | ₦100,000 |
| February | ₦150,000 | ₦250,000 |
| March | ₦200,000 | ₦450,000 |
| April | ₦100,000 | ₦550,000 |
The running total shows how much the business has earned from January up to each month.
Excel will display the accumulated sales for each month.
Sometimes, you may see a large number in a PivotTable and want to know which transactions created that number.
Excel has a feature called Show Details, also known as drill-down.
For example, your PivotTable shows that the Ibadan branch made ₦500,000 in sales. You want to see the individual transactions behind that total.
You can use this feature to investigate unusual sales figures, check transactions, and understand where a total came from.
Top 10 analysis helps you identify the highest-performing products, branches, employees, or customers.
Imagine that a supermarket has 50 products. The manager wants to identify the 5 products that generated the highest sales.
Your PivotTable will display the five products with the highest sales.
Bottom 10 analysis helps you identify the lowest-performing items.
For example, a supermarket may want to find the five products with the lowest sales.
This helps the manager identify products that may need better promotion, improved placement, or further investigation.
You can combine different fields in one PivotTable to answer more detailed questions.
For example, instead of showing only total sales by product, you can analyse sales by branch and product.
| Branch | Product | Sales |
|---|---|---|
| Ibadan | Rice | ₦200,000 |
| Ibadan | Milk | ₦100,000 |
| Lagos | Rice | ₦300,000 |
| Lagos | Milk | ₦150,000 |
You can arrange the fields like this:
This arrangement can help you compare products, branches, payment methods, and years in one report.
Sometimes, business information is stored in different worksheets or tables.
For example, a supermarket may store:
Instead of combining everything into one large table, Excel can use the Data Model to connect related tables.
A Data Model is a collection of related tables that can be analysed together.
For example, the Sales table may contain a Product ID, while the Products table also contains a Product ID.
Excel can use these matching IDs to connect the tables.
A relationship connects two tables using a common column, such as Product ID or Branch ID.
For example:
| Sales Table | Products Table |
|---|---|
| Product ID: P001 | Product ID: P001 |
| Quantity: 10 | Product: Rice |
| Sales Amount: ₦50,000 | Category: Food |
Excel can use the Product ID to connect the sales transaction with the product information.
You can also add tables to the Data Model when creating a PivotTable by selecting the option to add the data to the Data Model.
Power Pivot is an Excel tool that helps users work with large amounts of related data.
It allows you to create advanced data models and calculations using a language called DAX.
DAX means Data Analysis Expressions.
For example, a business can use Power Pivot to calculate total sales, profit, and sales growth across different branches.
Power Pivot is an advanced Excel feature. Its availability depends on your Excel edition and platform.
Imagine you work as a junior data analyst for a supermarket with branches in Ibadan and Lagos.
The manager gives you a dataset containing the following information:
Your task is to use advanced PivotTable features to answer these questions:
After completing the analysis, prepare a short report explaining what you discovered.
| Mistake | How to Avoid It |
|---|---|
| Using the wrong base field for Difference From. | Select the correct field, such as Month or Year. |
| Using text instead of numbers for calculations. | Check that numerical columns contain valid numbers. |
| Creating incorrect calculated field formulas. | Check the field names and formula carefully. |
| Ignoring the Year field when comparing months. | Include Year when analysing multiple years. |
| Using the wrong table relationship. | Check that matching columns contain the correct IDs. |
| Forgetting to refresh the PivotTable. | Refresh the report after changing the source data. |
| Making decisions from low sales alone. | Investigate other business factors before deciding. |
Open your supermarket sales workbook from previous modules.
Complete the following tasks:
Expected result: You should have a report that helps a supermarket manager understand sales performance and identify areas that need attention.
| Term | Meaning |
|---|---|
| Percentage of Grand Total | Shows each value as a percentage of the overall total. |
| Difference From | Compares a value with another value, such as the previous month. |
| Calculated Field | A new PivotTable calculation created using existing fields. |
| Running Total | A total that keeps increasing as values are added. |
| Show Details | Displays the source records behind a PivotTable value. |
| Top 10 Analysis | Identifies the highest-performing items. |
| Bottom 10 Analysis | Identifies the lowest-performing items. |
| Data Model | A collection of related tables used for analysis. |
| Relationship | A connection between tables using matching columns. |
| Power Pivot | An Excel tool for advanced data modelling and analysis. |
| DAX | Data Analysis Expressions, a formula language used in Power Pivot. |
Choose the correct answer for each question.
1. What does Percentage of Grand Total show?
A. The number of worksheets in a workbook
B. Each value as a percentage of the overall total
C. The colour of a PivotTable
D. The number of columns in Excel
2. Which Show Values As option can compare a value with the previous month?
A. Difference From
B. Running Total In
C. % of Grand Total
D. Rank Smallest to Largest
3. What is a calculated field?
A. A field that deletes data
B. A new calculation created using existing fields
C. A worksheet heading
D. A chart title
4. What is a running total?
A. A total that keeps accumulating values
B. A total that always stays at zero
C. A list of product names
D. A chart with no values
5. What happens when you double-click a PivotTable value that supports Show Details?
A. Excel closes the workbook
B. Excel deletes the PivotTable
C. Excel displays the underlying records in a new worksheet
D. Excel changes the workbook password
6. Which feature helps you identify the five products with the highest sales?
A. Top 10 Value Filter
B. Freeze Panes
C. Page Layout
D. Spell Check
7. What does a Data Model allow you to do?
A. Draw pictures in Excel
B. Connect and analyse related tables
C. Change your computer password
D. Remove all worksheets
8. What does DAX stand for?
A. Data Analysis Expressions
B. Digital Access Exchange
C. Data Application Extension
D. Document Analysis Excel
9. Why should you include Year when comparing monthly sales across several years?
A. To change the font size
B. To prevent the same months from different years being combined
C. To remove all sales values
D. To hide the PivotTable Fields panel
10. Which Excel tool supports advanced data modelling and calculations?
A. Paint
B. Notepad
C. Power Pivot
D. Calculator
| Question | Correct Answer |
|---|---|
| 1 | B |
| 2 | A |
| 3 | B |
| 4 | A |
| 5 | C |
| 6 | A |
| 7 | B |
| 8 | A |
| 9 | B |
| 10 | C |
Well done! You have completed Module 10.
In this module, you learned how to use advanced PivotTable features to analyse business information. You explored percentages, comparisons, calculated fields, running totals, Show Details, Top 10 analysis, Data Models, relationships, and Power Pivot.
These skills can help you turn ordinary sales records into useful business information.
In Module 11, you will learn how to build business reports with PivotTables. You will combine summaries, charts, and filters to create reports that help managers make better decisions.