3.1 Cell Locking, Range Permissions, & Worksheet Protection

Key Takeaways

  • By default, every cell in an Excel worksheet has its 'Locked' property enabled, but locking has zero effect until worksheet protection is explicitly activated via Review > Protect Sheet.
  • The standard two-step protection workflow requires first selecting editable input cells and unchecking 'Locked' in Format Cells (Ctrl+1) > Protection, and then applying worksheet protection.
  • The 'Hidden' property on the Protection tab conceals formula syntax from appearing in the Formula Bar once the sheet is protected, while still displaying the formula's calculated output in the cell grid.
  • 'Allow Users to Edit Ranges' enables granular access control by assigning separate range-level passwords or Active Directory domain permissions to specific ranges before protecting the sheet.
  • The Protect Sheet dialog provides 16 specific permission toggles; by default, only 'Select locked cells' and 'Select unlocked cells' are permitted.
Last updated: September 2026

3.1 Cell Locking, Range Permissions, & Worksheet Protection

Worksheet protection in Microsoft Excel is an essential administrative capability evaluated extensively on the MO-211 exam. Spreadsheets frequently transition from personal calculation scratchpads to enterprise-wide templates, collaborative financial models, and client-facing dashboards. Without deliberate cell protection, accidental data entry, inadvertent column deletions, or formula overwrites can corrupt business logic and compromise decision-making. Excel addresses this vulnerability through a decoupled, two-tier security model: cell-level attributes determine individual cell behavior, while worksheet protection enforces those behaviors globally.


The Mechanics of Cell Locking in Excel

A foundational concept on the MO-211 exam is understanding the decoupled relationship between cell formatting properties and active worksheet enforcement.

The Default "Locked" State

Every cell in an Excel worksheet—across all 1,048,576 rows and 16,384 columns—has its Locked property enabled by default. You can verify this property by selecting any cell, opening the Format Cells dialog (Ctrl+1 or right-click > Format Cells), and navigating to the Protection tab.

However, the Locked property remains completely inert until worksheet protection is explicitly turned on. Under default conditions:

  • Users can edit, overwrite, format, or delete any cell on an unprotected worksheet, regardless of its Locked status.
  • Setting a cell's Locked property to checked or unchecked has zero operational impact while the worksheet remains unprotected.
  • Protecting a worksheet without first adjusting cell properties will lock every single cell on the entire sheet, rendering the workbook completely read-only.

The "Hidden" Formula Property

Adjacent to the Locked checkbox on the Protection tab lies the Hidden checkbox. By default, the Hidden property is unchecked for all cells.

When the Hidden property is enabled:

  • The cell's underlying formula syntax is concealed from the Formula Bar.
  • When an end user selects the cell, the Formula Bar appears completely empty.
  • When an end user double-clicks the cell or presses F2, Excel suppresses in-cell formula editing.
  • The cell continues to evaluate normally and displays its calculated numeric or text output in the worksheet grid.

Just like the Locked property, the Hidden property has no effect whatsoever until the worksheet is protected. In financial and accounting environments, combining cell locking with the Hidden attribute safeguards proprietary calculation algorithms and intellectual property while still exposing clean summary values to stakeholders.


The Two-Step Worksheet Protection Workflow

Implementing an interactive Excel template requires following a strict two-step administrative sequence: first unlock the data-entry cells, and second, enforce protection on the sheet.

[Step 1: Format Cells]               [Step 2: Review Ribbon]
Select Input Ranges (B4:D20)   -->   Navigate to Review > Protect Sheet
Ctrl+1 > Protection Tab        -->   Set Optional Password
Uncheck "Locked" (Clear Box)   -->   Check Allowed User Action Permissions
Click OK                       -->   Click OK & Confirm Password

Step 1: Unlocking Input Ranges

  1. Select the specific contiguous or non-contiguous cells intended for user input (for example, hold Ctrl to select C5:C15 and E5:E15).
  2. Press Ctrl+1 to display the Format Cells dialog box.
  3. Click the Protection tab.
  4. Clear the Locked checkbox.
  5. Click OK.
  6. (Optional) Select critical calculation cells (such as gross profit formulas in column F), press Ctrl+1, navigate to the Protection tab, ensure Locked is checked, and check Hidden to conceal the formula syntax.

Step 2: Enforcing Protection and Configuring Permissions

  1. Navigate to the Review tab on the ribbon.
  2. In the Protect group, click Protect Sheet (alternatively, navigate to Home > Format > Protect Sheet).
  3. In the Protect Sheet dialog box, ensure the primary checkbox—Protect worksheet and contents of locked cells—is checked.
  4. (Optional) Enter a case-sensitive password in the Password to unprotect sheet field. If a password is set, Excel will prompt you to confirm it in a secondary verification dialog. If left blank, any user can unprotect the sheet with a single click.
  5. In the Allow all users of this worksheet to: scroll list, select the specific actions users are permitted to perform.
  6. Click OK.

Worksheet Protection Permissions Table

The Protect Sheet dialog contains 16 granular permission checkboxes that govern user interaction across locked and unlocked regions of the worksheet:

