how to add subtotals in pivot table

How to Add Subtotals in Pivot Tables

By Richard Clark
AD

When working with Excel pivot tables, you might find that you need to break down your data into more manageable sections. This is where subtotals come in. They allow you to aggregate data in a way that's easy to understand and analyze. Here's a step-by-step guide on how to add subtotals to your pivot tables.

Before we dive in, let's ensure we're on the same page. Pivot tables are a powerful Excel tool that can summarize, analyze, explore, and present large amounts of data. They allow you to easily summarize, arrange, and display large amounts of data in an organized manner. Subtotals, on the other hand, group the data in a specific field and provide a summary of that group.

Understanding Subtotals

Adding subtotals to your pivot table can help you analyze your data more effectively. They allow you to drill down into your data, quickly identify patterns or trends, and make more informed decisions. But how exactly do subtotals work?

AD
How to create a pivot table in Excel
How to create a pivot table in Excel
Excel Pivot Table โ€“ Easy Guide for Beginners
Excel Pivot Table โ€“ Easy Guide for Beginners
Learn Pivot Tables in 15 Minutes | Excel Tutorial for Beginners
Learn Pivot Tables in 15 Minutes | Excel Tutorial for Beginners

Subtotals can be added to rows or columns, depending on the layout of your pivot table. When you add subtotals to a column, Excel groups the data into category groups and displays a summary at the top of each group. Similarly, adding subtotals to a row groups the data into column categories and displays a summary at the bottom of each group.

Adding Subtotals to Rows

To add subtotals to the row labels in your pivot table, follow these steps:

Pivot Table in 5 Minutes
Pivot Table in 5 Minutes
Pivot Table Made Easy: A Beginnerโ€™s Guide
Pivot Table Made Easy: A Beginnerโ€™s Guide
Running Totals in Pivot Table โ€“ Track Cumulative Data Easily
Running Totals in Pivot Table โ€“ Track Cumulative Data Easily

1. Click anywhere in the row labels (the placeholder text should read 'Row Labels' or 'Column Labels').

2. Go to the 'PivotTable Analyze' or 'Options' tab in the ribbon (the tab name may vary depending on your Excel version).

AD

3. Click 'Show Detail' in the 'Display' or 'Options' group.

the pivot tables training poster is shown in blue and green, with instructions on how to
the pivot tables training poster is shown in blue and green, with instructions on how to
Pivot Tables in Excel
Pivot Tables in Excel
Pivot Tables for Beginners | Learn Excel Data Analysis Easily
Pivot Tables for Beginners | Learn Excel Data Analysis Easily
50 Things You Can Do With Excel Pivot Table | MyExcelOnline
50 Things You Can Do With Excel Pivot Table | MyExcelOnline
a computer screen with the words pivot tables in green and white on top of it
a computer screen with the words pivot tables in green and white on top of it
the pivot tables basics poster is shown in green and white, with text on it
the pivot tables basics poster is shown in green and white, with text on it

4. Select 'Subtotal' in the list. Excel will automatically add subtotal placeholders to your pivot table.

Adding Subtotals to Columns

Adding subtotals to the column labels in your pivot table is similar:

AD

1. Click anywhere in the column labels.

Pivot Table Secrets : Repeat Label Items and Tabular Form in Excel #excel #exceltips #exceltutorial
Pivot Table Secrets : Repeat Label Items and Tabular Form in Excel #excel #exceltips #exceltutorial
Pivot table trick you donโ€™t want to miss
Pivot table trick you donโ€™t want to miss
How to create pivot tables in Excel
How to create pivot tables in Excel

2. Go to the 'PivotTable Analyze' or 'Options' tab in the ribbon.

3. Click 'Show Detail' in the 'Display' or 'Options' group.

AD

4. Select 'Subtotal' in the list. Excel will then display subtotals for each column.

Modifying and Removing Subtotals

Once you've added subtotals to your pivot table, you can modify or remove them as needed. Here's how:

1. To modify the formatting or add a unique title to your subtotals, right-click on the summary cell and select 'PivotTable Field Settings'. In the 'Subtotals' section, you can customize the text and formatting.

2. To remove subtotals from your pivot table, simply repeat the steps above and select 'Don't Show Subtotals' in the 'Show Detail' list.

In many cases, subtotals provide just the right level of detail for your analysis. However, if you find that subtotals aren't providing the results you need, you might want to consider exploring other Excel tools and features, such as calculated fields or items, or even creating a new pivot table with a different layout.

Adding subtotals to your pivot table is just one of many ways to customize your data analysis in Excel. Keep exploring and experimenting with the available tools and features to find what works best for your needs. Happy analyzing!

AD