Mastering Pivot Tables: A Simple Example

Eugene Jul 31, 2026

Pivot tables are an incredibly powerful tool in data analysis, enabling users to summarize, analyze, explore, and present large amounts of data in a meaningful way. They are particularly useful when you want to compare data based on different categories or see how totals are broken down by various dimensions. Let's explore a simple pivot table example to understand its basics and benefits.

Excel Pivot Table Explained (Part 1) | Easy Guide for Beginners with Example
Excel Pivot Table Explained (Part 1) | Easy Guide for Beginners with Example

Imagine you're a marketing manager at an e-commerce company, and you have a dataset containing sales information for the past year. This dataset includes columns for 'Product Category', 'Sales Region', 'Salesperson', 'Sales Amount', and 'Sale Date'. You want to analyze your sales performance across different regions and product categories. This is where a pivot table comes into play.

the pivot tables explain how to use it in an interactive game, and what they are
the pivot tables explain how to use it in an interactive game, and what they are

Creating a Pivot Table

A pivot table is essentially a summary of a dataset, allowing you to view and analyze data from different perspectives. To create a pivot table, you first need to select the data range you want to analyze. Once selected, you can use the 'Insert' tab in Microsoft Excel or the 'Insert' menu in Google Sheets to insert a pivot table.

Pivot Table Secrets : Repeat Label Items and Tabular Form in Excel #excel #exceltips #exceltutorial
Pivot Table Secrets : Repeat Label Items and Tabular Form in Excel #excel #exceltips #exceltutorial

After inserting the pivot table, you'll see a 'PivotTable Fields' pane on the right. This pane allows you to drag and drop fields (columns from your dataset) into the 'Rows', 'Columns', and 'Values' areas to create your pivot table structure.

Adding Rows and Columns

four different types of table labels with the words pivot table in excel and what to do
four different types of table labels with the words pivot table in excel and what to do

For our example, let's add 'Product Category' to the 'Rows' area and 'Sales Region' to the 'Columns' area. This will allow us to see sales performance by product category and region side by side.

To add these fields, simply drag and drop 'Product Category' into the 'Rows' area and 'Sales Region' into the 'Columns' area. Your pivot table will now display a matrix with product categories as rows and sales regions as columns.

Adding Values

101 Excel Pivot Tables Examples | MyExcelOnline
101 Excel Pivot Tables Examples | MyExcelOnline

Next, we need to add the data we want to analyze. In our case, we're interested in the 'Sales Amount'. Drag and drop 'Sales Amount' into the 'Values' area. By default, Excel or Google Sheets will sum the sales amounts, giving you a total sales amount for each product category in each region.

To change the summary calculation, right-click on the 'Sales Amount' field in the 'Values' area and select 'Value Field Settings'. Here, you can choose from various summary calculations like 'Average', 'Count', 'Max', 'Min', etc. For our example, let's keep 'Sum' as it is.

Filtering and Sorting

Excel Pivot Table Example (11 Different Case) - ExcelDemy
Excel Pivot Table Example (11 Different Case) - ExcelDemy

Pivot tables also allow you to filter and sort your data to gain deeper insights. Let's add a 'Salesperson' field to the 'Filters' area. This will allow us to filter our pivot table by salesperson.

To add a filter, drag and drop 'Salesperson' into the 'Filters' area. A dropdown menu will appear at the top of your pivot table, allowing you to select a specific salesperson or choose 'All' to view data for all salespeople.

Ultimate excel pivot tables tutorial
Ultimate excel pivot tables tutorial
10k views on how to use pivot table in excel
10k views on how to use pivot table in excel
How to Create a Pivot Table in Excel | Beginner Excel Guide | Printable Visual Tutorial
How to Create a Pivot Table in Excel | Beginner Excel Guide | Printable Visual Tutorial
a blue and white poster with the words which pivot table to use on it
a blue and white poster with the words which pivot table to use on it
How to create a new pivot table style
How to create a new pivot table style
Pivot table trick you don’t want to miss
Pivot table trick you don’t want to miss
Unlock Insights - 101 Pivot Table Scenarios in Excel
Unlock Insights - 101 Pivot Table Scenarios in Excel
Effortless Pivot Table - Group by Month, Year & Week
Effortless Pivot Table - Group by Month, Year & Week
How to Create in Pivot Table Items
How to Create in Pivot Table Items
Pivot Table Example
Pivot Table Example
What is a pivot table?
What is a pivot table?
PIVOT TABLE SHORTCUTS YOU’LL LOVE
PIVOT TABLE SHORTCUTS YOU’LL LOVE
Pivot Table in Excel Explained (for Beginners)
Pivot Table in Excel Explained (for Beginners)
Pivot Tables in Excel Explained📚
Pivot Tables in Excel Explained📚
Miss Excel
Miss Excel
Excel Pivot Tables Tutorial : What is a Pivot Table and How to Make one
Excel Pivot Tables Tutorial : What is a Pivot Table and How to Make one
How to Use Pivot Tables in 4 Easy Steps | The Finance posted on the topic | LinkedIn
How to Use Pivot Tables in 4 Easy Steps | The Finance posted on the topic | LinkedIn
Change% in Pivot Table
Change% in Pivot Table

Sorting Data

You can also sort your pivot table data. Right-click on any column or row header and select 'Sort' and 'Sort by...'. This will allow you to sort your data in ascending or descending order based on the values in that column or row.

For example, you can sort the 'Sales Amount' column in descending order to see which regions and product categories have the highest sales amounts.

Formatting and Customizing

Pivot tables can be formatted and customized to make them more visually appealing and easier to understand. You can change the number format, add conditional formatting, and even create pivot charts to visualize your data.

To change the number format, right-click on the 'Sales Amount' field and select 'Number Format'. Here, you can choose from various number formats like 'Currency', 'Percentage', etc. You can also add conditional formatting to highlight cells based on their values.

Pivot tables are an incredibly powerful tool for data analysis, and this simple pivot table example only scratches the surface of what's possible. With practice and exploration, you'll be able to create complex pivot tables that provide valuable insights into your data. So, start exploring, and happy analyzing!