Applies ToExcel for Microsoft 365 Excel for Microsoft 365 for Mac Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016

When you create a PivotTable that shows value amounts, subtotals and grand totals appear automatically, but you can also show or hide them.

PivotTable Grand Totals and Subtotals

Show or hide subtotals

  1. Click anywhere in the PivotTable to show the PivotTable Tools.

    PivotTable_Tools

  2. Click Design > Subtotals.

    PivotTable_Subtotals

  3. Pick the option you want:

    • Do Not Show Subtotals

    • Show all Subtotals at Bottom of Group

    • Show all Subtotals at Top of Group

      Tips: 

      • To include filtered items in the total amounts:

        • Click Include Filtered Items in Totals.

        • Click this option again to turn it off.

      • You’ll find additional options for totals and filtered items by following these steps:

        • Go in the PivotTable Options dialog box.

        • Select the Totals & Filters tab.

        • Click on Analyze, and then Options.

Show or hide grand totals

  1. Click anywhere in the PivotTable to show the PivotTable Tools on the ribbon.

    PivotTable Tools

  2. Click Design > Grand Totals.

PivotTable_GrandTotals

3. Pick the option you want:

  • Off for Rows and Columns

  • On for Rows and Columns

  • On for Rows only

  • On for Columns only

Tip: If you don’t want to show grand totals for rows or columns, uncheck the Show grand totals for rows or Show grand totals for columns boxes on the Totals & Filters tab in the PivotTable Options dialog box (Analyze> Options).

When you create a PivotTable that shows value amounts, subtotals and grand totals appear automatically, but you can also show or hide them.

Example PivotTable showing subtotals and grand totals

Tip: Row grand totals are only displayed if your data just has one column, because a grand total for a group of columns often doesn't make sense (for example, if one column contains quantities and one column contains prices). If you want to display a grand total of data from several columns, create a calculated column in your source data, and display that column in your PivotTable.

Show or hide subtotals

To show or hide subtotals:

  1. Click anywhere in the PivotTable to show the PivotTable Analyze and Design tabs.

    PivotTable Analyze and Design tabs

  2. Click Design > Subtotals.

    On the Design tab, select Subtotals or Grand Totals

  3. Pick the option you want:

    • Don't Show Subtotals

    • Show All Subtotals at Bottom of Group

    • Show All Subtotals at Top of Group

      Tip: You can include filtered items in the total amounts by clicking Include Filtered Items in Totals. Click this option again to turn it off.

Show or hide grand totals

  1. Click anywhere in the PivotTable to show the PivotTable Analyze and Design tabs.

    PivotTable Analyze and Design tabs

  2. Click Design > Grand Totals.

    On the Design tab, select Subtotals or Grand Totals

  3. Pick the option you want:

    • Off for Rows & Columns

    • On for Rows & Columns

    • On for Rows Only

    • On for Columns Only

PivotTable on iPad is available to customers running Excel on iPad version 2.82.205.0 and above. To access this feature, please ensure your app is updated to the latest version through the App Store.

When you create a PivotTable that shows value amounts, subtotals and grand totals appear automatically, but you can also show or hide them. 

Grand totals shown on a PivotTable.

Tip: Row grand totals are only displayed if your data just has one column, because a grand total for a group of columns often doesn't make sense (for example, if one column contains quantities and one column contains prices). If you want to display a grand total of data from several columns, create a calculated column in your source data, and display that column in your PivotTable.

Show or hide subtotals

  1. Tap anywhere in the PivotTable to show to the PivotTable tab on the ribbon.

Layout button on the ribbon.

2.   Tap Layout Options.

PivotTable layout dropdown on iPad.

3.   Tap Subtotals and pick the option you want: 

  • Don't Show Subtotals 

  • Show All Subtotals at Bottom of Group 

  • Show All Subtotals at Top of Group 

Show or hide grand totals

  1. Tap anywhere in the PivotTable to show to the PivotTable tab on the ribbon.

Layout button on the ribbon.

2.   Tap Layout Options.

PivotTable layout dropdown on iPad.

3.   Tap Grand Totals and pick the option you want: 

  • Rows

  • Columns

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.

See Also

Create a PivotTable to analyze worksheet data

Create a PivotTable to analyze external data

Create a PivotTable to analyze data in multiple tables

Filter data in a PivotTable

Calculate a percentage for subtotals in a PivotTable

Sum values in a PivotTable

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.