Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to lock cells and protect sheets in Google Sheets

With the advent of the Internet and cloud-based technology, collaboration and information exchange have become a breeze. Google Sheets has been the leader in the spreadsheets space. As easy as it has become to work on these ubiquitous applications, it is equally secure the data on the Google Sheets files. This article explains the procedure to protect cells or pages in Google Sheets.

To lock cells in Google Sheets, you protect them. Pick a range, a row, a column, or a whole sheet tab, then decide who can still edit it, or let people edit after a warning. Excel also lets you lock cells, but the steps are different there. See how to lock and protect an Excel workbook.

Why protect cells or pages in Google Sheets?

Most of us use Google Sheets because of the ease with which we can share the spreadsheet files with others. While this has made our work life easier, it also comes with certain concerns. Let us consider an example. A VP of sales in a retail store chain wants to have the sales figures from all the regions in one spreadsheet. Accordingly, he has shared the file to his sales team where each sales manager inputs the sales data corresponding to his/her region. A summary sheet consolidates the data into one place, where he gets to compare the performance across regions.

While all of this is in place, the VP doesn’t want his sales team to accidentally manipulate any formulas or numbers on the summary sheet. This scenario definitely calls for a solution that can protect cells or pages in Google Sheets. We explain how to do this below. Here’s how the summary sheet looks like.

Protect cells in Google Sheets — All Regions summary sheet with customers and monthly revenue for regions A, B and C

How to lock cells in Google Sheets

There are two ways to open the protection settings for a cell: the right-click menu and the Data menu. Both lead to the same sidebar.

Use the right-click menu

1. Right-click the cell you want to lock and go to View more cell actions > Protect range.

Lock cells in Google Sheets — Protect range under View more cell actions in the right-click menu of cell B4

2. In the sidebar that appears, click “+ Add a sheet or range”.

Lock cells in Google Sheets — Add a sheet or range in the Protected sheets and ranges sidebar

3. Confirm the cell you want to lock matches the value in the sidebar (B4 in the example) and click “Set permissions”.

Lock cells in Google Sheets — range Sheet1!B4 in the sidebar with the Set permissions button

4. Confirm that “Only you” is selected from the drop menu in the window and click “Done”.

Lock cells in Google Sheets — Restrict who can edit this range set to Only you

Use the Data menu

You can also go to Data > Protect sheets and ranges. The screenshots below come from an older version of Google Sheets, where the menu item was called Protected sheets and ranges.

The VP is looking to protect the cells A1 through C4 which contain information that should not be changed. To do so, we navigate to Data > Protected sheets and ranges.

Lock cells in Google Sheets — Protected sheets and ranges at the bottom of the Data menu

In doing so, we see sidebar on the right side of the screen. Now we click on the Add sheet or range button.

Lock cells in Google Sheets — Add a sheet or range at the top of the Protected sheets and ranges sidebar

Now, we give a description of our choice to explain what this means if we ever came back to it in the future. We ensure that Range button is clicked and the corresponding field shows ‘All Regions’!A1:C4.

Lock cells in Google Sheets — description Summary_Figures and range All Regions A1:C4 in the sidebar

Now we click on the Set permissions button. On the options window that pops us, we can set the permissions of our choice. We may either choose to just configure it to show a warning message when another user tries to change a protected cell. Or, we can set it so that no one can edit these cells. Or even set a custom list of users who can edit the cells. In this case, we leave it as shown in the image below. Finally, we click on the Done button.

Lock cells in Google Sheets — Range editing permissions dialog with Restrict who can edit this range and Only you

How to lock a row or column so others can’t edit it

Rows and columns lock the same way as cells. The only difference is where you right-click: on the row number or on the column letter.

Lock a row

1. Right-click the number of the row you want to lock and go to View more row actions > Protect range.

Lock a row in Google Sheets — Protect range under View more row actions for row 4

2. Confirm the row you want to lock matches the value in the sidebar (4:4 in the example) and click “Set permissions”.

Lock a row in Google Sheets — range Sheet1!4:4 in the sidebar with Set permissions

3. Confirm that “Only you” is selected from the drop menu in the window and click “Done”.

Lock a row in Google Sheets — Range editing permissions set to Only you for row 4

Lock a column

The same steps apply if you want to lock/protect a column in Google Sheets:

1. Right-click the letter of the column you want to lock and go to View more column actions > Protect range.

Lock a column in Google Sheets — Protect range under View more column actions for column B

2. Confirm the column you want to lock matches the value in the sidebar (B:B in the example) and click “Set permissions”.

Lock a column in Google Sheets — range Sheet1!B:B in the sidebar with Set permissions

