Skip to main content

How to allow sorting and Filter locked cells in protected sheets?

Author: Sun Last Modified: 2020-04-28

In general, the protected sheet cannot be edited, but in some cases, you may want to allow the other users to do sorting or filtering in the protect sheets, how can you handle it?

Allow sorting and filtering in a protected sheet


Allow sorting and filtering in a protected sheet

To allow sorting and filter in a protected sheet, you need these steps:

1. Select a range you will allow users to sorting and filtering, click Data > Filter to add the Filtering icons to the headings of the range. See screenshot:
doc allow filter sort 1

2. Then keep the range selected and click Review > Allow Users to Edit Ranges. See screenshot:
doc allow filter sort 2

3. In the Allow Users to Edit Ranges dialog, click New to display the New Range dialog, give the range a name. See screenshot:

doc allow filter sort 3 shot arrow right doc allow filter sort 4

4. Click OK to go back to Allow Users to Edit Ranges dialog, and then click Protect Sheet. See screenshot:
doc allow filter sort 5

5. In the Protect Sheet dialog, type the password in the Password to unprotect sheet text box, and in Allow all users of this worksheet to list to check Sort and Use AutoFilter options. See screenshot:
doc allow filter sort 6

6. Click OK, and retype the password in the textbox in the Confirm Password dialog. Click OK to finish the sheet protecting. See screenshot:
doc allow filter sort 7

Then the users can sort and filter in this protected sheet

Tip. If there are multiple sheets needed to protect and allow users to sort and filter, you can apply Protect Worksheet utility of Kutools for Excel to protect multiple sheets at one time.please go to free try Kutools for Excel first, and then go to apply the operation according below steps.

1. After finish the first three steps to allow users to edit ranges in the specified sheets, click Kutools Plus > Protect Worksheet. See screenshot:
doc allow filter sort 8

2. In the Protect Worksheet dialog, select the sheets you want to protect, click Ok to display the next dialog, type and reenter the password, and check Sort and Use AutoFilter in Allow all users of this worksheet to list.
doc allow filter sort 9

3. Click Ok. Now a dialog box pops out and shows how many sheets have been protected as below screenshot shown. Please click the OK button to close it.
doc allow filter sort 10

Now all specified sheets have been protected but allowed to sort and filter.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (24)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Good job!
Now i could do filtering in protected worksheets
Thank you
This comment was minimized by the moderator on the site
Bonjour,

J'ai été confronté à ce problème sur PC il y a un temps. Je confirme la manip. Mais aujourd'hui, je suis sur Microsoft 365 sur Mac et malheureusement je ne trouve pas le même menu dans 'Révision'. Le menu "Autoriser les utilisateurs à modifier les plages" est inexistant.

Que faire ?

Merci d'avance
This comment was minimized by the moderator on the site
Ok so my issue is that i have the protection on and the fields people can edit - so only certain fields are locked. happy days.

however Only the filter works when protected and not sort :(

ive allowed sort and auto filter on the options but still no joy with sorting

any ideas
This comment was minimized by the moderator on the site
This is a great solution for something that has puzzled me for years.
However, I just need one further tweak. 🤔

When unprotected, the table in my worksheet allows me to add additional rows by entering a new item in Column A and all formulae in the table is copied down to the new row.

When I protect the worksheet using the method above it now allows filtering and sorting, but it won't create a new row.

I have tried selecting "Format cells", "Format rows" and "Insert Rows" to no avail.
Any idea how I can achieve this functionality in a protected worksheet?
This comment was minimized by the moderator on the site
Hi, sw_77, if you want to insert rows in a protect sheet, just tick Insert rows checkbox in the Ptrotect Sheet dialog when protecting sheet.
This comment was minimized by the moderator on the site
Hi
Doing the above still blocks the users from making any of the changes listed.

One probably needs to find a way to define which users i.e. "any" can do the allowed changes to the protected document.

Under point 4. above is the option to define "Permissions". If one do not change here, none gets the permissions.
But then how does one change that?

//Johan
There are no comments posted here yet
Load More
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations