Pinterest Pixel

Sort Largest to Smallest Grand Totals With Excel Pivot Tables

Bryan
When working with data in a Pivot table, you may want to know the best-performing products, customers, or regions.
This can easily be done by sorting the values from largest to smallest.

In this article, you will learn how to sort the largest to smallest grand totals with Excel Pivot tables.

When working with data in a Pivot table, you may want to know the best-performing products, customers, or regions. This can easily be done by sorting the values from largest to smallest. In this article, you will learn how to sort the largest to smallest grand totals with Excel Pivot tables.

Key Takeaways

  • Sorting Grand Totals helps you quickly find the highest values.
  • You can sort a Pivot Table using the right-click menu.
  • Grand Totals must be enabled before you can sort them.
  • Refreshing the Pivot Table may require you to reapply the sort.
  • Sorting makes your reports easier to read and analyze.

 

How to Sort Largest to Smallest Grand Totals With Excel Pivot Tables

Step by Step Guide

STEP 1: Select any cell in the data table.

Show The Percent of Grand Total With Excel Pivot Tables

STEP 2: Insert a new Pivot table by clicking on your data and going to Insert > Pivot Table.

Show The Percent of Grand Total With Excel Pivot Tables

STEP 3: In the Create PivotTable dialog box, select the table range and New Worksheet, and then click OK.

Show The Percent of Grand Total With Excel Pivot Tables

STEP 4: In the ROWS section put in the Sales Month field, in the COLUMNS put in the Financial Year field and in the VALUES area you need to put in the Sales field:

Sort Largest to Smallest Grand Totals With Excel Pivot Tables

STEP 5: Right-click on a Grand Total below at the bottom of the Pivot Table. Go to  Sort > Sort Largest to Smallest

Sort Largest to Smallest Grand Totals With Excel Pivot Tables

Grand total not visible

If you cannot see the Grand Totals,

  • Click in your Pivot Table
  • Go to the ribbon menu
  • Select PivotTable Tools > Grand Totals > On for Rows and Columns

Sort Largest to Smallest Grand Totals With Excel Pivot Tables

The data will be sorted in descending order.

Sort Largest to Smallest Grand Totals With Excel Pivot Tables

 

Overcoming Technical Glitches

Pivot Table not Sorting on Refresh

Sometimes, after refreshing the Pivot the new data may appear at the end instead of being in the correct sorted position. This happens because Excel does not always reapply the sort automatically after a refresh. To fix it, you need to sort the Pivot table again.

Row and Column Label Sorting

If your Pivot Table is not sorting rows or columns correctly, check that you are sorting the correct field.

When a Pivot Table contains multiple fields, Excel may sort by a different field than expected. Click a value in the field you want to sort, then choose Sort A to Z, Sort Z to A, Sort Largest to Smallest, or Sort Smallest to Largest.

Also, make sure manual sorting is not enabled. If needed, turn it off and apply the sort again. This usually fixes most sorting problems in Pivot Tables.

Sort Option is Grayed Out

If the Sort option is unavailable, check whether the Pivot Table is protected or in edit mode. Also, make sure you have selected a value inside the Pivot Table rather than a blank cell.

Numbers Stored as Text

If your source data contains numbers stored as text, Excel may not sort the values correctly. Convert the text values to numbers, refresh the Pivot Table, and sort again.

Blank Values in Data

Blank or empty values usually appear at the bottom of the sorted list. Fill in missing values or filter out blanks before creating or refreshing the Pivot Table.

 

FAQs

1. How do I sort Grand Totals from largest to smallest in a Pivot Table?

Right-click a Grand Total value and choose Sort > Sort Largest to Smallest.

2. Why can’t I see the Grand Total column or row?

Turn on Grand Totals from PivotTable Design > Grand Totals > On for Rows and Columns.

3. Why did my Pivot Table lose its sort after refreshing?

Excel may not always keep the sort order after a refresh. Simply apply the sort again.

4. Can I sort both row and column Grand Totals?

Yes. You can sort row and column Grand Totals independently.

5. Does sorting a Pivot Table change the source data?

No. Sorting only changes how the Pivot Table displays the summarized data.

If you like this Excel tip, please share it




Bryan

Bryan Hong is an IT Software Developer for more than 10 years and has the following certifications: Microsoft Certified Professional Developer (MCPD): Web Developer, Microsoft Certified Technology Specialist (MCTS): Windows Applications, Microsoft Certified Systems Engineer (MCSE) and Microsoft Certified Systems Administrator (MCSA).

He is also an Amazon #1 bestselling author of 4 Microsoft Excel books and a teacher of Microsoft Excel & Office at the MyExecelOnline Academy Online Course.

See also  Multi-Select Slicer Items In Microsoft Excel Pivot Tables

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...