Google Sheets Protect Range: How to Lock Cells

How-to basics · Updated November 23, 2026

Yes, Google Sheets lets you protect a range of cells so only people you choose can edit them. You do this by right-clicking the selected cells, choosing View more cell actions > Protect range, or by going to Data > Protect sheets and ranges. This locks the cells against accidental or unauthorized changes while still letting others view them.

What Does Protecting a Range Actually Do?

When you protect a range in Google Sheets, you are setting permissions on that specific set of cells. By default, anyone with edit access to the sheet can still see the protected cells, but they cannot change their contents unless you add them as an editor for that range. This is different from hiding cells or locking the entire sheet. Protected ranges are a core feature of Google Sheets’ sharing and collaboration model, designed to prevent accidental deletions, formula overwrites, or tampering with critical data.

You can protect a single cell, a block of cells, an entire column or row, or even multiple non-adjacent ranges at once. The protection applies to the cells themselves, not to the data inside them, so if you later unprotect the range, the data remains exactly as it was.

How to Protect a Range Step by Step

Here is the exact process in a web browser (Google Sheets works the same on Windows, Mac, and ChromeOS):

  1. Open your Google Sheets document.
  2. Select the cell or range you want to protect. For example, click on cell B2, or drag from A1 to C10 to select a block.
  3. Right-click the selection. In the menu that appears, hover over View more cell actions and then click Protect range. Alternatively, use the top menu: Data > Protect sheets and ranges.
  4. A sidebar will open on the right called Protected sheets and ranges. The range you selected is already filled in.
  5. Give the range a name (optional but helpful, like “Input cells” or “Budget formulas”).
  6. Click Set permissions.
  7. Choose who can edit the range:
    • Only you – only the owner of the sheet can edit.
    • Custom – type email addresses of specific people who can edit.
    • Anyone with the link – if your sheet is shared with anyone with the link, they can edit this range (this is rarely used for protection).
  8. Click Done or Save.

If you want to protect an entire sheet instead of a range, choose Data > Protect sheets and ranges, then click the Sheet tab in the sidebar and select the sheet name. This locks every cell on that sheet.

How to Choose Which Cells to Protect

Think about what needs to stay untouched. Common choices include:

  • Cells with formulas that calculate totals or metrics.
  • Input cells that are part of a data validation dropdown (so users can’t type invalid data).
  • Header rows or columns that contain labels.
  • Cells with conditional formatting rules that depend on exact values.
  • Entire columns or rows that contain reference data, like a price list.

Do not protect cells that users need to edit regularly, like data entry fields. If you protect an entire column, users cannot add new rows in that column without editing permission. For example, if you protect column A and someone tries to type in cell A5, they will see a message: “The cell you’re trying to edit is protected.”

What Happens When Someone Tries to Edit a Protected Range?

When a user without permission tries to type in a protected cell, Google Sheets shows a small pop-up notification at the top of the sheet: “The cell you’re trying to edit is protected. To request access, ask the owner.” They cannot change the cell content. However, they can still copy the data, sort the sheet (if the protected cells are part of a sort range, the sort might be blocked or the protected cells might move), and they can still see the values. If they try to delete a row that contains a protected cell, they get a similar error.

One important nuance: protecting a range does not stop someone from copying the entire sheet to a new spreadsheet and editing it there. It only protects the original file.

Common Problems and How to Fix Them

Here are the typical issues you might run into:

  • “The range is already protected” – This happens when you try to protect a range that overlaps with an existing protected range. You can have multiple protected ranges, but they cannot overlap. Go to Data > Protect sheets and ranges to see all existing protections and edit or remove them.
  • You can’t edit your own protected range – If you set permissions to “Only you” but you are not the owner of the spreadsheet (you have edit access but the file is owned by someone else), you might be locked out. The owner must add you as an editor for that range.
  • Protection doesn’t stop formatting changes – By default, protection only prevents changes to cell values, not formatting. Users can still change font color, background, or borders on protected cells unless you also check the box “Restrict who can edit this range” and then also check “Restrict formatting” in the permissions dialog. This is a separate option.
  • Users can’t insert rows in a protected sheet – If you protect an entire sheet, users cannot insert rows or columns because that would change the structure. To allow row insertion but protect specific cells, protect only the cells, not the whole sheet.

Protection vs. Other Locking Methods

Google Sheets does not have a “lock cell” button like Excel’s Protect Sheet feature. Instead, the only way to lock cells is through the protected ranges feature. Excel’s approach is similar but different: in Excel, you first unlock all cells (by default they are locked), then select the cells you want to lock, then protect the sheet. In Google Sheets, you select the cells you want to protect and then set permissions. There is no global sheet password; instead, permissions are tied to the sharing settings of the file.

If you need to prevent all edits to a sheet, you can also change the sharing settings from “Editor” to “Viewer” for everyone except yourself. But that locks the entire sheet, not just a range.

Costs and Limitations

Protecting ranges is completely free for all Google account users. There is no premium tier that unlocks this feature. However, there are limitations:

  • You can protect up to 100 ranges per sheet (this is a technical limit that Google does not officially document, but it is high enough for most uses).
  • Protection is not available in the Google Sheets mobile app for editing permissions? Actually, you can view protected ranges on mobile, but you cannot create or modify them from the Android or iOS app. You must use a desktop browser.
  • If you use Google Sheets offline, protection still works, but changes to permissions require an internet connection.

Frequently Asked Questions

Can I protect a range but allow certain people to edit it?

Yes. When you set permissions, choose “Custom” and enter the email addresses of those people. They will be able to edit that specific range even if they are not editors of the entire sheet. If they are already editors of the sheet, they can edit everything unless you restrict them specifically.

Does protecting a range hide the data?

No. Protected cells are still visible to everyone who can view the sheet. If you need to hide data, you can hide columns or rows, or put the data on a separate sheet and share that sheet only with specific people.

Can I protect a range in Google Sheets on my phone?

You cannot create or edit protected ranges from the Google Sheets mobile app. You can only view them. To set up protection, open the spreadsheet in a web browser on a computer.

What if I forget which cells are protected?

Go to Data > Protect sheets and ranges. The sidebar will list all protected ranges. Click on one to see the exact range highlighted on the sheet. You can also see a small shield icon next to the range name in the sidebar.

Can I copy a protected range to another sheet?

Yes, you can copy the data, but the protection does not carry over. You would need to protect the range again in the destination sheet. If you copy the entire sheet, the protection is copied along with it.

Why can I still edit a protected range?

If you are the owner of the spreadsheet, you can always edit protected ranges unless you explicitly remove your own permission. Also, if you set permissions to “Only you” and you are the owner, you can edit. If you are not the owner but have edit access, the owner must add you to the custom list. Check the permissions by going to Data > Protect sheets and ranges and clicking on the range.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.