How to stop people editing formulas in a shared Google Sheet

Illustration of a Windows laptop with the words "Protected range": Stop people editing formulas

The Solo Toolbox · Software Help for One-Person Businesses

To stop clients or collaborators breaking the formulas in a shared Google Sheet, protect those cells. Open the sheet, go to Data > Protect sheets and ranges, select Add a sheet or range, choose the cells or the whole sheet, then select Set permissions and restrict who can edit. You can still leave some cells open for input. Know what this does and doesn’t do: Google says protection shouldn’t be used as a security measure, because anyone with access can still copy, print or download the spreadsheet. It stops accidental edits, not prying eyes.

Protect cells in Google Sheets. Data, Protect sheets and ranges, Add a sheet or range. Choose Sheet and tick Except certain cells to leave input cells open. Set permissions: restrict who can edit, Only you. Google's warning: protection isn't a security measure; people with access can still copy, print or download.

Before you start

  • You’ll need: a Google Sheet you own or can edit, and a computer.
  • Applies to: Google Sheets on personal and Google Workspace accounts. If the option is missing, the file may be open in Office editing mode; Google says to convert it to Google Sheets first.
  • Time: about 5 minutes.
  • How we checked this: based on Google’s own Sheets and Drive help pages, checked October 18, 2026.

When protection helps

Shared spreadsheets break in predictable ways: someone types over a formula, sorts one column without the others, or deletes a row that a total depended on. Protection is for that. Typical uses for a solo business:

  • a quote or pricing calculator where clients enter quantities but shouldn’t touch the formulas;
  • a shared project tracker where only you change the dates and budget columns;
  • a timesheet where the totals row must stay intact.

One thing people mix up: if you want rows or columns to stay visible while you scroll, that’s freezing (View > Freeze), not protecting. Freezing doesn’t stop anyone editing those cells. Protecting, below, does.

Protect a range or a whole sheet

  1. Open the spreadsheet and go to Data > Protect sheets and ranges. A panel opens on the right.
  2. Select Add a sheet or range.
  3. Choose Range to protect specific cells, or Sheet to protect a whole tab.
  4. Select Set permissions.
  5. Choose to restrict editing, then Only you, or Custom to pick specific people.
  6. Select Done.

To check what’s protected, go to View > Show > Protected ranges.

Leave input cells open

The most useful setup is often the reverse: lock the whole sheet except the cells people should fill in.

  1. In the protection panel, choose Sheet.
  2. Tick Except certain cells and select the cells you want people to be able to edit.
  3. Set permissions as above.

Now your client can type quantities or hours into the open cells, and everything else, including the formulas, stays as you built it.

Warning instead of locking

If you’d rather not block anyone, choose Show a warning when editing this range instead. Google says this doesn’t stop edits; people are asked to confirm before changing the cells. It’s a gentler option for collaborators you trust who just need a reminder.

Unprotect cells or remove protection

To unlock cells you protected, according to Google’s instructions:

  1. Go to Data > Protect sheets and ranges.
  2. If the panel opens on a new protection, select Cancel to see the list of every protected range and sheet.
  3. Select the protection you want to remove, then the Delete (bin) icon.

To change who can edit instead of removing the protection, select it in the same list and choose Change permissions.

If someone else protected the cells and you can’t edit them, you can’t unprotect them yourself. Ask the owner, or, as Google suggests, make your own copy with File > Make a copy and work in that.

What protection doesn’t do

Google is direct about the limits:

  • It isn’t security. Anyone with access can still print, copy, paste, import or export a copy of the spreadsheet.
  • There’s no password protection for sheets.
  • Formatting and input can’t be split. Google says you can’t lock cell formatting and allow input edits on the same sheet.
  • Hiding a sheet isn’t protection. Google says editors can unhide sheets, and viewers can still reach hidden content, for example by making a copy.

So if a sheet contains something a client shouldn’t see at all, such as your costs or margins, keep it in a separate file they don’t have access to. Control who has access with the file’s sharing settings: in Drive, give clients Viewer access if they only need to look, and Google lets owners stop viewers from downloading, printing or copying.

If it doesn’t work

  • There’s no Protect sheets and ranges option: the file may be an Excel file open in Office editing mode. Convert it to Google Sheets first.
  • You’re on a phone or tablet: Google says protecting a sheet or range has to be done in Google Sheets on a computer; the Android, iPhone and iPad apps don’t offer it. Protection you set on a computer still applies when people edit in the apps.
  • An editor removed your protection: Google says editors can set restrictions but can’t remove the owner’s permissions. Check who owns the file.
  • Your client can’t type in a cell they need: add it under Except certain cells, or add them under Custom permissions.
  • You share a whole folder of files with a client: our guide to sharing a Google Drive folder with a client safely covers the sharing roles.

For more spreadsheet and admin tips, see our productivity guides.

Related guides

Sources

Update, November 21, 2026: added how to remove protection, the phone-app limit, and the difference between freezing and protecting.

Last checked: October 18, 2026. Google changes Sheets from time to time. If something here no longer matches what you see, let us know.

Get smarter software tips in your inbox

Clear tutorials, honest software recommendations, productivity tips and the tech updates that matter to one-person businesses.

Free. We’ll email you a link to confirm. Unsubscribe anytime with one click. We never share your address. Privacy policy

Get smarter software tips in your inbox

Free. Confirm by email, unsubscribe anytime. Privacy policy

Similar Posts