
To protect cells in Google Sheets, select the range, open Data, then Protect sheets and ranges, and set who can edit it. You can lock a whole sheet, a range, or everything except a few input cells, and you can choose between blocking edits and only showing a warning. This guide shows each step, how to protect a sheet but leave some cells open, how to give edit rights to named people, and what protection cannot do. The menu names can change a little over time, so look for the matching option if yours differs. The sample data is made up.
Protect a range
- Select the cells, for example B2:B50.
- Click Data, then Protect sheets and ranges.
- In the side panel, click Add a sheet or range, and type a short description.
- Check the range is right, then click Set permissions.
- Choose who can edit and click Done.

Who can edit: the options
In the permissions box you can pick "Restrict who can edit this range". Then choose Only you, or Custom to add specific people from the list of collaborators. People you do not add can still view the cells but cannot change them. You can copy permissions from another protected range, which saves time on big files.
Warning only
The other choice is "Show a warning when editing this range". Editors see a message and can still confirm the change. This is a good fit for cells that rarely change, because it stops accidents without blocking anyone. It does not stop deliberate edits.

Protect a whole sheet
Open Data, then Protect sheets and ranges, click Add a sheet or range, and switch to the Sheet tab. Pick the sheet you want. This locks every cell in it for people you do not allow.
Protect a sheet but leave some cells open
This is the most common need, such as an order form where users only type in a few cells. On the Sheet tab, tick "Except certain cells", then add the ranges that stay open. Everyone with access can edit those cells, and the rest of the sheet is locked.

Protect formulas, not data
Often you want people to type numbers but not overwrite the formulas next to them. Protect the formula column as a range. Or protect the whole sheet and exclude the input columns. The sheet then keeps the formulas safe, like those in a SUMIF summary.
Combine with data validation
Protection controls who can edit. Data validation controls what can be typed. Together they keep a form tidy. See data validation with a custom formula and the drop-down list guide.
See and remove protections
Open Data, then Protect sheets and ranges. The panel lists every protected range and sheet. Click one to edit it, and click the bin icon to remove it. Only people who can edit the protection settings can remove them.
What protection cannot do
- Hide data. People who can view the file can still see protected cells and can copy them.
- Stop a copy. Someone with view access can make a copy of the file and edit the copy.
- Stop the owner. The owner of the file can always change protection.
- Protect shared links by itself. If anyone with the link can edit, set the permissions carefully for each range.
For private data, control who the file is shared with. Protection is for preventing mistakes and keeping structure.

Protect cells in Excel
Excel works differently. All cells start as locked, but the lock only works after you turn on Review, then Protect Sheet. To leave cells open, unlock them first with Format Cells, then Protection.
Questions and answers
Can I protect a range for everyone except one person?
Yes. Choose Custom and add the people who may edit. Everyone else is blocked.
Why can a user still edit a protected cell?
They may be on the allowed list, or the protection is set to warning only. Check the permissions.
Does protection stop pasting into a range?
For people who cannot edit the range, pasting is blocked as well.
Can I protect a range on a schedule?
Not with the standard menu. You can use a script for that, which is outside the scope of this guide.
