Sub topic 6
Protecting an Entire Sheet
This chapter assumes you know how to protect a single range from the previous chapters, including the Set permissions dialog and the difference between restricting editors and showing a warning. It also assumes you understand the file-level roles (viewer, commenter, editor) and who the owner is. Here you apply the same machinery to a whole sheet tab.
When to protect the whole sheet
A range protection covers the cells you select. A sheet protection covers the sheet tab as an object. Use sheet protection when most of a tab should be locked and only a few cells need to change. Typical cases:
- A reporting tab built from formulas, which nobody should overwrite.
- A configuration or lookup tab, such as tax rates or product codes, that other tabs depend on.
- A template where the structure must stay fixed and users fill in only a few cells.
- A tab that holds imported or script-generated data.
A single range protection also works for these, but sheet protection has a practical advantage. It follows the sheet as it grows. If you protect A1:H100 and someone later adds data in row 101 or column I, those new cells are not protected. A sheet protection includes every cell on the tab, now and in the future.
Protecting a sheet in the interface
There are two routes to the same result.
From the menu:
- Open the sheet tab you want to protect.
- Choose Data > Protect sheets and ranges. The Protected sheets & ranges sidebar opens.
- Select Add a sheet or range.
- Switch to the Sheet tab at the top of the form.
- Pick the sheet from the drop-down list. It defaults to the sheet you were viewing.
- Optionally enter a description, such as "Budget formulas".
- Select Set permissions and choose who may edit (covered below).
- Select Done.
From the sheet tab:
- Right-click the sheet tab at the bottom of the window.
- Choose Protect sheet.
- The sidebar opens with the sheet already selected. Continue from step 6 above.
A small lock icon appears on the tab once the protection exists. That icon is the quickest way to see which tabs are protected when you open an unfamiliar file.
Write a useful description
The description is optional, but write one. The sidebar lists every protection in the file, and without descriptions you see only entries like "Sheet1" or "A1:E1". Names such as "Budget formulas, finance only" tell the next person why the protection exists before they change it. The audit chapter later in this tutorial relies on descriptions, too.
Setting who can edit
After you select Set permissions, the dialog offers two modes. You met both for ranges. They behave the same way for sheets.
| Option | Effect on the protected sheet |
|---|---|
| Restrict who can edit this range, Only you | Only you, and whoever else controls protections in the file, can edit the sheet. Other editors are blocked. |
| Restrict who can edit this range, Only domain | Appears in Google Workspace. Anyone in your organization who already has edit access to the file can edit the sheet. |
| Restrict who can edit this range, Custom | You pick specific people from the list of existing editors of the file. |
| Show a warning when editing this range | Nobody is blocked. Editors get a confirmation prompt before changing a cell. |
| Copy permissions from another range | Reuses the editor list from a protection you already made. |
Two points matter more than the table suggests.
First, protection editors are chosen from people who already have edit access to the file. You cannot grant someone access to a sheet through the protection dialog. If a person is a viewer or commenter, they cannot edit anything, protected or not. If you need them on the custom list, share the file with them as an editor first.
Second, the person who creates a protection is always on its list. That is why "Only you" never locks out the creator, and why a custom list that you intend for others still includes you unless you remove yourself.
Warning-only on a whole sheet
Choosing Show a warning when editing this range on a sheet-wide protection is legitimate, but think about the volume. On a range, a warning appears now and then. On an entire sheet, every edit by every editor triggers a prompt. People click through quickly, and the protection stops being a safeguard. Reserve warning-only sheet protection for tabs that people rarely touch, such as a calculation tab you want to flag as "please don't edit casually".
What a sheet protection covers
A protected sheet is more than locked cell values. For people who are not on the editor list, these actions are blocked:
| Action | Blocked for non-listed editors |
|---|---|
| Typing in, clearing, or pasting into a cell | Yes |
| Changing formatting of cells | Yes |
| Editing a formula | Yes |
| Deleting the sheet | Yes |
| Inserting or deleting rows and columns on the sheet | Yes, because the change would alter protected cells |
| Viewing the sheet and its formulas | No |
| Referencing the sheet's cells from another sheet | No |
The last two rows explain most surprises. Protection controls writing, not reading. Anyone who can open the file sees every value and formula on a protected tab.
A related edge case: a formula on an unprotected tab can read a protected tab freely, and its result is an ordinary edit-able cell. Protection stops someone from overwriting the source, not from using it.
How Sheets decides whether an edit is allowed
When a user edits a cell, Sheets checks every protection that covers it. If the cell is covered by a sheet protection, a range protection, or both, the user must be allowed by each one. The most restrictive combination wins.
Note that file access is the first gate. Protection never expands what a user can do. It can only narrow what an editor can do.
Combining sheet and range protections
You can have a sheet protection and one or more range protections on the same tab. They add up rather than replace each other. For example, you might protect the whole Budget sheet so only the finance team edits it, and also protect the header row so only you can change it. A finance teammate can edit the body of the sheet but is blocked on the header, because the header range protection lists only you.
When several protections overlap, check each one when you troubleshoot. A user who is blocked on a cell may be on the sheet's editor list but missing from a narrower range protection above it.
A preview of exceptions
The most useful companion to sheet protection is the Except certain cells option on the sheet form. It lets you protect everything on the tab except ranges you name, such as input cells. The next chapter covers it in detail. For now, remember that it is a property of the sheet protection, not a separate protection. Removing the sheet protection removes the exceptions along with it.
Managing and removing a sheet protection
All protections live in the Protected sheets & ranges sidebar:
- Select an entry to change its description, its permissions, or (for a sheet) its exceptions.
- To remove a protection, select the entry and use the trash icon, then confirm.
- Only people who can edit that protection can change or delete it. If you are not on the list, you can see the entry but the controls are unavailable.
Sheet protections also behave in a few predictable ways when files are copied:
- When you make a copy of the whole spreadsheet, the copy keeps its protections, and you become the owner of the copy. Because you own it, you can remove them.
- When you copy a single tab into another spreadsheet (right-click the tab, Copy to), the protection settings travel with it in many cases, but the editor list may refer to people who have no access to the new file. Check the sidebar in the destination file afterward.
Common errors and fixes
- "You are trying to edit a protected cell or object." The editor is not on the protection's list. Add them as a protection editor, or confirm that they actually should be blocked.
- The custom editor list does not show someone you want. They are not an editor of the file. Share the file with edit access first, then reopen Set permissions.
- Protection seems to do nothing. Check whether the protection is warning-only, or whether the person is a listed editor. Also check whether the cell is inside an exception range.
- New data is unprotected. You protected a range, not the sheet. Switch to a sheet protection if the whole tab should be locked.
- A teammate cannot sort or filter a protected sheet. Sorting changes cell contents, so it is blocked for non-listed editors. Give them a filter view on a separate copy, or add them to the editor list.
- You locked yourself out of nothing, but others are stuck. "Only you" blocks every other editor. If a tab should be shared with a team, use a custom list or the domain option.
Choosing sheet protection or range protection
| Situation | Better choice |
|---|---|
| Whole tab is read-only for most editors | Sheet protection |
| Only a header row or a few columns are sensitive | Range protection |
| The tab will gain rows and columns over time | Sheet protection |
| Several different groups edit different blocks | Several range protections |
| Mostly locked tab with a few input cells | Sheet protection with exceptions |
Exercise
A teammate protects the range A1:F200 on a tab called Forecast, restricted to "Only you". A month later, new rows are added up to row 260, and another editor overwrites a formula in row 230. Why was that edit allowed, and what would have prevented it?
Show answer
The range protection covered only A1:F200, so row 230 was outside it and unprotected. Protecting the entire sheet (Data > Protect sheets and ranges > Add a sheet or range > Sheet tab) would have covered the new rows automatically, because a sheet protection applies to every cell on the tab, including cells added later.
Exercise
You protect the "Rates" sheet with a custom editor list containing you and one colleague. A third editor of the file can still read every value on Rates, copy it into another file, and use it in formulas on their own tab. Is the protection malfunctioning? Explain what it does and does not control.
Show answer
No. Protection controls who can write to the sheet (edit values, formulas, formatting, structure), not who can read it. Anyone with access to the file can view, copy, download, and reference the data. To keep the rates private, the third person must not have access to the file at all.