Skip to main content

How to lock cells in Excel

microsoft office google play store how to use for free
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 Digital Trends Contributor
Zak Islam was a freelance writer at Digital Trends covering the latest news in the technology world, particularly the…
How to clean a laptop fan
Cleaning a laptop fan with air blower.

Even the best laptops can run hot and loud. If this seems familiar, then it might be time to give its internal heatsink and laptop fan a clean. While cleaning a laptop isn't the easiest thing in the world to do effectively, if you can manage it, then it can make a big difference to your laptop's temperatures, and let you enjoy a more serene laptop experience without the fan whirring away at you.

Read more
How to open the Nvidia Control Panel
Nvidia GeForce RTX Gaming Setup with Monitor and PC build.

The Nvidia Control Panel allows you to access all the features of your graphics card, so knowing how to open the Nvidia Control Panel allows you to quickly change your monitor and graphics card settings.

Although the Nvidia Control Panel isn't readily apparent on your desktop, opening it is simple. We have a handful of ways to access it, as well as some tips for how to get the most out of the software.
How to open the Nvidia Control Panel

Read more
Microsoft Word may delete your files — here’s how to avoid it
Windows 11 logo on a laptop.

There's a new bug in Microsoft Word that may delete your files, and according to user reports, they're not always recoverable through the Recycle Bin. Fortunately, Microsoft is aware of the problem, but it's unclear when the issue might be fixed. If you want to make sure that your files stay safe, we've got a few workarounds to help you out.

In the last few days, the Microsoft community boards have been flooded with reports of people complaining about their files randomly being deleted, with one user saying: "I use Word. Today, it deleted eight hours of work." Further reports quickly made it clear that the affected files have a few things in common.

Read more