Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← Certified Microsoft Excel Expert Level Two · Lesson 8 of 9

Module Seven

📖 Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
8
Module 7 · Certified Microsoft Excel Expert Level 2
MODULE 7

PivotTables and Data Analysis

Module Introduction

Welcome to Module Seven of your Certified Microsoft Excel Expert Level 2 course! In this module, we will learn about PivotTables and data analysis. PivotTables are one of the most powerful tools in Excel.

Think of a PivotTable as a magic table that can rearrange your data instantly. You can look at your data from different angles without changing the original data. It is like having a super‑powerful magnifying glass for your numbers.

💡 What you will learn: Creating and customising PivotTables, using slicers and timelines, grouping data, calculated fields, and PivotCharts.

Learning Objectives

By the end of this module, you will be able to:

  • Create a PivotTable from a data source.
  • Customise a PivotTable layout.
  • Use slicers and timelines to filter data.
  • Group data in a PivotTable.
  • Create calculated fields and custom calculations.
  • Create PivotCharts for visual analysis.
  • Refresh and update PivotTables.

Warm‑up Story

Ngozi's Sales Analysis

Ngozi works in a large shop in Lagos. She has thousands of sales records. She wanted to know which products sold best in which months. She was overwhelmed by all the data.

Her manager said, "Use a PivotTable. It will organise your data for you." Ngozi created a PivotTable. She put products in rows, months in columns, and sales in the values. Instantly, she could see which products sold best in each month.

She used slicers to filter by product category. She used a timeline to filter by date. She even created a PivotChart to see the trends visually. Ngozi learned that PivotTables are the best way to analyse large amounts of data.

Main Lessons

Lesson 1: What is a PivotTable?

Definition: A PivotTable is a tool that lets you quickly summarise and analyse large amounts of data.

Why it is important: It helps you see patterns and insights that are hidden in your data.

Simple explanation: It is like a magic table that reorganises your data so you can see it from different angles.

  • Real‑life example: A manager uses a PivotTable to summarise sales by product and month.
  • School example: A student uses a PivotTable to summarise test scores by subject.
  • Home example: A parent uses a PivotTable to summarise expenses by category.
  • Nigerian example: A shop owner uses a PivotTable to summarise sales by region.

📌 Mini summary: A PivotTable summarises data quickly. It helps you see patterns and insights.

Lesson 2: Creating a PivotTable

Definition: Creating a PivotTable means selecting your data and telling Excel how to summarise it.

Why it is important: It is the first step to analysing your data.

Simple explanation: It is like telling Excel, "Please organise this data for me."

  • Real‑life example: A manager creates a PivotTable from sales data.
  • School example: A student creates a PivotTable from grade data.
  • Home example: A parent creates a PivotTable from expense data.
  • Nigerian example: A shop owner creates a PivotTable from inventory data.

How to create a PivotTable:

  1. Select your data.
  2. Go to Insert → PivotTable.
  3. Choose where to place the PivotTable (new worksheet or existing).
  4. Click OK.
  5. Drag fields into the four areas: Rows, Columns, Values, and Filters.

📌 Mini summary: Creating a PivotTable is easy. Select your data, insert a PivotTable, and drag fields to organise it.

Lesson 3: The Four Areas of a PivotTable

Definition: A PivotTable has four areas: Rows, Columns, Values, and Filters.

Why it is important: Each area controls how your data is displayed.

Simple explanation: It is like arranging furniture in a room – you decide where each piece goes.

  • Rows: Data that goes down the left side (e.g., products).
  • Columns: Data that goes across the top (e.g., months).
  • Values: The numbers you want to summarise (e.g., sales).
  • Filters: Data that you can use to filter the entire PivotTable (e.g., region).
+-----------------------------+
|        Filters               |
+-----------------------------+
| Rows  |  Columns            |
|       |                     |
|       |  Values             |
|       |                     |
+-----------------------------+
    

📌 Mini summary: The four areas are Rows, Columns, Values, and Filters. They control how your data is displayed.

Lesson 4: Customising a PivotTable

Definition: Customising means changing the layout, appearance, and calculations of your PivotTable.

Why it is important: It helps you present your data clearly.

Simple explanation: It is like decorating your room to make it look nice.

  • How to customise:
    • Change the value field settings (e.g., Sum, Count, Average).
    • Change number formatting.
    • Change the layout (e.g., Show in Tabular Form).
    • Add or remove fields.

