Pivot tables are one of the most powerful and useful features in Excel.

If you gotta be convinced that Pivot Tables are worth your time,watch this short video.

Grab thesample dataand give it a try.

Sample sales data already in an Excel Table

Learning Pivot Tables is a skill that will pay you back again and again.

Pivot tables can dramatically increase your efficiency in Excel.

What is a pivot table?

Sample sales data already in an Excel Table

you’ve got the option to think of a pivot table as a report.

However, unlike a static report, a pivot table provides aninteractive view of your data.

The beauty of pivot tables is they allow you to interactively explore your data in different ways.

Sample sales data already in an Excel Table

In this section, we’ll build several pivot tables step-by-step from a set of sample data.

With experience, the pivot tables below can be built in about 5 minutes.

This data is perfect for a pivot table.

Sample sales data already in an Excel Table

Data in a properExcel Tablenamed “Table1”.

Note: I know this data is very generic.

Insert Pivot Table

1.

Sample sales data already in an Excel Table

Notice the data range is already filled in.

The default location for a new pivot table is New Worksheet.

Override the default location and enter H4 to place the pivot table on the current worksheet:

3.

Click the button at Insert > Pivot Table

Click OK, and Excel builds an empty pivot table starting in cell H4.

Note: there are good reasons to place a pivot table on a different worksheet.

Excel also displays the PivotTable Fields pane, which is empty at this point.

Create Pivot Table window

The Filters area is used to apply global filters to a pivot table.

Note: the pivot table fields pane shows how fields were used to create a pivot table.

Learning to “read” the fields pane takes a bit of practice.

New empty pivot table staring at cell H4

See below andalso herefor more examples.

Add fields

1.

Drag the Sales field to the Values area.

Fields pane for new empty pivot table

Excel calculates a grand total of 26356.

This is the sum of all sales values in the entire data set:

2.

Drag the Color field to the Rows area.

Grand total of all data in data set

Excel breaks out sales by Color.

This makes sense because we are still reporting on the full set of data.

Let’s take a look at the fields pane at this point.

Breakdown by color

This is a big time-saver when data changes frequently.

Right-click any Sales number and choose Number Format:

2.

Sorting by value

1.

Pivot table fields pane - sales by color

Right-click any Sales value and choose Sort > Largest to Smallest.

Excel now lists top-selling colors first.

This sort order will be maintained when data changes, or when the pivot table is reconfigured.

Right-click and select Number Format

Refresh data

Pivot table data needs to be “refreshed” so that bring in updates.

Select cell F5 and change $11.00 to $2000.

Right-click anywhere in the pivot table and select “Refresh”.

Currency number format with zero decimal places

Notice “Red” is now the top-selling color, and automatically moves to the top:

3.

Change F5 back to $11.00 and refresh the pivot again.

Try changing an existing color to something new, like “Gold” or “Black”.

Pivot table with Currency format applied

When you refresh, you’ll see the new color appear.

you’re able to use undo to go back to the original data and pivot.

Second value field

you could add more than one field as a Value field.

Right-click and select Sort > Largest to smallest

One option is to show values as a percent of the total.

If you want to display the same field in different ways, add the field twice.

Remove the Units from the Values area

2.

Breakdown by color, top selling colors first

Add the Sales field (again) to the Values area.

This grouping can be customized.

Remove the second Sales field (Sales2).

To update data, right-click and choose “Refresh”

Drag the Date field to the Columns area.

Right-click a date in the header area and choose “Group”:

4.

We can guess that Silver was introduced as a new color in 2018.

Pivot table after data refresh

Pivot tables often reveal patterns in data that are difficult to see otherwise.

Two-way Pivot

Pivot tables can plot data in various two-dimensional arrangements.

Drag the Date field out of the columns area

2.

Breakdown by color with Sales and Units

Drag Region into the Columns area.

Excel builds a two-way pivot table that breaks down sales by color and region:

3.

Swap Region and Color (i.e.

Right-click select Show values as > percent of total

drag Region to the Rows area and Color to the Columns area).

Each table presents a different view of thesame data, so they all sum to thesame total.

The above example shows how quickly you’re free to build different pivot tables from the same data.

Pivot table - breakdown by color with percentage

you could createmany other kinds of pivot tables, using all kinds of data.

Key Pivot Table benefits

Simplicity.

Basic pivot tables are very simple to set up and customize.

Pivot table fields pane - sales by color with percentage

There is no need to learn complicated formulas.

you’re able to create a good-looking, useful report with a pivot table in minutes.

Unlike formulas, pivot tables don’t lock you into a particular view of your data.

Right click a date and select group

you’ve got the option to quickly rearrange the pivot table to suit your needs.

you’re free to evenclone a pivot tableand build a separate view.

In fact, a pivot table will often highlight problems in the data faster than any other tool.

Date grouping settings - group by Years only

A Pivot table can apply automatically apply consistent number and style formatting, even as data changes.

Pivot tables are designed for ongoing updates.

Pivot tables contain several tools for filtering data.

Two-way pivot table - sales by color and year

Need to look at North America and Asia, but exclude Europe?

A pivot table makes it simple.

once you nail a pivot table, you’ve got the option to easilycreate a pivot chart.

Pivot table fields pane - sales by color and by year

More pivot table resources

Two-way pivot table - sales by color and region

Two-way pivot table - sales by region and color

Sample sales data already in an Excel Table

Click the button at Insert > Pivot Table

New empty pivot table staring at cell H4

Breakdown by color

Currency number format with zero decimal places

Pivot table with Currency format applied

Right-click and select Sort > Largest to smallest

Breakdown by color, top selling colors first

To update data, right-click and choose “Refresh”

Pivot table after data refresh

Breakdown by color with Sales and Units

Right-click select Show values as > percent of total

Pivot table - breakdown by color with percentage

Right click a date and select group

Two-way pivot table - sales by color and year

Two-way pivot table - sales by color and region

Two-way pivot table - sales by region and color