A PivotTable is a powerful data analysis tool in Microsoft Excel. It allows users to quickly summarize, organize, and gain insights from large datasets. By transforming raw data into a more meaningful and compact format, PivotTables enable efficient analysis without the need for complex formulas or manual data manipulation. They are especially useful when dealing with extensive datasets, providing a user-friendly way to extract valuable information and identify trends, patterns, and outliers. If you’ve mastered the basics of PivotTables, exploring advanced techniques can further enhance your data analysis capabilities.
The below large dataset will be used to create a PivotTable.
Remember, PivotTables are incredibly versatile and can help you gain valuable insights from your data.
Using advanced techniques in Excel Pivot Tables can significantly enhance your data analysis capabilities, making your work more efficient and insightful. Let’s explore the advantages:
Did you know that you can tailor the number format within a PivotTable? It’s a handy feature! Here’s how you can do it:
You’ll see that the number format has been updated.
Sorting items in a PivotTable is essential for better analysis. Follow these steps:
Your table will now be sorted based on the sum of the Gross Revenue column.
Sometimes, you may want to sort PivotTable items according to your own order. Here’s how:
The items in the Row Labels column will be custom-sorted according to your preference.
Creating a calculated field is an advanced feature in Excel’s PivotTable. It’s a clever technique that allows you to compute various parameters without writing complex formulas. Here’s how you can create or remove a calculated field:
Now you can manage your calculated fields efficiently!
You can easily compute the difference between two columns in a PivotTable without writing any formulas. Follow these quick steps:
Now let’s determine the Total Reviews as a percentage of the grand total. Follow these steps:
You’ll see that the Sum of Total Reviews is now shown as a percentage of the overall grand total.
The GETPIVOTDATA function retrieves data from a pivot table by referencing specific values within that table. Unlike regular cell references, it directly extracts data from the source data. Suppose you want to reference a cell value from a PivotTable. For example, you want to display the value of cell D7 in cell E7 by simply writing the formula “=D7.” However, after doing this, the GETPIVOTDATA formula still appears in cell E7. The formula looks like this:
=GETPIVOTDATA("Sum of Budget",$B$6,"Genre","Action")Keeping the GETPIVOTDATA formula can be problematic, especially when creating dynamic dashboards. If it remains active, the data won’t update correctly. Here are some difficulties users face when using GETPIVOTDATA:
To avoid these problems, you can turn off the GETPIVOTDATA formula:
Remember that you can always turn it back on by clicking the Generate GetPivotData option again.
Grouping items in a PivotTable allows you to organize and summarize data effectively. Here’s how you can group and ungroup items:
Grouping date fields is useful for analyzing time-based data. Let’s say you have a column called Released Date represented by quarters, but you want to group it by months. Follow these steps:
A report filter allows you to filter data in your PivotTable based on specific criteria. Here’s how you can create one:
Suppose you want to filter the top or bottom items based on the sum of gross revenue in your PivotTable.
Follow these steps:
When you update or add any value, the source data of the PivotTable changes. To reflect these changes, you need to refresh the table. Let’s say the sum of duration for the genre Crime in your PivotTable is currently 29558. If you make changes to any value under this genre, the PivotTable needs to be updated.
In your dataset, you can see that the sum of duration for the Action movie is 101711. If you insert new data into the source data of the Action movie, the PivotTable should be updated accordingly.
Follow these steps:
To resolve this issue, follow these additional steps:
Value updated after changing source data" width="498" height="514" />
In a PivotTable, subtotals are typically shown. However, there are situations where you might need to hide these subtotals. Follow these steps:
Sometimes, to reduce file size, you may need to delete the source data of a PivotTable. Fortunately, deleting the source data won’t affect the table itself. Here’s how to do it:
Drilling down in a PivotTable is a useful feature to show detailed information from a summarized table. Follow these steps:
In a PivotTable, adjusting column widths according to your needs is common. However, after refreshing the table, the column widths automatically adjust to autofit the content. Unfortunately, this can sometimes affect the overall appearance of your table. To prevent this:
In a PivotTable, some items may have no data associated with them. By default, the PivotTable hides the field names for these data-less items. However, you can display them using the following steps:
In a PivotTable, you can replace any blank cell with a value. If you want to provide additional information about these blank cells, follow this technique:
You can enhance your PivotTable by adding data bars. These bars provide a visual representation of data and make the table more attractive and easier to understand. Follow these steps:
Adding a Pivot Chart to your PivotTable can enhance the readability of your worksheet. Follow these steps to create a Pivot Chart from a Pivot Table:
Suppose you have a dataset with two types of movies: Black and White and Color. You want to create separate PivotTables for each movie type. Here’s how you can do it:
Using keyboard shortcuts in Excel is always helpful. Here are some PivotTable-related keyboard shortcuts that can save you time and effort:
Keyboard Shortcut | What it Does |
---|---|
Alt + N + V | Inserts a PivotTable |
Alt + N + V + T + Enter | Opens PivotTable from table or range dialog box |
Alt + D + P | Opens the Old PivotTable Wizard |
Alt + Shift + Right Arrow Key | Groups the selected items of PivotTable |
Alt + Shift + Left Arrow Key | Ungroups the selected items of PivotTable |
Ctrl + Minus (-) | Hides items from the PivotTable |
Alt + J + T + L | Hides the Field List |
Ctrl + Shift + = | Creates a Calculated Field |
Ctrl + A | Selects the entire PivotTable |
F11 | Inserts Pivot Chart to New Worksheet |
Alt + F1 | Inserts Pivot Chart to Current Worksheet |
Space bar | Toggles checkboxes in Fields List |
1. What’s the differences between a pivot table and a pivot chart?
2. Are there any limitations to advanced pivot tables?
While advanced Pivot Tables are powerful, they may face limitations:
You can download the practice workbook from here: