How to custom sort a slicer in Excel (2024)

Less than one minute read time.

It's not always possible to get a slicer to display in the order that you need it to.

How to custom sort a slicer in Excel (1)

Inour example, the sample displays in an alphabetical order, but we'd like it to display in the same order being used in the Pivot Table. To overcome this limitation, we can create a custom list.

You are welcome to download the workbookto practice.

First up, delete the slider that you've created.

Select File > Options > Advanced:

How to custom sort a slicer in Excel (2)

Scroll to the bottom, and under the General section, select Edit Custom Lists.

How to custom sort a slicer in Excel (3)

Enter your sort order under the List entries dialogue box using a comma between each one, for example:

Sales, Cost of Sales, Gross Profit, Other Income, Total Income, Expense, Net Profit.

Select Add to add the list to the Custom lists.

How to custom sort a slicer in Excel (4)

Double click the new list to sort the slicer in the appropriate order and select OK.

On your Pivot Table, select to insert a slicer.

You will now see that your slicer is in the desired format.

How to custom sort a slicer in Excel (5)

How to custom sort a slicer in Excel (2024)

FAQs

Can you custom sort a slicer in Excel? ›

We can add a custom sort to the workbook and then sort the slicer by that sort. To create the custom sort, do the following: Select the File tab and click Options in the left pane. Click Advanced in the left pane.

Can you customize a slicer in Excel? ›

Click the New Slicer Style button at the bottom of the Slicer Styles gallery. Give a name to your new style. Select a slicer element, click the Format button, and choose the formatting options for that element. When finished, move on to the next element.

Do slicers filter or sort? ›

Slicers apply filters for tables, pivot tables, and pivot charts. They are widely used for creating dashboards that display the summary report of the table. You can move your mouse across the table and check a particular column in the report.

How to design a slicer? ›

Creating a Custom Slicer Design

You will find both options if you go to the Slicer tab that appears in the ribbon bar when you have a slicer selected. In there, you will find a variety of predefined slicer designs. If you open that area with these designs, you can now choose to either click on New Slicer Style.

What is slicer hierarchy? ›

A Power BI hierarchy slicer allows you to filter information based on hierarchical filters, just as you can use slicers on numerical data. For example, you can filter a dataset on product categories and product subcategories within the parent categories.

How do you make a hierarchy slicer? ›

Adding a Hierarchy Slicer

Add a slicer from the visualisation pane and add the top level of the hierarchy, for example ProdRange from my products table. A tick list will appear just as previously. The add the next level down of the hierarchy into the Field box under the top level field.

What are the various options in slicer? ›

Slicer settings, provide various options, to select the type of selection we want to apply in the filter. There are three options i.e. Single Select, Multi Select with Ctrl, and Show “Select all” option. The names are self-explanatory.

What are slicer settings? ›

Slicer settings cover all aspects of printing, from the temperature of the heated elements to the thickness of each wall and layer. If you want the highest quality prints or just to print something as quickly as possible, you have to know the primary settings to change on your slicer.

How do I change the order of a slicer in a PivotTable? ›

In a PivotTable, click the small arrow next to Row Labels and Column Labels cells. Click a field in the row or column you want to sort. on Row Labels or Column Labels, and then click the sort option you want. To sort data in ascending or descending order, click Sort A to Z or Sort Z to A.

How do you arrange slicer horizontally in Excel? ›

To display it horizontally, you can amend a slicer setting. Right-click the slicer and choose Size and Properties. On the right of the screen, a Task Pane opens. Open the Position and Layout option, and update the Number of columns value.

Top Articles
Latest Posts
Article information

Author: Annamae Dooley

Last Updated:

Views: 6147

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Annamae Dooley

Birthday: 2001-07-26

Address: 9687 Tambra Meadow, Bradleyhaven, TN 53219

Phone: +9316045904039

Job: Future Coordinator

Hobby: Archery, Couponing, Poi, Kite flying, Knitting, Rappelling, Baseball

Introduction: My name is Annamae Dooley, I am a witty, quaint, lovely, clever, rich, sparkling, powerful person who loves writing and wants to share my knowledge and understanding with you.