Skip to main content
  1. Home
  2. Computing
  3. How tos

How to lock cells in Excel

Add as a preferred source on Google
A person using a laptop that displays various Microsoft Office apps.
Shutterstock

Locking cells in a Microsoft Excel spreadsheet is a super useful thing to know how to do. It’s used to protect a certain segment or an entire worksheet from being modified by anyone other than the spreadsheet’s creator.

For example, if you’re an employer and you use Microsoft Excel to create a spreadsheet with multiple drop-down lists for applicants, locking cells will prevent recipients of that form from tampering with any of the data.

Here’s a guide on how to lock cells in Excel.

Recommended Videos

Difficulty

Easy

Duration

5 minutes

What You Need

  • Microsoft Excel

  • PC

Locking individual or multiple cells

Step 1: An Excel spreadsheet might already be locked. Therefore, to lock individual or multiple cells, you’ll have to unlock the spreadsheet first. To do this, click the Green Diagonal button on the top-left side of the first cell.

The button to select all cells within a spreadsheet on Microsoft Excel.
Image used with permission by copyright holder

Step 2: Right-click your mouse and select the Format Cells option from the menu.

The Format Cells button in Microsoft Excel.
Image used with permission by copyright holder

Step 3: Select the Protection tab and unselect the Locked button. Click OK.

The Locked button found within the Protection tab in Microsoft Excel.
Image used with permission by copyright holder

Step 4: Now choose what cells you want to lock by clicking on them. You can select a single cell, multiple cells, a row, or an entire column.

Step 5: Within the selected cell or cells, right-click and choose Format Cells.

Step 6: Navigate to the Protection tab again, select the Locked box, and then click OK.

Locking specific cells in Microsoft Excel by using the Locked box.
Image used with permission by copyright holder

Step 7: In order to confirm the locking of cells, click the Review tab. Now click the Protect Sheet option.

The Protect Sheet button in Microsoft Excel used for confirming the locking of cells.
Image used with permission by copyright holder

Step 8: Choose what sort of protection you want from all the options shown. By default, the Select Locked Cells and Select Unlocked Cells fields are already ticked. You can also input a password for further protection. Click OK.

The cells you’ve chosen will now be locked.

The Protect Sheet window where it lists all the configuration options connected to locking cells.
Image used with permission by copyright holder

Locking an entire spreadsheet

Step 1: At the bottom of Microsoft Excel, right-click the spreadsheet you want to lock.

Step 2: Select the Protect Sheet option. As explained in step 8, customize the different types of protection you want to apply to the spreadsheet, then click OK. As we mentioned in step 1, Microsoft already locks an Excel spreadsheet, so you won’t need to take the steps to do so yourself.

A shortcut to access the Protect Sheet option for locking an entire spreadsheet in Microsoft Excel.
Image used with permission by copyright holder

Now you know how to lock and unlock cells and your Excel spreadsheet, you can retain better control over your data and avoid mistakes with entry.

Excel spreadsheets are considerably flexible, which makes the software suitable for all manner of purposes. If you know how to merge and unmerge cells in Microsoft Excel, you can use it for just about anything.

Zak Islam
Former Contributor
Zak covers the latest news in the technology world, particularly the computing field. A fan of anything pertaining to tech…
Windows 11’s modern Media Player is somehow worse than the version from 17 years ago
The modern Media Player for Windows 11 is slower and heavier than the classic version
Windows 11 media player user interface

Microsoft has released a new Insider Preview update for the modern Windows 11 Media Player. However, the app is facing criticism after tests revealed it uses more memory and opens local video files more slowly than the classic 17-year-old Windows Media Player.

The update adds some useful fixes, including better captions, clearer codec errors, and improved file recognition. But the biggest complaints remain higher RAM usage and paid codec support for some common video formats. The update is not available to everyone yet. Media Player version 11.2605.14.0 has only arrived on Experimental Insider builds as part of Microsoft’s June 12 Insider Preview releases.

Read more
If you have a Mac, you should try this free and beautifully-designed disk space tool
Radix is a free open-source alternative to paid Mac disk analyzers
File, Electronics, Mobile Phone

Running out of storage on a Mac is common, but Apple’s built-in storage tools are not always great at showing what is actually taking up space. You usually get broad categories, but finding the exact folders, downloads, app files, or old projects causing the problem can still take some work.

Radix is a free, open-source Mac app that tries to make that process clearer. It is a disk space analyzer that scans a folder, drive, or volume and displays the results in an interactive sunburst chart. Rather than digging through folders manually, you get a visual overview of how storage is being used across your drive.

Read more
This free Mac app puts stunning glassy widgets on your lock screen
WidgetScreen brings weather, calendar, battery, and music widgets to your Mac lock screen
Aquatic, Water, Animal

The Mac lock screen has always felt a little underused. You see the time, your wallpaper, and not much else. macOS already supports desktop widgets, but once your Mac is locked, that extra information disappears.

WidgetScreen is trying to fix that in a pretty simple way. The free Mac app, made by UK computer science student Sam Cook, adds glassy widgets to the lock screen so you can quickly check things like the weather, clock, calendar, battery, music playback, countdowns, and system information.

Read more