Skip to main content

Kutools for Office — One Suite. Five Tools. Get More Done.

 How to display grand total at top in pivot table?

Author Xiaoyang Last modified

As we all know, the grand total row is at the bottom of the pivot table in default, but sometimes, in order to view the grand total quickly and easily, you need to put the grand total row at the top of the pivot table. In Excel, there is no direct way for you to change the position of the grand total, but here, I will talk about an interesting trick for solving this problem.

Display grand total at top in pivot table


arrow blue right bubble Display grand total at top in pivot table

To show the grand total row at the top of the pivot table, you need to add a new field to the pivot table and let it act as the grand total, and then display it at the top. Please do with the following operations step by step:

Step1: Create a fake Grand Total field

1. In your source data range, please add a new column among them, and name the column heading as “GT”, and then enter “Grand Total” into this new column, see screenshot:

 create a fake Grand Total in a new column

2. Then refresh your pivot table by right clicking the pivot table and choose Refresh, and the new field has been inserted into the Choose fields to add to report list box, and then drag the new field GT into the Row Labels box, and put it at the top of other row labels, see screenshot:

drag the new field GT into Row Labels box

Tip: Refreshing the pivot table to add the new column, you can also click the pivot table and click Options tab or Analyze tab > Change Data Source > Change Data Source, and to select the new range including the new column you add in step1, now the GT column is added into PivotTable Field List.

3. After dragging the new field to the Row Labels, you will get the Grand Total row at the top of the pivot table.

a Grand Total row is shown at the top of the pivot table

Step2: Show the amount of the grand total

4. In the step 3, we can only display the Grand Total, but don’t have the amount data. So we need to change the settings to show the amount at the top. Please click any one cell in your pivot table, and then click Design > Subtotals > Show all Subtotals at Top Group, see screenshot:

click Show all Subtotals at Top Group

5. And the amount of the grand total has been displayed as following screenshot shown:

the amount of the grand total is displayed

Step 3: Hide the original Grand Total row

After adding the grand total at the top of the pivot table, next, you need to hide the default grand total at the bottom.

6. Click any one cell of the pivot table, and then click Design > Grand Totals > On for Rows Only, see screenshot:

click On for Rows Only to hide the grand total row

7. And the grand total row at the bottom is hidden at once.


Related articles:

How to create clickable hyperlinks in pivot table?

How to repeat row labels for group in pivot table?

How to filter top 10 items in pivot table?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

Excel Word Outlook Tabs PowerPoint
  • All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license — set up in minutes (MSI-ready)
  • Works better together — streamlined productivity across Office apps
  • 30-day full-featured trial — no registration, no credit card
  • Best value — save vs buying individual add-in