3. Confirm that “Only you” is selected from the drop menu in the window and click “Done”.

Lock a column in Google Sheets — Range editing permissions set to Only you for column B

To keep a row or column on screen while you scroll, rather than stop edits, freeze it instead. See how to freeze rows and columns in Google Sheets.

How to protect a sheet in Google Sheets

Protecting a sheet locks one tab of your spreadsheet. The other tabs stay editable unless you protect them too.

There can be other instances when we want to protect an entire sheet or almost all of it. In this case, we can opt for the Sheet button as shown in the image below. We can even exempt cells that we do not want to protect from the protected sheet.

Protect a sheet in Google Sheets — Sheet tab of the sidebar with All Regions picked and Except certain cells

From the sheet tab

You can also start from the tab at the bottom of the screen:

1. Right-click the tab of the sheet you want to lock and choose Protect sheet.

Protect a sheet in Google Sheets — Protect sheet in the menu of the Sheet1 tab

2. Confirm the sheet you want to lock matches the value in the sidebar (“Sheet1” in the example) and click “Set permissions”.

Protect a sheet in Google Sheets — Sheet option with Sheet1 and the Except certain cells checkbox

3. Confirm that “Only you” is selected from the drop menu in the window and click “Done”.

Protect a sheet in Google Sheets — Range editing permissions set to Only you for Sheet1

Choose who can edit, or only show a warning

When you click “Set permissions” while locking a cell, the window that opens is called “Range editing permissions”.

This window allows you to choose who can edit your chosen cell or to leave a warning message for other users. The following steps will show you how to give editing permission to other users:

1. Follow the first three steps of the right-click method under How to lock cells in Google Sheets, above.

2. When the “Range editing permissions” window opens, click the drop menu containing “Only you” and select “Custom”.

Lock cells in Google Sheets — Custom in the drop-down menu under Restrict who can edit this range

3. In the box labeled “Add editors:”, insert the names of the users to whom you want to give permission and click “Done”. These users can now edit your chosen cell too.

Lock cells in Google Sheets — Add editors box with an email address under Custom

Now, what happens when another user tries to edit one of these protected cells? Here’s how it prevents them.

Protect cells in Google Sheets — There was a problem message for someone who edits a protected cell

To leave a warning message for other users when the Range editing permissions menu is open, select “Show a warning when editing this range” and click “Done”.

Lock cells in Google Sheets — Show a warning when editing this range selected

Although other users can still edit the contents of your chosen cell, the warning informs them that you want to protect this value.

You can also warn or reject users from editing important formulas within your Google Sheet. Often there are several cells that impact a formula used within Google Sheets – one accidental edit can impact the entire function. Protect the cells your formulas depend on, with a warning or a restriction, so one stray edit can’t break the calculation.

How to unlock cells in Google Sheets

To unlock a cell that you have locked, follow these four simple steps:

1. Go to Data > Protect sheets and ranges.

Unlock cells in Google Sheets — Protect sheets and ranges in the Data menu

2. Click the locked cell in the sidebar at the right side of your screen.

Unlock cells in Google Sheets — Sheet1 listed in the Protected sheets and ranges sidebar

3. Click the trash can symbol beside the description box.

Unlock cells in Google Sheets — trash icon next to the description of the protected sheet

4. Confirm the unlocking by clicking “Remove”.

Excel works the other way around: every cell starts out locked, and the lock only applies once you protect the sheet. Here’s how to unlock cells in Excel.

Unlock cells in Google Sheets — Remove button in the dialog that confirms removing a protected range

This is how you protect cells or pages in Google Sheets! Feel free to read the following blog posts and learn how to only temporarily share your spreadsheet data with others or how to name ranges or cells in Google Sheets.

If you want a whole team to edit the file instead, see how to make Google Sheets editable by multiple users.

Protected ranges stop edits, but anyone you share the file with can still see it. To keep people from opening the data at all, see how to password protect a Google Sheet.

In Excel, you can lock sheets and whole files with a password. If you later need to edit one of them, here is how to remove a password from Excel.

You may also like…

google sheets features and formulas

Top 5 dynamic array formulas in Google Sheets 

Google Sheets has evolved beyond basic spreadsheets. With the introduction of dynamic array formulas, users can now manipulate and analyze...
google sheets features and formulas

Mastering the FILTER Formula: 4 Use Cases with Examples

The FILTER formula in Google Sheets is a versatile tool for extracting data that meets specific conditions. Unlike the QUERY formula,...
google sheets features and formulas

Unlocking the Power of SUMIF and SUMIFS in Google Sheets: 4 real-life use cases

The SUMIF and SUMIFS formulas in Google Sheets are indispensable tools for performing conditional summations. They simplify complex...