How to Custom Sort Slicer in Excel (3 Suitable Examples)

This article will show you how to use custom sort in Excel slicer. Have you ever spent hours surfing through data, trying to find the information you need? Well, custom sorting in Slicers can save you the hassle! This fantastic feature allows you to sort your data in any order you desire, making it easier to identify relevant information quickly.

Overview of Custom Sorting for Slicer in Excel

Here, in the dataset above the Slicer named Vendor, we have used custom sorting for the slicer.


How to Custom Sort Slicer in Excel: 3 Suitable Examples

Example 1: Custom Sort Slicer with Vendor Names

We will be using a custom sort for the Slicer below. In the Slicer, the vendor Emily will be put in the third position from the top. Before starting the sorting procedure, delete the existing Slicer of the Pivot Table. To start custom sorting, make sure to follow the procedure below accordingly.

Slicer of Dataset for Custom Sorting

  • Go to Options from File.

Clicking on Option from File Menu

  • Click on Advanced and then Click on Edit Custom Lists.

Going to Edit Custom Lists Tab

  • Now select cells B5 to B14.
  • Click on Import. 
  • When the list appears on Custom Lists, Click on it.
  • Manually place Emily in third place from the top.
  • Hit OK two times.

Customizing the Sorting of The Slicer in Custom Lists

  • Now insert a slicer of Vendor and the Custom sorted Slicer will appear as below.

Sorted Slicer using Custom Sort


Example 2: Custom Sorting of Product in Slicer

In the next example of custom sorting for the slicer. We will be sorting the Slicer mentioned below of Product where the product will be sorted by putting Bananas at first followed by Oranges, Cherries, and Apples. Follow the steps below for a better understanding of the procedure.

Dataset for Custom Sorting of Product Slicer

  • Start with deleting the Product Slicer if it already exists.
  • Go to Options from File.
  • Click on Advanced and then Click on Edit Custom Lists.
  • Now select cell C5 to C14.
  • Click on Import. 
  • When the list appears on Custom Lists, Click on it.
  • Manually place Bananas at first followed by Oranges, Cherries, and Apples in the List Entries.
  • Hit OK two times.

Manually Sorting the Product in Preferable Order

  • Now from Insert Tab, add a Slicer named Product. And the Manually sorted Slicer will appear below.

Custom Sorted Product Slicer


Example 3: Sorting Months Slicer Chronologically in Excel

In this example, we will learn how to sort Month Slicer chronologically as shown in the figure below. This will be done by custom sorting as mentioned in the two previous examples.

Sorting Month Slicer Chronologically

  • Start with deleting the Slicer Slicer if it exists already.
  • Go to Options from File.
  • Click on Advanced and then Click on Edit Custom Lists.
  • From Custom Lists, Select the months as shown below.
  • Hit OK two times.

Selection of Months in chronological Order in Custom Lists

  • Now from Insert Tab, add a Slicer named Month . And the Chronologically sorted Slicer Month will appear as below.

Chronologically Sorted Months of Slicer

Read More: How to Create Slicer Drop Down in Excel


Reasons Why Slicer Custom Sort May Not Work in Excel

  • The data may not be in the right format. For example, if you store data as text instead of numbers, custom sorting may not work.
  • The sorting order may not be set correctly. For example, if you want to sort data in ascending order but the sorting order is set to descending, the custom sorting may not work.
  • The slicer settings may not be set correctly. For example, if the “Sort by” option is not set to “Custom List”, custom sorting may not work.
  • You may be using an older version of Excel that doesn’t support the custom sorting feature.
  • Due to a corrupted or damaged workbook. This can happen due to various reasons, such as a system crash or virus attack.
  • Due to a corrupted or outdated slicer cache. In this case, you may need to clear the slicer cache or rebuild the slicer.

Things to Remember

Before starting, make sure to delete the existing slicer of the dataset. Here, the automatic sorting of buttons is impossible in Microsoft Excel as it lacks a dynamic feature for this function. So after sorting the names manually in the Custom Lists, add a new Slicer and the sorted names will appear there.


Download Practice Workbook

Download this practice workbook to exercise while you are reading this article.


Conclusion

In a nutshell, custom sorting of slicers in Excel is a helpful tool that allows users to sort their data in a personalized manner. By following the easy-to-follow steps described in this article, anyone can sort their data quickly and easily, giving them the insights they need to make more informed decisions.


Further Readings


Get FREE Advanced Excel Exercises with Solutions!
Zahid Shuvo
Zahid Shuvo

Zahid Hasan Shuvo, a Naval Architecture and Marine Engineering graduate from BUET, Bangladesh, has contributed nearly a year to the Exceldemy Project as an Excel and VBA Content Developer. Within this timeframe, he has crafted over 8 tutorial articles, and besides offering valuable solutions to aid users effectively. Zahid also expresses keen interests in Excel & VBA, Data Analysis, Machine Learning, AI Engines, and Prompt Engineering, showcasing a diverse skill set and contributing to the dynamic environment of... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo