In Excel: right-click a number in the value column you want to order by and choose Sort ▸ Sort Largest to Smallest (or Smallest to Largest); to order the item labels instead, click the Row Labels arrow and choose Sort A to Z.
On this page7
Click a number in the Values column you want to order by.
Right-click it and choose Sort ▸ Sort Largest to Smallest or Sort Smallest to Largest.
To order by label instead, click the arrow on Row Labels (or Column Labels) and choose Sort A to Z or Sort Z to A.
For a specific field and direction, use the arrow ▸ More Sort Options and pick the value field under Ascending or Descending.
After refreshing the PivotTable, check that the order is still the one you expect.
What this does
Sorting a PivotTable reorders the items of one field inside the existing report; it does not rebuild the PivotTable or change its source data. Items can be ordered by their labels or by a value field such as Sum of Sales. With two fields in Rows, a sort by value works inside each group: products are ordered within each region, not across the whole report. The sort belongs to the field, and More Sort Options ▸ More Options decides whether it is reapplied automatically every time the report is updated. Before you run it on a workbook other people depend on, try it on a copy or a few rows first. Undo only reaches back through the current session, so a quick trial run is the cheapest way to see exactly what will change before the file is saved and shared. Treat “excel pivot table sort values” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected pivot table shows up while it is still harmless. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That turns a data step that keeps your analysis trustworthy into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
A PivotTable has Product in Rows and Sum of Sales in Values: Bolts 1,200, Nuts 3,400 and Washers 800. Right-click 3,400 and choose Sort ▸ Sort Largest to Smallest, and the rows read Nuts 3,400, Bolts 1,200, Washers 800. Choosing Row Labels ▸ Sort A to Z instead gives Bolts, Nuts, Washers, regardless of sales. A report is read from the top, so the order decides what readers see first — the largest customers, the slowest products, the latest periods. Sorting inside the PivotTable keeps that order with the report. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Treat “excel pivot table sort values” as a routine rather than a one-off. Once you know which setting or command controls it, the same few steps handle every workbook where it comes up in Excel, and you can explain them to a colleague in a sentence.
Common mistakes
- Sorting the source table and expecting the PivotTable to follow — the report keeps its own order.
- Expecting a sort by value to reorder items across groups when an outer field is also in Rows; it sorts inside each group.
- Right-clicking a number in the wrong value column when several value fields are shown.
- Arranging items by hand and then applying a sort, which replaces the manual order.
Frequently asked questions
How do I sort by a value instead of alphabetically?
Right-click a number in that value column and choose Sort ▸ Sort Largest to Smallest, or use Row Labels ▸ More Sort Options ▸ Descending (Z to A) by and pick the value field.
Why does the order change after Refresh?
Open Row Labels ▸ More Sort Options ▸ More Options and tick Sort automatically every time the report is updated, so the chosen order is reapplied.
Can I sort month names in calendar order?
Yes, when PivotTable Options ▸ Totals & Filters ▸ Use Custom Lists when sorting is on; otherwise use real dates grouped by month.
Other ways people ask this
This is also commonly searched as “excel sort values in pivot table”, “sort values in excel pivot table” and “excel sort pivot table values”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “excel sort values in pivot table”, “sort values in excel pivot table”, “excel sort pivot table values” all point at the one operation explained on this page, which is why they all lead here.