Permission CheckboxDefault StateOperational Impact When Checked
Select locked cellsCheckedAllows users to click, highlight, or place the cell pointer on locked cells. Users cannot modify values or formulas.
Select unlocked cellsCheckedAllows users to navigate to, highlight, and enter data into unlocked cells.
Format cellsUncheckedAllows users to modify font, fill, alignment, and number formats on unlocked cells via the ribbon or Ctrl+1.
Format columnsUncheckedAllows users to adjust column width, autofit columns, or hide and unhide columns.
Format rowsUncheckedAllows users to adjust row height, autofit rows, or hide and unhide rows.
Insert columnsUncheckedAllows users to insert new columns. (Note: inserting a column shifts locked cells; if locked cells span the sheet boundary, Excel blocks insertion).
Insert rowsUncheckedAllows users to insert new rows into the worksheet.
Insert hyperlinksUncheckedAllows users to insert new hyperlinks into unlocked cells.
Delete columnsUncheckedAllows users to delete columns containing only unlocked cells.
Delete rowsUncheckedAllows users to delete rows containing only unlocked cells.
SortUncheckedAllows users to sort ranges. Critical Rule: Every cell within the sort range must be unlocked, or sorting will be blocked.
Use AutoFilterUncheckedAllows users to click existing filter drop-down arrows and change filter criteria. Filter drop-downs must be enabled before protecting the sheet.
Use PivotTable & PivotChartUncheckedAllows users to manipulate, filter, and refresh existing PivotTables and PivotCharts.
Edit objectsCheckedAllows users to edit drawing objects, shapes, form controls, charts, and embedded images.
Edit scenariosCheckedAllows users to view, edit, and create scenarios using the Scenario Manager.

Navigational Control: Constraining Cursor Movement

One of the most practical administrative configurations tested on MO-211 involves streamlining data entry by restricting cursor navigation. If you uncheck "Select locked cells" while leaving "Select unlocked cells" checked:

  • Users are physically blocked from clicking on, highlighting, or tabbing into locked cells.
  • Pressing Tab or Enter automatically skips over all locked formula and label cells, advancing the cursor exclusively between unlocked data-entry fields.
  • This creates an intuitive data-entry form experience and eliminates accidental clicking errors.

Allow Users to Edit Ranges

In collaborative enterprise environments, multiple team members or departments often need to edit separate sections of the same worksheet while remaining restricted from each other's inputs and master formulas. The Allow Users to Edit Ranges feature resolves this challenge.

Configuration Procedure

The worksheet must be unprotected before you can configure editable ranges.

  1. Navigate to Review > Protect > Allow Users to Edit Ranges (or Allow Edit Ranges).
  2. Click the New... button to open the New Range dialog box.
  3. In the Title box, enter a distinct identifier (e.g., Sales_West_Region).
  4. In the Refers to cells box, select the target range (e.g., =$C$5:$C$20).
  5. In the Range password box, enter a unique password required to unlock this specific range.
  6. (Optional Domain Permissions) Click the Permissions... button. This opens the Windows Access Control List dialog, allowing you to select Active Directory domain users or user groups. Users granted permissions here can edit the range without entering a password, authenticated seamlessly by their Windows credentials.
  7. Click OK to save the range configuration.
  8. Repeat steps 2–7 for other regional ranges (e.g., Sales_East_Region covering =$D$5:$D$20 with a separate password).
  9. In the Allow Users to Edit Ranges dialog, click the Protect Sheet... button at the bottom to transition directly into standard worksheet protection.

Runtime User Experience

Once the sheet is protected:

  • Any user attempting to type into cells C5:C20 will immediately encounter an Unlock Range prompt requesting the range password.
  • Entering the correct password unlocks that specific range for the duration of the user's Excel session.
  • Cells in D5:D20 remain locked until the East Region password is provided.
  • Master summary formulas in column E remain completely locked and protected by the sheet-level password.

MO-211 Exam Traps & Practical Pitfalls

  1. The Inverted Setup Trap: A common exam error is navigating directly to Review > Protect Sheet without first unlocking input cells. This locks the entire worksheet, preventing any subsequent data entry. Always execute the two-step workflow: unlock inputs first, protect sheet second.
  2. The Sorting Prerequisite Trap: Enabling the "Sort" permission in the Protect Sheet dialog does not permit sorting if the sort range includes even a single locked cell. To sort on a protected sheet, every cell in the sort dataset must have its Locked attribute cleared.
  3. The AutoFilter Sequence Trap: Checking "Use AutoFilter" allows users to interact with existing filter arrows, but it does not allow users to turn AutoFilter on or off. You must apply AutoFilter (Data > Filter or Ctrl+Shift+L) before applying worksheet protection.
  4. Allow Edit Ranges Inactivity: If the "Allow Users to Edit Ranges" button on the Review tab is dimmed and unclickable, the active worksheet is currently protected. You must first click Unprotect Sheet before managing editable ranges.
Test Your Knowledge

By default, what is the protection status of cells in a newly created Excel worksheet, and what is required to enforce that status?

A
B
C
D
Test Your Knowledge

An Excel specialist needs to configure a quarterly budget model so that department managers can edit their designated budget column (cells D5:D20) using a specific password, while preventing them from editing formulas or other departments' columns. What is the correct sequence of actions?

A
B
C
D
Test Your Knowledge

When configuring the Protect Sheet dialog box in Excel, which action can you configure to restrict users from even clicking or navigating into protected cells, thereby forcing the cursor to jump only between input cells?

A
B
C
D