📌 Mini summary: Customising your PivotTable helps you present data clearly. You can change calculations, formatting, and layout.

Lesson 5: Slicers

Definition: A slicer is a visual filter that lets you filter a PivotTable with a single click.

Why it is important: It makes filtering easy and interactive.

Simple explanation: It is like a button that turns on and off to show you different data.

  • Real‑life example: A manager uses a slicer to filter by product category.
  • School example: A student uses a slicer to filter by subject.
  • Home example: A parent uses a slicer to filter by expense category.
  • Nigerian example: A shop owner uses a slicer to filter by region.

How to add a slicer:

  1. Click on the PivotTable.
  2. Go to PivotTable Analyze → Insert Slicer.
  3. Choose the field(s) you want to filter.
  4. Click OK.

📌 Mini summary: Slicers are visual filters. They make it easy to filter data with a single click.

Lesson 6: Timelines

Definition: A timeline is a special slicer for date fields.

Why it is important: It lets you filter by date ranges easily.

Simple explanation: It is like a slider that lets you choose a date range.

  • Real‑life example: A manager uses a timeline to filter sales by month.
  • School example: A student uses a timeline to filter grades by semester.
  • Home example: A parent uses a timeline to filter expenses by year.
  • Nigerian example: A shop owner uses a timeline to filter sales by quarter.

How to add a timeline:

  1. Click on the PivotTable.
  2. Go to PivotTable Analyze → Insert Timeline.
  3. Choose the date field.
  4. Click OK.

📌 Mini summary: Timelines are date slicers. They let you filter by date ranges easily.

Lesson 7: Grouping Data in a PivotTable

Definition: Grouping data means combining items into groups in a PivotTable.

Why it is important: It helps you see data at a higher level.

Simple explanation: It is like putting similar things together in a box.

  • Real‑life example: A manager groups sales by month.
  • School example: A student groups grades by letter (A, B, C).
  • Home example: A parent groups expenses by category.
  • Nigerian example: A shop owner groups sales by region.

How to group data:

  1. Select the items you want to group in the PivotTable.
  2. Right‑click and choose Group.
  3. For dates, you can group by days, months, quarters, or years.

📌 Mini summary: Grouping data combines items into groups. It helps you see data at a higher level.

Lesson 8: Calculated Fields

Definition: A calculated field is a new field that you create using a formula.

Why it is important: It lets you perform calculations that are not in your original data.

Simple explanation: It is like adding a new column to your PivotTable.

  • Real‑life example: A manager creates a calculated field for profit (sales - cost).
  • School example: A student creates a calculated field for average.
  • Home example: A parent creates a calculated field for savings.
  • Nigerian example: A shop owner creates a calculated field for margin.

How to create a calculated field:

  1. Click on the PivotTable.
  2. Go to PivotTable Analyze → Fields, Items, & Sets → Calculated Field.
  3. Enter a name and a formula.
  4. Click OK.

📌 Mini summary: Calculated fields let you create new data using formulas. They add new columns to your PivotTable.

Lesson 9: Custom Calculations

Definition: Custom calculations let you show data as percentages, differences, or running totals.

Why it is important: It gives you different ways to look at your data.

Simple explanation: It is like changing the lens on a camera to see different things.

  • Show Values As: Right‑click a value field → Value Field Settings → Show Values As.
  • Options: % of Grand Total, % of Column Total, % of Row Total, Difference From, Running Total, etc.

📌 Mini summary: Custom calculations let you show data in different ways, like percentages or running totals.

Lesson 10: PivotCharts

Definition: A PivotChart is a chart based on a PivotTable.

Why it is important: It lets you see your PivotTable data visually.

Simple explanation: It is like a picture of your PivotTable.

  • Real‑life example: A manager creates a PivotChart to show sales trends.
  • School example: A student creates a PivotChart to show grade distribution.
  • Home example: A parent creates a PivotChart to show expenses.
  • Nigerian example: A shop owner creates a PivotChart to show sales by product.

How to create a PivotChart:

  1. Click on the PivotTable.
  2. Go to Insert → PivotChart.
  3. Choose the chart type and click OK.

📌 Mini summary: PivotCharts are charts based on PivotTables. They help you visualise your data.

Lesson 11: Refreshing a PivotTable

Definition: Refreshing means updating the PivotTable when the source data changes.

