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.

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:

Highlight cells A2 to D12. Select Insert. In the Tables group, select PivotTable to open the Create PivotTable dialog box. Choose Existing Worksheet for the location of the pivot table. Place the cursor in the Location text box. Select cell D15 in the worksheet to enter that cell reference into the location line. 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.

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.

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.

Select the Column Labels down arrow in the pivot table to open the filter’s drop-down list. Remove the check mark next to Select All to remove the check mark from all the boxes in the list. Place a check mark next to West and North.   Select OK.

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

Change the Pivot Table Data

To change the results shown in the pivot table:

Rearrange the pivot table by dragging the data fields from one data area to another in the PivotTable Fields panel. If you closed the PivotTable Fields pane, select any cell in the pivot table and select Analyze > Field List. Apply filtering to get the desired results.