Sub topic 1
What protection is for and when to use it
Prerequisites
This chapter assumes you can:
- Work with cells, ranges, and sheet tabs in Google Sheets.
- Read A1 notation, such as
B2:B20for a block of cells. - Share a spreadsheet with people as viewers, commenters, or editors.
What protection is for
Protection blocks changes to cells that people should not edit by accident. A shared budget often has totals, formulas, and fixed labels that break if someone types over them. Protection locks those cells while everyone can still read them.
Protection guards against careless edits. It is not a security control. Anyone who can edit a protected range can remove the protection if they are allowed to change it.
How file access, ownership, and protection editors relate
Three settings decide who can change a protected range:
- File access: Viewers and commenters cannot edit the file, so protection does not change their access.
- Ownership: The file owner can always edit protected ranges.
- Protection editors: These are the people you choose for one specific protected range.
You can only add a protection editor who already has edit access to the spreadsheet.
Protecting a range from Data > Protect sheets and ranges
- Select the range, such as
A1:E1. - Choose Data > Protect sheets and ranges.
- In the sidebar, click Set permissions for the range.
- Enter a description, such as "Header row." Descriptions make later audits easier.
- Choose a permission option (see the next section).
- Click Done.
Choosing who can edit a protected range
The permission step offers two choices:
- Show a warning when editing this range: Everyone with edit access can still change the cells, but they see a prompt first. This suits formulas that occasionally need a fix.
- Restrict who can edit this range: Only the owner and the editors you select can change the cells.
> Note: A protection is only as strong as its editor list. Review that list when team members change roles.
Remove that note block and use the callout fence below in its place.
Exercise
A teammate with edit access needs to fix a total in D2:D10. You want others to stop changing those cells by accident. Which permission option do you choose, and why?
Show answer
Choose "Restrict who can edit this range" and add the teammate as an editor, so only the people you named can change the cells. Choose "Show a warning when editing this range" instead if everyone with edit access may still edit, but you want them to confirm each change.