Why it is important: It keeps your analysis up to date.

Simple explanation: It is like refreshing a web page to see the latest news.

How to refresh:

  • Right‑click the PivotTable and choose Refresh.
  • Or go to PivotTable Analyze → Refresh.

📌 Mini summary: Refreshing updates your PivotTable with the latest data. Do it often when data changes.

Lesson 12: PivotTable Best Practices

Definition: Best practices are guidelines for creating effective PivotTables.

  • Use clean data: Make sure your data has no blank rows or columns.
  • Use meaningful names: Name your fields clearly.
  • Refresh regularly: Keep your PivotTable up to date.
  • Use slicers for interactivity: Make your PivotTable interactive.
  • Format your PivotTable: Make it look professional.

📌 Mini summary: Best practices help you create effective PivotTables. Use clean data, meaningful names, and refresh regularly.

Key Vocabulary

PivotTable: A tool for summarising and analysing data.
Slicer: A visual filter for a PivotTable.
Timeline: A date slicer for a PivotTable.
Group: Combining items into groups.
Calculated Field: A new field created with a formula.
PivotChart: A chart based on a PivotTable.
Refresh: Updating a PivotTable with new data.
Values: The numbers you want to summarise.
Rows: Data that goes down the left side.
Columns: Data that goes across the top.

Important Concepts

  • PivotTables summarise large amounts of data.
  • Slicers make filtering easy and interactive.
  • Timelines filter by date ranges.
  • Grouping helps you see data at a higher level.
  • Calculated fields let you create new data.
  • PivotCharts visualise your PivotTable data.

Step-by-Step Explanations

How to Create a PivotTable

  1. Select your data.
  2. Go to Insert → PivotTable.
  3. Choose where to place it.
  4. Click OK.
  5. Drag fields to Rows, Columns, and Values.

How to Add a Slicer

  1. Click on the PivotTable.
  2. Go to PivotTable Analyze → Insert Slicer.
  3. Choose the field(s).
  4. Click OK.

Real-Life Examples

  • In a business: A manager uses a PivotTable to summarise sales by product and region.
  • In a school: A teacher uses a PivotTable to summarise student grades.
  • At home: A parent uses a PivotTable to summarise monthly expenses.
  • In Nigeria: A shop owner uses a PivotTable to summarise sales by day.

Nigerian Examples

  • A bank in Lagos uses PivotTables to summarise loan data.
  • A school in Abuja uses PivotTables to summarise exam results.
  • A shop in Kano uses PivotTables to summarise product sales.
  • A business in Enugu uses PivotTables to summarise employee data.

Fun Examples Children Can Relate To

  • Using a PivotTable to summarise your favourite games.
  • Using a slicer to filter by type of game.
  • Using a timeline to see how many games you played each month.
  • Creating a PivotChart to show your game scores.

Everyday Examples

  • Using a PivotTable to summarise weekly expenses.
  • Using a slicer to filter by category.
  • Using a timeline to see expenses by month.
  • Creating a PivotChart to show spending trends.

Teacher Notes

  • Emphasise that PivotTables are for summarising data.
  • Show students how to use slicers and timelines.
  • Teach students to create calculated fields.
  • Encourage students to create PivotCharts.

Parent Tips

  • Help your child create a PivotTable for a school project.
  • Show them how to use slicers to filter data.
  • Encourage them to use PivotCharts for visual analysis.
  • Teach them to refresh PivotTables when data changes.

Interesting Facts

  • PivotTables were introduced in Excel 5.0 in 1993.
  • Slicers were introduced in Excel 2010.
  • Timelines were introduced in Excel 2013.
  • You can create PivotTables from external data sources.

Did You Know?

Did you know? You can create a PivotTable from data in multiple worksheets.

Did you know? You can format a PivotTable with many different styles.

Did you know? You can use a PivotTable to create a dashboard.

Remember This

  • PivotTables summarise large amounts of data.
  • Slicers filter data easily.
  • Timelines filter by date ranges.
  • Grouping helps you see data at a higher level.
  • Calculated fields create new data.
  • PivotCharts visualise your data.

Common Mistakes

  • Data with blank rows: Ensure your data is clean.
  • Not refreshing: Always refresh after changing source data.
  • Using the wrong field in Values: Choose Sum, Count, or Average correctly.
  • Not using slicers: Slicers make filtering easy.
  • Not formatting: A formatted PivotTable looks professional.

