Lock the Position of a Slicer in an Excel Worksheet So It Can’t Be Moved

by Avantix Learning Team | Updated June 14, 2021

Applies to: Microsoft® Excel® 2013, 2016, 2019 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 two-step process. First, select the slicer or slicers and Disable resizing and moving in the Format Slicer task pane (and choose other options based on your preferences). Second, protect the sheet using the Review tab in the Ribbon. There are a few important options you’ll need to select to get this to work.

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 >

Step 1: 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:

  1. 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.
  2. Select Size and Properties in the menu. A task pane appears.
  3. In the Format Slicer task pane, click the arrow beside Position and Layout to expand it.
  4. Check or select Disable resizing and moving.
  5. In the task pane, click the arrow beside Properties to expand it.
  6. Select Don’t move or size with cells.
  7. 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):

Format Slicer task pane in Excel.

Step 2: Protecting the sheet and allowing filtering

To protect the sheet and allow filtering with the slicer(s):

  1. Click the Review tab in the Ribbon.
  2. Select Protect Sheet in the Protect group. A dialog box appears.
  3. If required, enter a password (be sure to keep track of your passwords).
  4. Select or check Select locked cells (this should be selected by default).
  5. Select or check Select unlocked cells (this should be selected by default).
  6. Select or check Use PivotTable and Pivot Chart and Use AutoFilter (you will need to scroll down in the dialog box).
  7. Click OK.
  8. If prompted, re-enter the password and click OK.

You must select Use Pivot Table and Pivot Chart and Use AutoFilter in the Protect Sheet dialog box:

Protect Sheet dialog box in Excel to lock slicer position but enable filtering.

Slicers are a great tool in Excel, but it is tricky to lock the position of a slicer.

Subscribe to get more articles like this one

Did you find this article helpful? If you would like to receive new articles, join our email list.

More resources

How to Fill Blank Cells in Excel with a Value from a Cell Above

How to Use Flash Fill in Excel to Clean or Extract Data (Beginner’s Guide)

How to Delete Blank Rows in Excel  (5 Easy Ways)

Related courses

Microsoft Excel: Intermediate / Advanced

Microsoft Excel: Data Analysis with Functions, Dashboards and What-If Analysis Tools

Microsoft Excel: Introduction to Visual Basic for Applications (VBA)

VIEW MORE COURSES >

Our instructor-led courses are delivered in virtual classroom format or at our downtown Toronto location at 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada (some live classroom courses may also be delivered at an alternate downtown Toronto location). Contact us at info@avantixlearning.ca if you'd like to arrange custom training on a date that's convenient for you.

Copyright 2021 Avantix® Learning

You may also like

3 Excel Strikethrough Shortcuts to Cross Out Text or Values in Cells

3 Excel Strikethrough Shortcuts to Cross Out Text or Values in Cells

You can apply strikethrough to text or values in Excel to cross out or create a line through a cell or part of a cell. There are 3 common ways to apply strikethrough in your Excel worksheets – using a built-in keyboard shortcut, using the Font dialog box, or by adding a command to the Quick Access Toolbar.

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 | 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada M5E 1W7 | info@avantixlearning.ca

Summary
How to Lock the Position of a Slicer in Excel
Article Name
How to Lock the Position of a Slicer in Excel
Description
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 two-step process. First, select the slicer or slicers and Disable resizing and moving in the Format Slicer task pane (and choose other options based on your preferences). Second, protect the sheet using the Review tab in the Ribbon. There are a few important options you’ll need to select to get this to work.
Author
Publisher Name
Avantix Learning

Pin It on Pinterest

Share This