Lesson 6.2 – Worksheet & Workbook Protection
Lesson Overview
Worksheet and workbook protection in Excel ensures that data, formulas, and structure are secure. This lesson teaches how to lock cells, protect sheets and workbooks, hide formulas, and use passwords for authorized access.
1. Locking Cells
1.1 Purpose
-
Prevents editing of important cells while allowing changes in others
-
Useful for dashboards, templates, and shared workbooks
1.2 Steps to Lock Cells
-
Select the cells you want to remain editable → Right-click → Format Cells → Protection → Uncheck “Locked”
-
Select all cells you want protected (default is Locked)
2. Protecting a Worksheet
2.1 Steps to Protect
-
Go to Review → Protect Sheet
-
Enter password (optional but recommended)
-
Select actions allowed for users, e.g.,:
-
Select locked cells
-
Select unlocked cells
-
Format cells, columns, rows
-
-
Click OK
2.2 Example
-
Lock formulas in a financial model while allowing input in assumptions cells
3. Protecting a Workbook
3.1 Purpose
-
Protects entire workbook structure: prevents adding, deleting, or renaming sheets
3.2 Steps to Protect Workbook
-
Go to Review → Protect Workbook
-
Choose Structure (prevents sheet changes)
-
Enter password → Click OK
3.3 Example
-
Protect a company template workbook so users cannot delete or move sheets
4. Hiding Formulas
4.1 Purpose
-
Prevents users from seeing formulas while displaying results
-
Ensures sensitive calculations remain confidential
4.2 Steps to Hide Formulas
-
Select formula cells → Right-click → Format Cells → Protection → Check “Hidden”
-
Protect the sheet (see step 2)
4.3 Example
-
Hide complex loan or financial formulas in a dashboard
5. Best Practices for Protection
-
Always backup workbook before adding passwords
-
Combine cell locking and hiding for maximum security
-
Use strong passwords and store securely
-
Test protected workbook as a regular user
6. Real-Life Examples
-
Finance: Protect profit/loss calculations in dashboards
-
HR: Protect employee salaries and confidential data
-
Project Management: Lock timelines while allowing task updates
-
Sales: Protect formulas calculating commissions or targets
7. Practice Questions
-
Lock all formula cells and leave input cells editable.
-
Protect a worksheet with a password allowing users to select only unlocked cells.
-
Protect workbook structure to prevent adding or deleting sheets.
-
Hide formulas in a financial calculation sheet.
-
Explain why locking cells alone does not prevent editing without sheet protection.
