
Pivot Tables are the most useful tool for creating Excel reports and dashboards, allowing users to efficiently summarize, filter, analyze, and present large datasets. PivotAnalyze tab features, commands, and options enable quick and dynamic insights of large dataset. This post will show you the basic operations to advanced techniques to master pivot tables in Excel.
What is a Pivot Table?
A Pivot Table is a tool that represents data in an organized way that helps to summarize the large dataset and gives useful and required insights without changing the actual data. It allows users to calculate, group data, and analyze trends. Pivot Table summarizes the data into a new table format for easy analysis. It offers various built-in features to summarize and calculate data.
Basic Techniques of Pivot Tables
Creating Pivot Table to Summarize Data
Consider that you have a dataset containing sales information and want to summarize the total sales by product. Let us show you the use of Pivot Tables to do so.
Steps:
- Select the cell range of your data >> go to the Insert tab >> from PivotTable >> select From Table/Range.

- Pivot Table from table or range dialog box will pop up,
-
- Select the location to place the Pivot Table. We selected cell G1.
- You can select a New or Existing worksheet.

- Now, drag the Product to Rows and Sales Amount to Values. All products’ total sales amount is summarized in the Pivot Table.

You can drag and drop fields into the Rows, Columns, Values, and Filters areas as per your choice and requirements to get the summarized report.
Intermediate Techniques of Pivot Tables
Using Slicers to Filter Data
Pivot Tables slicers provide a user-friendly interface to filter data. Let’s insert a Slicer.
Steps:
- Click on the Pivot Table >> go to the PivotTable Analyze tab >> select Insert Slicer.
- From Slicer, choose the fields you want to filter by Product and click OK.

- Now, you can select any product to filter out the total sales amount of a specific product.

Using Calculated Fields to Perform Custom Calculations
If you want to perform any calculations, you can use the calculated fields option. Suppose you want to calculate a 10% commission on sales. You can create calculated fields for sales commission to add custom calculations to your Pivot Table.
Steps:
- Click on the Pivot Table >> go to the PivotTable Analyze tab >> select Fields, Items, & Sets >> then choose Calculated Field.

- Insert Calculated Field dialog box will pop up;
- Enter a name as Sales Commission.
- Insert the Formula: =Sales Amount * 0.1
- Click on Add >> select OK.

- Now, you will get a new column for the Sales Commission.

Advanced Techniques of Pivot Tables
Grouping Data
You can Group data in a Pivot Table based on dates, numbers, or text for better analysis. Like, if you want to get the sales report hourly, daily, monthly quarterly, or based on the number of dates. The Group feature of the Pivot Table will help to do so.
Steps:
- Right-click on any value in the Rows area >> select Group.

- Grouping dialog box will pop up;
- Select any type of your choice.
- You can select Quarters to get the quarterly report of sales.

Using the GETPIVOTDATA Function
You also can use the GETPIVOTDATA function to extract specific data from a Pivot Table. GETPIVOTDATA is an advanced function that extracts specific data from a Pivot Table. It’s especially useful when you need to refer specific values from a Pivot Table in another area of your worksheet.
Syntax:
=GETPIVOTDATA(data_field, pivot_table, [field1, item1, field2, item2], …)
Let’s show you the use of the GETPIVOTDATA function to extract total laptop sales from the Pivot Table. Insert the following formula in cell I2.
Formula:
=GETPIVOTDATA(“Sales Amount”,G2, “Product”,”Laptop”)

Tips and Tricks
- Keep your data clean and in a table format for easier Pivot Table creation.
- After changing the original dataset, remember to refresh your Pivot Table by right-clicking and selecting Refresh.
- If data isn’t appearing as expected, check for empty rows or columns in your original dataset.
Conclusion
Pivot Tables in Excel are an essential tool for data analysis, it offers basic to advanced functionalities. Its user-friendly interface allows users to effortlessly generate specific summaries or reports from large datasets by simply dragging and dropping fields into designated areas, providing quick insights in just a few clicks. Pivot Table provides robust options for data manipulation and analysis. This article will help you to master Pivot Tables that will build your ability to derive insights from data, whether you are a beginner or an experienced user.
