• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Sorting Month (MMM) within Slicers

Vivek D

Member
How can I add a slicer that shows months in the MMM format i.e. Jan, Feb, Mar, Apr, May...
and sorted as per calendar.

By default it just shows in alphabetical format.
 
What does your source data look like? If it was really dates, then the Slicer would pick that up by default and show in the correct order. If it's just text strings showing the month name, you won't be able to shorten the name.

Also, by default XL comes preloaded with a custom list showing the months in correct order, which XL uses to sort in the correct order. I am not able to duplicate your problem with dummy data. Can you provide an example?
 
I checked with some raw data n it worked. No date format required. Pls upload ur sheet/ file.
 
Last edited:
Attached a sample. There is a "Closed Date" column and the Month is derived from that =TEXT(ClosedDate,"MMM'YY") and this new column is used for the slicer.
 

Attachments

  • Slicer Sorting.xlsx
    24.8 KB · Views: 28
Attached a sample. There is a "Closed Date" column and the Month is derived from that =TEXT(ClosedDate,"MMM'YY") and this new column is used for the slicer.
but the slices are still in alphabetic order... Apr, Aug, Dec, Jan, Jul, Jun, ... and Dec'14 in followed by Dec'15... at least on my PC...
 
but the slices are still in alphabetic order... Apr, Aug, Dec, Jan, Jul, Jun, ... and Dec'14 in followed by Dec'15... at least on my PC...

I don't want them in alphabetical order. I want them in Calendar order i.e. Jan, Feb, Mar, Apr...
 
Hi Vivek..

Close Months are actually TEXT, not DATE..

  • In the pivot table Add Close Date in Rows Section.. (just for a while..)
  • In the Row label section.. GROUP "CloseDate" with Month.
  • Now remove the Close Date from the ROW Section..
Now Insert Slicer.. for Close Date..
You dont need those Close Month fields..

upload_2014-7-10_1-23-31.png
 
Hi Vivek..

Close Months are actually TEXT, not DATE..

  • In the pivot table Add Close Date in Rows Section.. (just for a while..)
  • In the Row label section.. GROUP "CloseDate" with Month.
  • Now remove the Close Date from the ROW Section..
Now Insert Slicer.. for Close Date..
You dont need those Close Month fields..

View attachment 8317

Thanks. Learnt something new today. Had known about the grouping feature but never used it before. I guess I'm going to use it a lot more in the future.
 
Hi,
Following up on this, in my case, the slicer is based on power pivot column so this is not possible there. How to go around it?
 
Back
Top