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

Excelで数式をロックして保護する方法は?

ワークシートを作成するときに、いくつかの数式を使用する必要があり、他のユーザーに数式を変更、編集、または削除させたくない場合があります。 人々が数式で遊ぶのを防ぐ最も簡単で一般的な方法は、ワークシートに数式を含むセルをロックして保護することです。 次のように数式をロックして保護してください。

セルの書式設定とシートの保護機能を使用して数式をロックおよび保護する

ワークシートデザインで数式をロックして保護する 良いアイデア3

矢印青い右バブル セルの書式設定とシートの保護機能を使用して数式をロックおよび保護する

デフォルトでは、ワークシートのすべてのセルがロックされているため、最初にすべてのセルのロックを解除する必要があります。

1.ワークシート全体を Ctrlキー+ A、右クリックして、 セルの書式設定 コンテキストメニューから選択します。

2.そして セルの書式設定 ダイアログボックスが表示されます。 クリック 保護、およびチェックを外します ロック オプション。 クリック OK。 ワークシート全体のロックが解除されました。

doc-protect-formulas1

3。 次に、をクリックします ホーム > 検索と選択 > スペシャルに行く、 フォルダーとその下に 特別に行く ダイアログボックスが表示されます。 小切手 から 選択 オプションをクリックし、次にクリックします。 OK。 スクリーンショットを参照してください:

doc-protect-formulas2

4.数式を含むすべてのセルが選択されます。

5.次に、選択したセルをロックします。 選択したセルを右クリックして、 セルの書式設定 コンテキストメニューから、および セルの書式設定 ダイアログボックスが表示されます。 クリック 保護 ロック チェックボックス。 スクリーンショットを参照してください:
doc-protect-formulas3

6.次に、をクリックします レビュー > 保護シート、と 保護シート ダイアログボックスが表示されます。パスワードを入力できます。 パスワード シートの保護を解除する ボックス。 スクリーンショットを参照してください:

doc-protect-formulas4

7。 次に、をクリックします OK。 そしてもう一つ パスワードの確認 ダイアログボックスが表示されます。 パスワードを再入力してください。 そしてクリック OK.

doc-protect-formulas5

そして、数式を含むすべてのセルがロックされ、保護されています。 この場合、数式を変更することはできませんが、他のセルを編集することはできます。


矢印青い右バブル ワークシートデザインで数式をロックして保護する

あなたがインストールしている場合 Kutools for Excel、を使用して数式をすばやくロックして保護できます ワークシートのデザイン ユーティリティ。
Kutools for Excel, 以上で 300 便利な機能は、あなたの仕事をより簡単にします。 

無料インストール Kutools for Excel、以下のようにしてください:

1。 クリック クツールズプラス > ワークシートのデザイン を有効にする 設計 グループ。 スクリーンショットを参照してください:
docプロテクト式1

2。 次に、をクリックします 数式を強調表示 すべての数式セルを強調表示します。 スクリーンショットを参照してください:
dockutoolsデザイン2

3.強調表示されたセルをすべて選択して、 選択ロック 数式をロックします。 また、シートを保護するまでフォムラはロックできないことを通知するダイアログが表示されます。 スクリーンショットを参照してください:
dockutoolsデザイン3

4.次にクリックします 保護シート シートを保護するためのパスワードを入力します。 スクリーンショットを参照してください:
dockutoolsデザイン4

Note

1.これで、数式がロックおよび保護され、クリックできます デザインを閉じる を無効にするには 設計 タブには何も表示されないことに注意してください。

2.シートの保護を解除する場合は、クリックするだけです。 ワークシートのデザイン > 保護されていないシート.
dockutoolsデザイン5

ワークシートデザイングループでは、ロック解除セル、名前範囲などを強調表示できます。


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

🤖 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 (46)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Useful guide, however, I don't think if this is responding to my need. to explain a bit of my need I wanted to lock cells with formulas and formats but I want the formulas to generate what they are supposed to do. i.e. I have VLOOKUP formula which I want to vlookup value from another sheet based on the ID so when I add the unique ID the VLOOKUP formula doesn't return since the cell is locked.. in short, I want my formulas to work but don't allow other people to modify and delete the formulas!

Much appreciated any clear guidelines
This comment was minimized by the moderator on the site
Hi I would like to protect cells that has formulas but when I lock the sheet with a password, I cannot group and un-group cells that are grouped. How do I protect the sheet and still have the functionality to group and un-group. I have inserted the following VB code: Sub EnableOutlining() 'Update 20140603 Dim xWs As Worksheet Set xWs = Application.ActiveSheet Dim xPws As String xPws = Application.InputBox("Password:", xTitleId, "", Type:=2) xWs.Protect Password:=xPws, Userinterfaceonly:=True xWs.EnableOutlining = True End Sub It works but when I open and close the file I need to run the code each time. Is there a code where this is not required? Thanks
This comment was minimized by the moderator on the site
very useful good explanation thanks
This comment was minimized by the moderator on the site
This is the only page that showed step 5. And all my formulas are protected. But how do I protect formulas AND all the text I put in. The Workbook I created is an invoice ledger. So I have cells with text, that is not protected. All I want them to do is fill in the ledger with the purchase dollars. Not to be able to change category names, or pager titles.
This comment was minimized by the moderator on the site
This locks the cell with the formula, but also is preventing changing FONT colour and Strikethrough etc?
This comment was minimized by the moderator on the site
Have gone through this half a dozen times, yes! it is locking cells containing formula, but all formatting is greyed out. I have an Allocation Sheet, which has DAYS and NIGHTS on if we do DAYS Nights formula is strikethrough, and vice versa, but change DAYS to NIGHTS, but not from strikethrough! Cannot change FONT colour either.
This comment was minimized by the moderator on the site
Thanks! This was a massive help, I should have turned to you straight away instead of battling on for hours!
This comment was minimized by the moderator on the site
What I need is a way to use 2 different passwords on a shared worksheet. I need to be able to lock my formulas and then when someone puts in the data they need to lock and protect with another password. Is this possible?
This comment was minimized by the moderator on the site
asdlkfjsdlk alsdkjflas fka klsdlfkjasdl adjlasdfkj lasdf
This comment was minimized by the moderator on the site
si want to freez the formula in one sheet of the book , like daly am receiving the files day wise as summry-15 & summry-16, i need certain summry so i made summry in one sheet (in the same book) using vlookup & hlookup ,but when am pasting the formula in summry-16 formula is taking the data from suury15 only i need formula has to take from the current book only(which my summry sheet part of the book).
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations