How to Create Pivot Table Report in Excel (with Easy Steps)

Although the primary task of a pivot table is to offer different setups for analyzing data effectively, it can also create reports such as the one below, including a chart.

overview image to create pivot table report on sales info

We’ll create a pivot table and report using the dataset below, which contains the sales info of different products in different branches in different states.

sample dataset contains product-wise sales info

We have used the Microsoft Excel 365 version here. If any of the steps don’t work in your version, please leave a comment below to let us know.


Step 1 – Specifying Data Range

click on pivot table to insert

  • Select the entire dataset.
  • Go to the Insert tab.
  • Click on PivotTable from the Tables group.

choose a place to insert pivot table

The PivotTable from table or range dialog box opens. Our data range is automatically detected and placed in the Table/Range box.

  • In the Choose where you want the PivotTable to be placed section, select New Worksheet.
  • Click OK.

This will place our PivotTable in a new worksheet.


Step 2 – Creating the Pivot Table Layout

drag fields in pivot table pane

  • In the PivotTable Fields task pane, drag Branch into the Rows area and Product into the Columns area.
  • Move the Total Sales field into the Values area.

A simple PivotTable will be created.


Step 3 – Changing the Layout

select Outline Form layout for report

  • Select any cell inside the Pivot Table.
  • Go to the Design tab.
  • In the Layout group, click on the Report Layout drop-down.
  • Click Show in Outline Form from the list.

report output in outline form layout

The headings are magically changed.


Step 4 – Changing Number Format

select number format in context menu

  • To display the sales amounts in currency units, right-click on cell B5 to open the context menu.
  • Select Number Format from the available options.

choose accounting format

  • In the Format Cells dialog box, choose Accounting in the Category section.
  • Select 0 in the Decimal places box.

sales amounts in currency format


Step 5 – Using Filter Options

place state field in filter

Now we can Filter the table according to our preference.

  • Select any cell inside the PivotTable to open the PivotTable Fields task pane.
  • Drag the State field into the Filters area.

select Virginia state

  • To use the Filter, click on the drop-down icon beside State.
  • Check the Select Multiple Items box.
  • Select Virginia only.
  • Click OK.

pivot table report showing virginia state

The sales info of Virginia state only are displayed.

insert slicer

We can also insert Slicers in the report, which will make the report more dynamic and modifiable with just a few clicks.

  • Select any cell inside the table.
  • Go to the PivotTable Analyze tab.
  • Click on Insert Slicer from the Filter group.

choose month and product for slicers

The Insert Slicers dialog box opens.

  • Check the boxes of Month and Product.
  • Click OK.

select Headphone, Keyboard, and Mouse in the product slicer

Two slicers are placed in the worksheet beside the Pivot Table.

In the Product slicer, click on the icon of Multi-Select. Alternatively, press ALT+S.

This enables us to select multiple items at a time.

  • Select Headphone, Keyboard, and Mouse from the list.

Only the selected products are displayed in the pivot table.

Another beneficial tool is the PivotTable Timeline. Use this tool if you have dates in your data.


Step 6 – Showing Report Filter Pages

select show report filter pages for individual report sheets

Suppose we want the filtered reports in separate worksheets. To do this:

  • Go to PivotTable Analyze and click on the PivotTable drop-down.
  • From the drop-down list, select Options >> Show Report Filter Pages.

click ok in dialog box

  • In the Show Report Filter Pages dialog box, click OK.

output of 2 separate worksheets

Two new worksheets named Ohio and Utah are created.


Step 7 – Inserting Pivot Chart

insert pivot chart

  • Go to the PivotTable Analyze tab.
  • Click on the Tools group drop-down.
  • Select PivotChart.

choose 2D clustered column

  • In the Insert Chart dialog box, select Column from the All Charts list.
  • Choose a 2-D Clustered Column from the options.
  • Click OK.

final output of pivot table report


Download Practice Workbook


Related Articles


<< Go Back to How to Create Pivot Table in Excel | Pivot Table in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Kawser Ahmed
Kawser Ahmed

Kawser Ahmed is a Microsoft Excel Expert, Udemy Course Instructor, Data Analyst, Finance professional, and Chief Editor of ExcelDemy. He is the founder and CEO of SOFTEKO (a software and content marketing company). He has a B.Sc in Electrical and Electronics Engineering. As a Udemy instructor, he offers 8 acclaimed Excel courses, one selected for Udemy Business. A devoted MS Excel enthusiast, Kawser has contributed over 200 articles and reviewed thousands more. His expertise extends to Data Analysis,... Read Full Bio

1 Comment

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo