Pivot Tables in Excel

Learn Pivot Tables in Excel with this quick guide covering how to insert a pivot table, build and organize fields, sort data, filter data, change calculation methods, create a two-dimensional pivot table, and generate pivot charts to analyze data more effectively.


Inserting a Pivot Table

  1. Click any cell inside your dataset.
  2. Go to the Insert tab.
  3. Select PivotTable.
  4. Confirm the selected data range and choose where to place the pivot table (usually a new worksheet).
  5. Click OK.

A blank pivot table and the PivotTable Fields panel will appear.

How to Insert a Pivot Table

Building the Pivot Table

To create a pivot table, simply drag fields into these areas:

  • Rows – to group data by categories
  • Columns – to compare data across categories
  • Values – to calculate totals, counts, or averages
  • Filters – to filter the entire report

Excel automatically summarizes numeric data, usually by summing or counting.

Building the Pivot Table

Sorting Data in Pivot Table

You can sort pivot table results to make them easier to read:

  • Click any value in the Values column.
  • Right-click and choose a sorting option (for example, largest to smallest).

This helps highlight the most important results.

Sorting Data in Pivot Table

Filtering Data in Pivot Table

If a field is placed in the Filters area, you can use the dropdown menu to display only specific data.

You can also apply filters directly to row or column labels to narrow down the results further.

Filtering Data in Pivot Table

Changing the Calculation Method in Pivot Table

Excel summarizes numeric data by default, but you can change this:

  1. Right-click a value inside the pivot table.
  2. Choose Value Field Settings.
  3. Select a different calculation type (such as Count, Average, Max, or Min).
  4. Click OK.

This allows you to analyze the data in different ways without modifying the source table.

Changing the Calculation Method

Creating a Two-Dimensional Pivot Table

By placing one field in the Rows area and another in the Columns area, you can create a cross-tabulated (two-dimensional) report. This makes it easier to compare data across two categories at the same time.

Creating a Two-Dimensional Pivot Table

Creating a Pivot Charts

You can also create a Pivot Chart from a pivot table. This provides a visual way to compare and explore the summarized data, with filtering options built in.

Create Pivot Charts

Download Excel File to Practice

Leave a Reply