メインコンテンツへスキップ

保護されたシートのロックされたセルを並べ替えてフィルタリングするにはどうすればよいですか?

通常、保護されたシートは編集できませんが、場合によっては、他のユーザーが保護シートで並べ替えやフィルタリングを実行できるようにする必要があります。どのように処理できますか?

保護されたシートでの並べ替えとフィルタリングを許可する


保護されたシートでの並べ替えとフィルタリングを許可する

保護されたシートでの並べ替えとフィルタリングを可能にするには、次の手順が必要です。

1.ユーザーが並べ替えとフィルタリングを行える範囲を選択し、をクリックします 且つ > フィルタ を追加する フィルタリングアイコン 範囲の見出しに。 スクリーンショットを参照してください:
doc はフィルターの並べ替え 1 を許可します

2.次に、範囲を選択したままにして、をクリックします レビュー > ユーザーが範囲を編集できるようにする。 スクリーンショットを参照してください:
doc はフィルターの並べ替え 2 を許可します

3。 の中に ユーザーが範囲を編集できるようにする ダイアログ、クリック NEW を表示する 新しい範囲 ダイアログで、範囲に名前を付けます。 スクリーンショットを参照してください:

doc はフィルターの並べ替え 3 を許可します 右矢印を撃った doc はフィルターの並べ替え 4 を許可します

4。 クリック OK に戻る ユーザーが範囲を編集できるようにする ダイアログボックスを表示して、 保護シート。 スクリーンショットを参照してください:
doc はフィルターの並べ替え 5 を許可します

5。 の中に 保護シート ダイアログで、パスワードを入力します パスワード [シートの保護を解除する]テキストボックス、および[このワークシートのすべてのユーザーにリストを許可する]で 並び替え & オートフィルターを使用する オプション。 スクリーンショットを参照してください:
doc はフィルターの並べ替え 6 を許可します

6。 クリック OK、およびのテキストボックスにパスワードを再入力します パスワードの確認 ダイアログ。 クリック OK シート保護を終了します。 スクリーンショットを参照してください:
doc はフィルターの並べ替え 7 を許可します

次に、ユーザーはこの保護されたシートで並べ替えとフィルタリングを行うことができます

ヒント。 ユーザーを保護し、並べ替えとフィルタリングを許可するために複数のシートが必要な場合は、適用できます ワークシートを保護する の有用性 Kutools for Excel 一度に複数のシートを保護します。無料でKutoolsforExcelをお試しください まず、以下の手順で操作を適用してください。

1.最初のXNUMXつの手順を完了して、ユーザーが指定したシートの範囲を編集できるようにしたら、をクリックします。 クツールズプラス > ワークシートを保護する。 スクリーンショットを参照してください:
doc はフィルターの並べ替え 8 を許可します

2。 の中に ワークシートを保護する ダイアログで、保護するシートを選択し、をクリックします Ok 次のダイアログを表示するには、パスワードを入力して再入力し、チェックします 並び替え & オートフィルターを使用する in このワークシートのすべてのユーザーに リスト。
doc はフィルターの並べ替え 9 を許可します

3。 クリック Ok。 以下のスクリーンショットに示すように、ダイアログボックスが表示され、保護されているシートの数が表示されます。 クリックしてください OK ボタンを押して閉じます。
doc はフィルターの並べ替え 10 を許可します

これで、指定されたすべてのシートが保護されましたが、並べ替えとフィルタリングが許可されました。

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (23)
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
This comment was minimized by the moderator on the site
I tried to do so:
the result is that, yes, user can sort and filter
... and can also modify the locked cells in the selected range (the whole range is containing locked and unlocked cells)
thus, this is NOT a useful way to protect the sheet, I can leave the sheet unprotected and will have the same result ...
however thanks for yur usual suggestions
I will investigate more ... :-)
cheers
This comment was minimized by the moderator on the site
Hi Fabio, to solve this, when selecting the properties for the sheet protection, do NOT select the option "select locked cells" this will avoid someone from using/changing those cells.
This comment was minimized by the moderator on the site
OMG! you did it... you beautiful sob, that's it. been researching for a solution to this for a good 8 hours over 3 days now. So simple. Thank you!
This comment was minimized by the moderator on the site
This solved my issue! Couldn't figure out why columns couldn't still be filtered... I was missing the checkbox to allow for sort and auto filter. I've bookmarked this page :)
This comment was minimized by the moderator on the site
This also changed the way cells react to clicks. i.e. Protection: Allow users to "select locked cells" no longer rejects attempted changes, but removes protection altogether and allows changes to the data in the cell... and ... Disallowing "select locked cells" will no longer allow you to copy any locked cells. Trade-offs for allowing sort/filter on a protected sheet. pls correct me if I'm wrong.
This comment was minimized by the moderator on the site
Here's my issue. I have a Table with several columns and lots of rows. I want people to be able to edit certain columns, filling in the information they gather, sort/filter by any column, and be able to select and copy data from any cell, but not change values in columns they are not entering information into. A = ID, B = Title, C = Description, D = Type, E = Who Knows It?, F = Completed by. They should be able to sort/filter any column and copy from any cell, but they should only be able to edit D, E, and F. Is this possible?
This comment was minimized by the moderator on the site
I have a solution for you. ... Use "Format Cells" to unlock the columns you want users to be able to change. Then use the method shown here create a range (your table) that users can edit. Then, when you protect the sheet, select the options for autofilter and sort AND deselect the top option to let users "select locked cells" .... if you put in no password for the range protection, then users can sort and filter the range, make changes to unlocked cells, and can't touch the formulas they shouldn't!
This comment was minimized by the moderator on the site
I agree with MJ. This solution makes it so users can make almost any change they want within the "edit ranges" area, including deleting locked and hidden formulas. The sheet might as well be unlocked. 
1) Not change the values. Not see or change or delete the formulas.2) Sort and Filter on any of the 60 columns3) Select areas (of locked cells) and copyThe suggested method allows 2) and 3) but could allow users to inadvertently delete data in cells.  
This comment was minimized by the moderator on the site
Hi, Daniel, just select the cells you allow others edit, format them to unlock in format cells dialog, then protect the sheet, now only the unlocked cells can be edited.
This comment was minimized by the moderator on the site
However when you protect the sheet and allow filter too, the "Clear Filter" button in the Data tab gets greyed out and user is not able to clear the filter, rather they have to go to each filter and manually clear them. Is there any way to keep the "Clear Filter" option active even after protecting the worksheet?
This comment was minimized by the moderator on the site
has anyone come up with a solution to this question? I'm still trying to figure this out.
This comment was minimized by the moderator on the site
3 years later. Still searching for a solution.
This comment was minimized by the moderator on the site
I had the same issue, solved it with a Macro. So I added a Button and signed following macro to it, see below.

It doesn't solve my issue with sorting. Following the steps above, I have a similar file converted to a table, the sorting still doesn't work.


Sub Reset_All_Filters()
'
' Reset_All_Filters Macro
' will reset all the slicers in the dashboards
'

'
Dim cache As SlicerCache
For Each cache In ActiveWorkbook.SlicerCaches
cache.ClearManualFilter
Next cache

End Sub
This comment was minimized by the moderator on the site
Sorry Mark, I have tried, cannot solve this problem. If you find the solution, please let me know, thank you.
This comment was minimized by the moderator on the site
I have the same question. I would love to know the answer to Abhijt's question, if there is one.
This comment was minimized by the moderator on the site
i m having this problem as well. Do wish for an answer if any ^^
This comment was minimized by the moderator on the site
very helpful! it fixed my filter issue with protected worksheets
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations