Skip to main content

 How to display grand total at top in pivot table?

Author: Xiaoyang Last Modified: 2014-08-28

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:


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:


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.


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:


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


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:


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

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!
Comments (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
thank you very much. perfect trick ....
This comment was minimized by the moderator on the site
Tried to add both Row and Column grand totals at the top/left and this didn't work with one helper column. It seems a PivotTable Field may only be in a row or a column, not both simultaneously. May try again with two columns in the original data source, something like GT1 and GT2. That should fix it, but I haven't tried it yet.
This comment was minimized by the moderator on the site
Super, ale przy tym jest jeden ważny problem który powstaje
Przy takiej edycji pozbawiamy się możliwości filtrowania danych po kolumnie.
mamy wtedy do wyboru tylko "Grand total" a nie jak poprzednio całość kolumny.

Czy to można jakość obejść ?
This comment was minimized by the moderator on the site
Parabéns , arrasou
This comment was minimized by the moderator on the site
How this will work if I have multiple fields in Row Lebels?
There are no comments posted here yet
Load More
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations