Pivot Table Issues

How to Disable Automatic Sorting in an Excel PivotTable

Maira MehtabMaira Mehtab Oct 26, 2026 868 views

Question details

The user wants to prevent a PivotTable from automatically sorting data when the report is updated, while ensuring manual sorting options remain fully accessible.

How to Disable Automatic Sorting in an Excel PivotTable
Product
Excel
Device & OS
not provided
Scenario
Refreshing or updating data within an active PivotTable where a specific custom order needs to be maintained without automatic resorting.
Observed behavior
The PivotTable automatically resorts the data every time it is refreshed, which overrides the user's preferred custom layout.
Before you start

Ensure you have an active PivotTable created in your worksheet and click any cell inside it to reveal the PivotTable sorting and filtering tools.

Solution 1Recommended

Turn Off Automatic Sorting in PivotTable Options

Access the advanced sort options to disable automatic sorting, which prevents your PivotTable from reordering data upon refresh.

When you manually arrange items in a PivotTable, refreshing the data can sometimes trigger default sorting rules, ruining your custom layout. Disabling the automatic sort setting guarantees that your items stay exactly where you placed them.

1
Access sorting options

Click the drop-down arrow located on the Row Labels or Column Labels header within your PivotTable.

2
Open more sort options

From the drop-down menu, select 'More Sort Options...' to open the Sort dialog box.

3
Navigate to advanced settings

In the lower-left corner of the Sort dialog box, click the 'More Options...' button.

4
Disable automatic sort

Under the AutoSort section, uncheck the box labeled 'Sort automatically every time the report is updated', then click 'OK' to apply your changes.

Turn Off Automatic Sorting in PivotTable Options
Standard Sorting Remains Available: Disabling this setting only stops automatic updates. You can still manually sort your data using standard sort commands at any time. Keep in mind that regular Excel tables do not sort automatically just because AutoFilter is enabled.
Manage Data with WPS Office

Easily Control PivotTable Sorting in WPS Spreadsheet

WPS Spreadsheet provides robust, easy-to-use tools for creating and managing PivotTables, allowing you to maintain full control over your data's sorting and formatting.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your Excel workbook containing the PivotTable.
  2. 2. Access the PivotTable tools: Click anywhere inside the PivotTable to activate the contextual PivotTable tabs on the top ribbon.
  3. 3. Adjust sort settings: Click the filter arrow on your row labels, select 'More Sort Options', and easily turn off automatic sorting to preserve your custom layouts.
Full compatibility with Microsoft Excel (.xlsx) formats and PivotTable structures.Intuitive interface for quickly configuring PivotTable fields and advanced sort options.Lightweight application that processes complex datasets and custom layouts smoothly.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PivotTable automatically change order when I refresh?

By default, PivotTables may have automatic sorting enabled to keep newly added or updated data organized according to alphabetical or numerical rules. You can turn this off in the advanced sort settings to maintain a custom order.

Will turning off automatic sorting disable my ability to sort manually?

No, clearing the 'Sort automatically every time the report is updated' checkbox only prevents the table from resorting on its own during a data refresh. Standard manual sorting commands remain fully available.

Do regular Excel tables automatically sort when updated?

No, regular tables in Excel do not automatically sort when new data is added or updated, even if the AutoFilter feature is enabled. Manual sorting is always required for regular tables.

How do I create a custom sort order in a PivotTable?

First, disable the automatic sorting option. Then, you can simply click on a row or column label and drag it to your preferred position. The PivotTable will retain this specific layout during future data refreshes.