Creating PivotTables

Use pivot tables in Excel for stronger data analysis. This Excel pivot table tutorial also helps you summarize data.

Pivoting data

One of the best things about a PivotTable is that it lets you pivot the data in order to look at it in a different way. This allows you to answer multiple questions and even experiment with the data to learn new things about it.

In our example, we used the PivotTable to answer the question What is the total amount sold by each salesperson? Now we'd like to answer a new question, What is the total amount sold in each month? We can do this by changing the row labels.

To change row labels:

  1. Drag any existing fields out of the Row Labels area, and they will disappear.
    Dragging a field out of Row LabelsDragging a field out of Row Labels
  2. Drag a new field from the PivotTable Field List into the Row Labels area. In this example, we'll use the Month field.
    Dragging a new field into Row LabelsDragging a new field into Row Labels
  3. The PivotTable will adjust to show the new data. In this example, it now shows us the total Order Amount for each month.
    The updated PivotTableThe updated PivotTable

To add column labels:

So far, our PivotTable has only shown one column of data at a time. To show multiple columns, we'll need to add column labels.

  1. Drag a field from the PivotTable Field List into the Column Labels area. In this example, we'll use the Region field.
    Adding a field to Column LabelsAdding a field to Column Labels
  2. The PivotTable will now have multiple columns. In this example, there is a column for each region.
    The updated PivotTableThe updated PivotTable