Pivot Report filter

Stonelynk

New Member
Joined
Oct 18, 2010
Messages
17
I am filtering a pivot table by "Year" & "Months" but my month drop down is not sorted correctly can anyone explain how I can sort this please?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
When a PivotTable (PT) is first created, the filter items are listed in order. As items are added to that field through revising the data and refreshing the PT, the new items are appended to the bottom of the list.

There might be a better way to do this, but one way to re-sort the filter list is to deselect the field by unchecking it in the PT Field list, then refreshing the PT, then reselecting that field. (If you do this often you could record a macro).
 
Upvote 0
I am filtering a pivot table by "Year" & "Months" but my month drop down is not sorted correctly can anyone explain how I can sort this please?

Just re-read your post and see that I jumped to the wrong problem. If your Months are sorting Alphabetically instead of by calendar sequence, you could try using Custom Lists. I've used this to sort days of the week in the Row Labels - I'm not sure whether that gets applied to the filters too...worth a try. :)
 
Upvote 0
Jerry, thanks fotr the reply. The dropdown displays, Jan, Feb,Mar,Apl,Aug,Oct,Nov,Dec, Jul,Jun,May & Sep. Si it's not alpha order. I have checked the the custom list and there exist a list which has the months in the correct order but how do I apply this, sorry but this is a new area for me.

Cheers
 
Upvote 0
Excel comes with Built-in Custom Lists for Months and Days of Weeks. To have the custom lists used for your PT:

Right Click on your PT > PivotTable Options > Totals & Filters tab > Check "Use Custom Lists when sorting." > OK

If you find that this box was already checked, or you check it and they are still not in order, then the problem could be the first one that I described (Months have been added to the list). Try the steps I described of deselecting and refreshing.

Good luck!
 
Upvote 0

Forum statistics

Threads
1,224,591
Messages
6,179,767
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top