Wrong Item at Top of Sorted Pivot Table in Excel

After you sort an Excel pivot table, the wrong item might appear at the top of a column. For example, in the screen shot below, the list of Sales Rep names has Jan at the top. Below that name, all the other names are sorted in the correct alphabetical order.

Continue reading “Wrong Item at Top of Sorted Pivot Table in Excel”

How to Sort Pivot Table Report Filters

If you have a report filter at the top of your pivot table, do the items in the drop down list ever appear out of order? That happens in my pivot tables occasionally, and there isn’t a quick and easy way to fix the problem!

Video: Sort Pivot Table Report Filters

In the short video below, I show the report filter problem, where the drop down list is not sorted correctly.

report filter items not sorted correctly
report filter items not sorted correctly

After that, I show a workaround that you can use, to get the sorting problem fixed.

There are written steps, and more pivot table sorting tips, on the Pivot Table Sorting Fixes and Tips page, on my Contextures site.

Report Filter Sorting Problem

If you notice that items are out of order in a pivot table report field, you might go to the Data tab on the Excel Ribbon, where the Sort & Filter commands are located.

However, the Sort commands are dimmed out, because you can’t use those in a Report filter field.

Why not? I have no idea!

sort commands NOT available for field in Filter area
sort commands NOT available for field in Filter area

Report Filter Sort Solution

Fortunately, there’s a workaround that you can use, to sort the report filter items.

It’s not complicated, but it’s a bit annoying that this is the only way to sort things!

To sort the report filter field, follow these steps:

  • First, drag the Report field down to the Row area of the pivot table body.
  • Next, right-click one of the pivot items in the Report field that you moved to Rows.
  • Because the field is in the Rows area, the right-click menu now shows the Sort command
    • The Sort commands on the Data tab are available too!
  • Click the Sort command, then click one of the sort options – Sort A to Z, or Sort Z to A.
  • When the sort is finished, drag the field bad up into the Report Filter area.

NOTE: If you have several Report Filter fields to sort, use the Report Filter sorting macro, on my Contextures site.

sort commands available for field in Row area
sort commands available for field in Row area

Get the Sample File

You can get the Excel sample file, and more pivot table sorting tips, on the Pivot Table Sorting Fixes and Tips page, on my Contextures site.

Also, if you have lots of Report Filter fields to sort, you can save time with the Report Filter sorting macro, on my Contextures site.

__________________________

How to Sort Pivot Table Report Filters

How to Sort Pivot Table Report Filters
How to Sort Pivot Table Report Filters

__________________________

Pivot Table Date Field Filters – 3 Types to Try

After you create a pivot table in Excel, you can filter the data, to focus on specific things. Maybe you want a top product report, or a regional summary, or see the sales to a couple of new customers. You can also use filters on date fields, and there are 3 different types you can use.

Continue reading “Pivot Table Date Field Filters – 3 Types to Try”

Excel Dashboard Check Pivot Table Filters Before Printing

Do you create weekly or monthly reports based on pivot tables, and share those reports with clients or co-workers? If there are multiple pivot tables in your report, use this Excel dashboard technique to check all the filters, before you hit Send!

Continue reading “Excel Dashboard Check Pivot Table Filters Before Printing”

How to Use Pivot Table Top 10 Filters to Analyse Sales Data

The Pivot Table Top 10 Filter feature lets you focus on what’s working well. Create a report that shows sales from the top regions, or show the best-selling products. You can use this feature to show the opposite too. Which products are selling poorly? Which cities or regions aren’t doing well? These two short videos show quick ways to analyse sales data with pivot table top 10 filters.

Continue reading “How to Use Pivot Table Top 10 Filters to Analyse Sales Data”

Pivot Table Sorting Problem Wrong Item at Top

Usually, it’s easy to sort an Excel pivot table – just select one of the sort options – A to Z or Z to A – in the heading drop downs. However, you might run into a pivot table sorting problem, where the wrong item stays at the top. See why that happens, and how you can fix the pivot sort problem.

Continue reading “Pivot Table Sorting Problem Wrong Item at Top”

Excel Pivot Table Sorting Macro Data Model

When you add fields to the pivot table row area, you can sort the items alphabetically, or by the numbers in the Values area. The sorting can be done manually or with a macro. See below for an Excel pivot table sorting macro. Data Model pivot tables can be sorted with it too.

Continue reading “Excel Pivot Table Sorting Macro Data Model”