Best Practices

  • Use clean data with no blank rows.
  • Use meaningful field names.
  • Refresh PivotTables regularly.
  • Use slicers and timelines for interactivity.
  • Format your PivotTable for clarity.

Comparison: Slicer vs Filter

FeatureSlicerFilter
VisualYesNo
Easy to useYesModerate
Multiple selectionsYesYes
Best forInteractive filteringQuick filtering

Comparison: PivotTable vs Normal Table

FeaturePivotTableNormal Table
Summarises dataYesNo
InteractiveYesNo
DynamicYesNo
Best forAnalysisData entry

End-of-Module Summary

Congratulations! You have completed Module Seven. You now know:

  • How to create and customise PivotTables.
  • How to use slicers and timelines to filter data.
  • How to group data in a PivotTable.
  • How to create calculated fields and custom calculations.
  • How to create PivotCharts.
  • How to refresh and update PivotTables.

You are now ready to move on to Module Eight, where you will learn about What‑If Analysis and data consolidation.

Frequently Asked Questions

  1. What is a PivotTable? A tool for summarising and analysing data.
  2. How do you create a PivotTable? Insert → PivotTable.
  3. What is a slicer? A visual filter for a PivotTable.
  4. What is a timeline? A date slicer for a PivotTable.
  5. What is grouping? Combining items into groups.
  6. What is a calculated field? A new field created with a formula.
  7. What is a PivotChart? A chart based on a PivotTable.
  8. How do you refresh a PivotTable? Right‑click → Refresh.
  9. What are the four areas of a PivotTable? Rows, Columns, Values, Filters.
  10. Why are PivotTables useful? They summarise large amounts of data quickly.

Review Questions

  1. What is a PivotTable?
  2. How do you create a PivotTable?
  3. What are the four areas of a PivotTable?
  4. What is a slicer?
  5. What is a timeline?
  6. What is grouping in a PivotTable?
  7. What is a calculated field?
  8. What is a PivotChart?
  9. How do you refresh a PivotTable?
  10. Why are PivotTables useful?
  11. How do you add a slicer?
  12. How do you add a timeline?
  13. What is the difference between a slicer and a filter?
  14. What is the difference between a PivotTable and a normal table?
  15. What are the best practices for PivotTables?

Fill-in-the-Blank Exercises

  1. A __________ summarises large amounts of data.
  2. A __________ is a visual filter for a PivotTable.
  3. A __________ is a date slicer for a PivotTable.
  4. __________ combines items into groups.
  5. A __________ is a new field created with a formula.
  6. A __________ is a chart based on a PivotTable.
  7. You __________ a PivotTable to update it with new data.
  8. The four areas of a PivotTable are Rows, Columns, __________, and Filters.
  9. __________ make filtering easy and interactive.
  10. __________ help you see data at a higher level.

True or False

  1. A PivotTable summarises large amounts of data. (True)
  2. A slicer is a date filter. (False)
  3. A timeline is a date slicer. (True)
  4. Grouping combines items into groups. (True)
  5. A calculated field is created with a formula. (True)
  6. A PivotChart is based on a PivotTable. (True)
  7. You do not need to refresh a PivotTable. (False)
  8. The four areas are Rows, Columns, Values, and Filters. (True)
  9. Slicers are not interactive. (False)
  10. Grouping helps you see data at a higher level. (True)

