Pivot Table Issues

How to Sort Excel 365 PivotTable Values from Largest to Smallest

Steven ParkerSteven Parker Oct 21, 2026 869 views

Question details

The user needs to sort values within an Excel 365 PivotTable in descending order and understand how the row field hierarchy affects the sorting outcome.

How to Sort Excel 365 PivotTable Values from Largest to Smallest
Product
Excel 365
Device & OS
not provided
Scenario
Organizing PivotTable data to display the highest numerical values first for better data analysis.
Observed behavior
The values sort descendingly, but only within the parent group defined by the row fields to their left, which preserves the grouping hierarchy.
Before you start

Ensure your PivotTable data source is up to date by clicking 'Refresh' on the PivotTable Analyze tab before applying new sorting rules.

Solution 1Recommended

Use the Context Menu to Sort Values

The quickest method to sort your PivotTable values is by using the right-click context menu directly on the data.

Excel PivotTables sort a row field only within the hierarchy of row fields positioned to its left. This specific behavior preserves the underlying relationship between parent and child row fields.

1
Select a value

Click on any numeric value inside the target value column of your PivotTable.

2
Open context menu

Right-click the selected value to open the quick actions menu.

3
Apply sorting

Hover over 'Sort' in the menu, then select 'Sort Largest to Smallest'.

Use the Context Menu to Sort Values
Hierarchy Limitation: If sorting appears to have no effect, check the row-field hierarchy. A field can only be sorted within the parent group defined by row fields to its left.
Efficient Data Analysis

Sort PivotTable Data Easily with WPS Spreadsheet

WPS Spreadsheet offers powerful, highly compatible PivotTable tools. You can effortlessly organize, sort, and analyze complex datasets with an intuitive interface identical to Microsoft Excel.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the .xlsx file containing your PivotTable.
  2. 2. Select the target value: Locate the PivotTable sheet and right-click on any numeric cell within the column you want to sort.
  3. 3. Choose Sort option: From the pop-up menu, navigate to 'Sort'.
  4. 4. Apply Descending order: Click on 'Descending' to instantly sort your data from largest to smallest within its respective hierarchy.
Fully compatible with Microsoft Excel (.xlsx) PivotTable formatsIntuitive right-click sorting and filtering capabilitiesLightweight, fast, and completely free to use for daily tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why is my PivotTable not sorting correctly from largest to smallest?

PivotTables inherently sort row fields only within the hierarchy of row fields to their left. If the sorting seems ineffective, the values are likely locked within a parent group, and Excel is sorting the items only inside each specific subgroup.

Can I sort a PivotTable by a specific column if I have multiple value columns?

Yes. To sort by a specific column, right-click any single cell inside that specific value column, choose 'Sort', and select 'Sort Largest to Smallest'.

How do I sort the parent row labels instead of the numerical values?

Click the drop-down arrow next to the 'Row Labels' header in your PivotTable, choose 'More Sort Options', select 'Descending', and then pick the specific row field name you want to sort by.