Lock the Position of a Slicer in an Excel Worksheet So It Can't Be Moved
by Avantix Learning Team | Updated November 4, 2022
Applies to: Microsoft® Excel® 2013, 2016, 2019, 2021 and 365 (Windows)
Slicers are a great tool in Excel to filter tables or pivot tables. You can lock the position of a slicer in an Excel worksheet using a options in the Format Slicer task pane. You'll need to select the slicer or slicers and Disable resizing and moving in the task pane (and choose other options based on your preferences).
Recommended article: 10 Excel Data Entry Tricks and Shortcuts Every User Should Know
Do you want to learn more about Excel? Check out our virtual classroom or live classroom Excel courses >
Locking the position of one or more slicers using the Format Slicer task pane
To lock the position of one or more slicers in the Format Slicer task pane:
- Right-click the slicer. If you are changing multiple slicers, Ctrl-click each slicer and right-click one of the selected slicers. A drop-down menu appears.
- Select Size and Properties in the menu. A task pane appears.
- In the Format Slicer task pane, click the arrow beside Position and Layout to expand it.
- Check or select Disable resizing and moving.
- In the task pane, click the arrow beside Properties to expand it.
- Select Don't move or size with cells.
- Uncheck or de-select Locked. If you leave this checked, you won't be able to use the slicer(s).
Below is the Format Slicer task pane (note that Locked has been de-selected):
Slicers are a great tool in Excel for filtering.
Did you find this article helpful? If you would like to receive new articles, JOIN our email list.
Our instructor-led courses are delivered in virtual classroom format or at our downtown Toronto location at 18 King Street East, Suite 1400, Toronto, Ontario, Canada (some in-person classroom courses may also be delivered at an alternate downtown Toronto location). Contact us at firstname.lastname@example.org if you'd like to arrange custom instructor-led virtual classroom or onsite training on a date that's convenient for you.
Copyright 2023 Avantix® Learning
You may also like
Power Query in Excel is a powerful data transformation tool that allows you to import data from many different sources and then extract, clean, and transform the data. You will then be able to load the data into Excel or Power BI and perform further data analysis. With Power Query (also known as Get & Transform), you can set up a query once and then refresh it when new data is added. Power Query can import and clean millions of rows of data.
You can freeze one or more rows in an Excel worksheet using the Freeze Panes command. If you freeze rows containing headings, the headings will appear when you scroll down. You can freeze columns as well so when you scroll to the right columns will be frozen.
You can remove or hide gridlines in Excel worksheets to simplify worksheet design. By default, gridlines are displayed but do not print. Gridlines are applied to entire worksheets or workbooks, not to specific cells. If you hide gridlines on one worksheet, it doesn't affect other sheets in the same workbook.
Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.
Avantix Learning |18 King Street East, Suite 1400, Toronto, Ontario, Canada M5C 1C4 | Contact us at email@example.com