Skip to main content

How to lock cells in Excel

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 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.

Difficulty

Easy

Duration

5 minutes

What You Need

  • Microsoft Excel

  • PC

Locking individual or multiple cells

Step 1: An Excel spreadsheet is already locked by Microsoft. 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

Editors' Recommendations

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 download YouTube videos for offline viewing
A smartphone displaying YouTube on its screen as it lays on top of a laptop's keyboard.

YouTube might be a streaming-first video platform, but you can download YouTube videos, too. You can even download them for free with the right software, although simply being a YouTube Premium member is the most straightforward method. Having a YouTube video saved offline makes it easy to view it later, watch it when you're offline and away from a stable Wi-Fi connection, or just watch it multiple times without having to re-stream it.

Whatever reason you have for wanting to download a YouTube video, though, there are a range of ways to do it. Here's how.

Read more
How to cancel Spotify Premium on any device
Event listing for Chappel Roan on Spotify, seen on an iPhone.

Your Spotify Premium account has served you well for many years, but you’ve recently gotten the bug for hi-res listening, so it’s off to Tidal for all things tunes! Or maybe you’re just trying to lighten the load when it comes time to pay for your monthly streaming subscriptions. Whatever the case may be, canceling Spotify Premium isn’t too difficult, and we’ve put together this step-by-step guide to get you pressing that red goodbye button on your PC, smartphone, or tablet.

Read more
How to delete your ChatGPT account
Infinix Zero 30 5G Android phone in gold color with ChatGPT virtual assistant.

It’s hard to deny the amazing capabilities of an AI chatbot like ChatGPT. That being said, maybe you’ve been an OpenAI devotee (the makers of ChatGPT) for some time, and you’re ready to cancel your account. Fortunately, putting a pin in your ChatGPT profile isn’t overly difficult, and can be accomplished using a desktop PC or mobile device. We also know a thing or two about all of the above, so we put together this guide to help you through your day of deletion.

Read more