Multiple Choice Questions

  1. What is a PivotTable?
    a) A tool for summarising data b) A chart c) A table d) A picture
    Answer: a
  2. What is a slicer?
    a) A visual filter b) A date filter c) A chart d) A table
    Answer: a
  3. What is a timeline?
    a) A date slicer b) A visual filter c) A chart d) A table
    Answer: a
  4. What is grouping?
    a) Combining items into groups b) Filtering data c) Creating a chart d) Refreshing data
    Answer: a
  5. What is a calculated field?
    a) A new field with a formula b) A filter c) A chart d) A table
    Answer: a
  6. What is a PivotChart?
    a) A chart based on a PivotTable b) A filter c) A table d) A picture
    Answer: a
  7. How do you refresh a PivotTable?
    a) Right‑click → Refresh b) Insert → Refresh c) View → Refresh d) File → Refresh
    Answer: a
  8. What are the four areas of a PivotTable?
    a) Rows, Columns, Values, Filters b) Rows, Columns, Charts, Filters c) Rows, Columns, Tables, Filters d) Rows, Columns, Data, Filters
    Answer: a
  9. Why are PivotTables useful?
    a) They summarise data quickly b) They create charts c) They add pictures d) They print data
    Answer: a
  10. How do you add a slicer?
    a) PivotTable Analyze → Insert Slicer b) Insert → Slicer c) View → Slicer d) Data → Slicer
    Answer: a
  11. How do you add a timeline?
    a) PivotTable Analyze → Insert Timeline b) Insert → Timeline c) View → Timeline d) Data → Timeline
    Answer: a
  12. What is the difference between a slicer and a filter?
    a) Slicer is visual b) Filter is visual c) No difference d) Both are the same
    Answer: a
  13. What is the difference between a PivotTable and a normal table?
    a) PivotTable summarises data b) Normal table summarises data c) No difference d) Both are the same
    Answer: a
  14. What is a best practice for PivotTables?
    a) Use clean data b) Use messy data c) Never refresh d) Ignore formatting
    Answer: a
  15. What does grouping help you do?
    a) See data at a higher level b) Filter data c) Create charts d) Refresh data
    Answer: a

Matching Exercises

Match the term on the left with its description on the right.

TermDescription
1. PivotTableA. A visual filter
2. SlicerB. A date filter
3. TimelineC. Summarises data
4. Calculated FieldD. A new field with a formula
5. PivotChartE. A chart based on a PivotTable

Answers: 1-C, 2-A, 3-B, 4-D, 5-E

Short Answer Questions

  1. What is a PivotTable and why is it useful?
  2. What are the four areas of a PivotTable?
  3. What is a slicer and how does it help?
  4. What is a calculated field?
  5. What are the best practices for PivotTables?

Scenario-Based Exercises

  1. Scenario: You have sales data for different products and months. You want to see total sales by product and month. What tool would you use?
  2. Scenario: You want to filter your PivotTable by product category with a single click. What tool would you use?
  3. Scenario: You want to filter your PivotTable by date range. What tool would you use?

Group Activity

In groups of 3-4, create a PivotTable from a large data set. Use slicers and timelines to filter the data. Create a calculated field. Create a PivotChart. Present your findings to the class.

Individual Activity

Create a PivotTable from a data set of your choice. Add slicers and timelines. Create a calculated field. Create a PivotChart. Save the workbook.

Classroom Discussion Questions

  1. Why are PivotTables useful for data analysis?
  2. How do slicers and timelines make analysis easier?
  3. What is your favourite feature of PivotTables?
  4. How can PivotTables help you in your daily life?
  5. What is the most challenging part of using PivotTables?

Mini Project

Project: "My Data Dashboard." Create a dashboard with a PivotTable, slicers, a timeline, a calculated field, and a PivotChart. Use a data set of your choice. Present your dashboard to the class.

Practical Assignment

Open Excel. Create a PivotTable from a data set. Add slicers and timelines. Create a calculated field. Create a PivotChart. Save the workbook.

Challenge Exercise

Create a PivotTable from a data set with multiple sheets. Use slicers and timelines. Create multiple calculated fields. Create multiple PivotCharts. Present your dashboard to the class.

Quiz Answers

Fill-in-the-Blank Answers:

  1. PivotTable
  2. slicer
  3. timeline
  4. Grouping
  5. calculated field
  6. PivotChart
  7. refresh
  8. Values
  9. Slicers
  10. Grouping

True or False Answers: 1-T, 2-F, 3-T, 4-T, 5-T, 6-T, 7-F, 8-T, 9-F, 10-T

Key Takeaways

  • PivotTables summarise large amounts of data.
  • Slicers and timelines make filtering easy.
  • Grouping helps you see data at a higher level.
  • Calculated fields let you create new data.
  • PivotCharts visualise your data.
  • Refresh PivotTables when data changes.

Preparation for the Next Module

In Module Eight, you will learn about What-If Analysis and Data Consolidation. You will learn about Goal Seek, Scenario Manager, and how to consolidate data from multiple sources.


Module 7 · PivotTables and Data Analysis · Certified Microsoft Excel Expert Level 2 Course

🏆 Get Certified

🔒

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (₦2,000 or 20,000 coins), and get a verified certificate with your name on it.

🎓 Sign Up to Get Certified
🛠️ Practice Tools
Hands-on simulators & labs - subscription required.
→
🎯 Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
→