In desktop Excel, unprotect the sheet if necessary and you have its password. Select the column you want editable, open Format Cells > Protection and clear Locked. Then use Review > Protect Sheet. For this example, column B is editable while A2 and the formulas in column C stay locked.
On this page8
Start on a spare unprotected sheet. Paste the sample at A1. C2 contains =B2*2 and C3 contains =B3*2; their initial reference results are 24 and 40.
Confirm the cells outside the input column have Locked selected in Format Cells > Protection. A fresh sheet uses Locked by default. On an existing protected sheet, first use authorized Unprotect Sheet and enter its password if requested.
Select the B column header. Open Format Cells > Protection and clear Locked, then confirm. This applies to the whole column, including B1. For just the sample inputs and a locked header, select B2:B3 instead.
Choose Review > Protect Sheet. Keep editing of locked cells restricted and allow selection of unlocked cells. A practice sheet can omit a password; do not forget any password you set on a real file.
Check that B2 can be changed from 12 to 18, while editing A2 or replacing C2 is blocked. C2 still contains =B2*2 and its reference result is 36 after recalculation. Restore B2 to 12 and recalculate; the reference result is 24.
Check one editable column and two protected formula cells
Paste at A1 on a spare sheet. Keep the other cells locked, unlock B and protect the sheet. Compare the stored contents and expected edit permissions before using the setup on real data.
A1| Row | A | B | C |
|---|---|---|---|
| 1 | Item | Input | Double |
| 2 | Sample | 12 | =B2*2 |
| 3 | Control | 20 | =B3*2 |
If columns are cut off, scroll the table sideways.
| Cell | Stored content | Protection setting | Direct edit |
|---|---|---|---|
| A2 | Sample | Locked | Blocked |
| B2 | 12 | Unlocked | Allowed |
| C2 | =B2*2 | Locked | Blocked |
| A3 | Control | Locked | Blocked |
| B3 | 20 | Unlocked | Allowed |
| C3 | =B3*2 | Locked | Blocked |
If columns are cut off, scroll the table sideways.
- B2 and B3 accept input; A2:A3 and C2:C3 remain locked under sheet protection.
- C2 keeps =B2*2. After recalculation, the reference results are 24 at B2=12 and 36 at B2=18; restore the input afterward.
- Whole-column B includes B1. A finite B2:B3 unlocked range keeps the heading locked.
- All source formulas and labels remain at their original addresses.
Documentation reviewed .
Microsoft: Protect a worksheet, Windows and webMicrosoft: Lock and unlock cells on Mac
Windows desktop: temporarily unprotect an authorized sheet if needed, select column B, open Format Cells > Protection and clear Locked. Protect the sheet again to keep the other locked cells protected.Mac desktop: after any required Unprotect Sheet, select B, use Command+1 > Protection and clear Locked, then Review > Protect Sheet. Check both an editable input and a locked formula cell.
What this does
Unprotect Sheet temporarily removes sheet restrictions. To leave only chosen cells editable, clear Locked on those cells and protect the sheet again; simply stopping after Unprotect Sheet leaves the whole sheet editable. The locked property takes effect when sheet protection is on. It is an editing control, not file encryption or a password-recovery method.
A worked example
The sample has editable inputs B2=12 and B3=20, with formulas in C2 and C3. The expected permission table applies after protection is enabled: B2 and B3 accept edits, while A2:A3 and C2:C3 do not. The whole-column desktop method also unlocks B1 and the rest of B. Choose B2:B3 when the header and unused rows must remain locked. Changing B2 to 18 tests the input path; a protected formula may still recalculate without allowing you to replace its formula.
In Google Sheets
Google Sheets has its own protected-range and sharing controls. This example describes Excel cell locking and sheet protection; do not assume that clearing Locked is a Sheets workflow. In Excel for the web, use Review > Manage Protection, turn on Protect sheet, then add a named Unlocked range for B2:B3. That finite web example leaves B1 protected; it is not the desktop whole-column B selection.
Common mistakes
- Clearing Locked but leaving sheet protection off: the other cells remain editable too.
- Unlocking the whole B column when only
B2:B3should accept input; the header is part of the whole column. - Changing the formula’s Locked setting when the goal is to edit only its input cells.
- Treating worksheet protection as encryption, or expecting these steps to recover an unknown password.
Frequently asked questions
Can I unlock one column and keep formulas protected?
Yes. Leave the formula cells locked, clear Locked for the input column, and protect the sheet. Check a permitted input edit and a blocked formula edit on a practice copy.
Why can I still edit every cell?
The sheet may be unprotected. Locked settings alone do not restrict edits; turn on sheet protection after choosing the editable cells.
Does this keep the column heading locked?
A whole-column B selection includes B1. To keep its heading locked, unlock only the intended input range, such as B2:B3.