Templates, guides & honest tool reviews for small business

Sunday, November 29, 2026

Protect Cells in Google Sheets: Lock Ranges and Leave Input Cells Open

Protect cells in Google Sheets
Illustration: Protect cells in Google Sheets

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

  1. Select the cells, for example B2:B50.
  2. Click Data, then Protect sheets and ranges.
  3. In the side panel, click Add a sheet or range, and type a short description.
  4. Check the range is right, then click Set permissions.
  5. Choose who can edit and click Done.
Steps to protect a range in Google Sheets
Five steps (illustration).

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.

Permission options for a protected range in Google Sheets
Only you, custom or warning (illustration).

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 a sheet except certain cells in Google Sheets
Leave input cells open (illustration).

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.

What protection in Google Sheets cannot do
Not a way to hide data (illustration).

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.

العربية