Organize and Find Data With Excel Pivot Tables

Businessman using a laptop while looking at some printouts

Marnie Burkhart / Getty Images

Pivot tables in Excel are a versatile reporting tool that makes it easy to extract information from large tables of data without the use of formulas. Pivot tables are extremely user-friendly. They move, or pivot, fields of data from one location to another so that data can be looked at in a number of different ways.

The instructions in this article apply to Excel 2019, 2016, 2013, 2010; and Excel for Mac.

Enter the Pivot Table Data

The first step in creating a pivot table is to enter the data into the worksheet. To follow along with this tutorial, enter the data shown in the image below.

Excel showing example data table

Keep the following points in mind:

  • At least three columns of data are needed to create a pivot table.
  • It is important to enter the data correctly. Errors caused by incorrect data entry are the source of many problems related to data management.
  • Leave no blank rows or columns when entering the data. This includes not leaving a blank row between the column headings and the first row of data.

Create the Pivot Table

Follow these steps to create a pivot table using the tutorial data:

  1. Highlight cells A2 to D12.

  2. Select Insert.

  3. In the Tables group, select PivotTable to open the Create PivotTable dialog box.

  4. Choose Existing Worksheet for the location of the pivot table.

  5. Place the cursor in the Location text box.

  6. Select cell D15 in the worksheet to enter that cell reference into the location line.

    Showing how to create a pivot table in Excel
  7. Select OK.

A blank pivot table appears on the worksheet with the top left corner of the pivot table in cell D15. The PivotTable Fields panel opens on the right side of the Excel window.

Showing the blank pivot table and PivotTable Fields pane in Excel

At the top of the PivotTable Fields panel are the field names (column headings) from the data table. The data areas at the bottom of the panel are linked to the pivot table.

Add Data to the Pivot Table

The data areas in the PivotTable Fields panel are linked to corresponding areas of the pivot table. As you add the field names to the data areas, data is added to the pivot table. Depending on which fields are placed in which data area, different results are obtained.

You have two choices when it comes to adding data to the pivot table:

  • Drag the field names from the PivotTable Fields panel and drop them on the pivot table in the worksheet.
  • Drag the field names to the bottom of the PivotTable Fields panel and drop them in the data areas.

Drag the following field names to the noted data areas:

  • Total Sales to the Filters area.
  • Region to the Columns area.
  • Sales Rep to the Rows area.
  • Orders to the Values area.
Showing how to add fields to a pivot table using the PivotTable Fields pane in Excel
Screenshot 

Filter the Pivot Table Data

The pivot table has built-in filtering tools that fine-tune the results shown in the pivot table. Filtering data involves using specific criteria to limit what data is displayed by the pivot table.

  1. Select the Column Labels down arrow in the pivot table to open the filter's drop-down list.

  2. Remove the check mark next to Select All to remove the check mark from all the boxes in the list.

  3. Place a check mark next to West and North.

    Showing how to filter pivot table data in Excel
     
  4. Select OK.

The pivot table shows the order totals for the sales reps that work in the West and North regions.

Showing filtered data in a pivot table in Excel

Change the Pivot Table Data

To change the results shown in the pivot table:

  1. Rearrange the pivot table by dragging the data fields from one data area to another in the PivotTable Fields panel.

    Excel showing how to change pivot table arrangement

    If you closed the PivotTable Fields pane, select any cell in the pivot table and select Analyze > Field List.

  2. Apply filtering to get the desired results.

Was this page helpful?