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

How to password-protect an Excel file on Windows and Mac

Add as a preferred source on Google
A person using a laptop while lounging on a couch.
Image used with permission by copyright holder

If you use a computer, you probably have some Microsoft Excel documents on your Mac or PC that you wouldn’t want other people to find and read.

After all, Excel serves not only the average person, but also businesses, government institutions, and millions of other folks worldwide. Whatever you’re using Microsoft Excel for, the best way to keep that information safe is to learn how to password-protect an Excel file.

Recommended Videos

Difficulty

Easy

Duration

5 minutes

What You Need

  • An Excel document

  • Microsoft Excel

  • A PC

Adding a password

Whether you’re creating graphs in Excel, creating a pivot table, or just inputting rows and rows of data, password-protecting your data isn't just a good idea, it's also easy.

Step 1: In Excel, open the document you want to secure with a password.

Step 2: Click File, followed by Info.

Excel 2016 Protect Workbook options.
Mark Coppock / Digital Trends

Step 3: Next, click the Protect workbook button. From the drop-down menu, select Encrypt with password.

Step 4: Excel will then prompt you to type in a password. Pick one that’s complicated and unique and note it down in a quality password manager.

Excel prompting user to create and enter in a password for document.
Mark Coppock / Digital Trends

File encryption

Now that you’ve password-protected your most essential files, it might be worth considering adding extra layers of security to your system. The easiest way to protect a large number of records is to encrypt them. Luckily, encryption programs are not hard to find. Windows 10 Professional users have a built-in encryption utility called BitLocker. Still, if you want to download a free version with customization options for different types of data, you can try the VeraCrypt open source download.

Additional security options

Excel also allows you to apply more customized security options to your file if necessary. It’s important to know what these other options do so you can create the right security for your project. Under Protect workbook, you’ll find several additional features that may prove useful:

Mark as final: This will mark the file as completed, which lets other people know that they shouldn’t make any changes. Using this option will not secure the data behind a password, however, so it doesn’t offer any security.

Protect current sheet: This will guard the currently selected worksheet with a password so that people can’t make any changes or only certain kinds of changes. It’s a handy option if there’s only one sheet in the workbook that you want to protect, and you don’t mind if people can see the info — you just don’t want them messing with anything. You will notice that there’s also an option to do this with Workbook structure, which protects from larger changes to the workbook (like adding a new sheet), unless people have the password.

Add a digital signature: You can guarantee that only you have access to and control over your Excel files by adding a digital signature.

Safeguarding Excel files is a crucial task that many people overlook. There are plenty of safety measures available to ensure that your information remains private and secure, starting with password protection.

But if all this seems like overkill, you have less extreme options to protect your worksheets. For example, you might prefer to lock cells in Excel to stop them being accidentally altered.

Jon Martindale
Jon Martindale covers how to guides, best-of lists, and explainers to help everyone understand the hottest new hardware and…
Apple could skip Pro and Max trims for M6 silicon, eyes M7 for beefy upgrades
A new Mac Studio with an M5 Ultra chip might also be on the way.
Macbook Pro

It looks like Apple's silicon strategy is primed for yet another big overhaul. According to a fresh report by Bloomberg, the upcoming M6 processor will only get a baseline version, and there won't be any Pro or Max variants offered for it. Instead, Apple is reserving those powerful upgrades for the M7 series of silicon, including an Ultra version planned for it. 

“The company is taking this unusual step in order to fast-track technologies that it originally planned to release later. The change should help meet growing demand for on-device AI capabilities and more graphics-intensive software,” says the report. 

Read more
Apple just raised the price of its products by hundreds of dollars
Apple shielded customers from memory costs longer than anyone. But the inevitable has happened.
iPadOS 27 on iPad

For months, the memory crisis was everyone else’s problem, but it didn't affect Apple. While smartphone and laptop makers quickly gave in, raising prices across their entry-level and flagship products, Apple stood strong, absorbing costs through long-term supplier deals that gave it leverage most brands simply didn’t have.

The situation, I fear, has gotten worse. Earlier today, the Cupertino giant revised the prices for multiple products, including the MacBooks, iPads, and Mac Studio. 

Read more
I found 2 Prime Day budget laptop deals that make sense for students, work, and everyday use
Best Prime Day laptop deals i found under $500
Computer, Electronics, Laptop

Prime Day has no shortage of budget laptop deals, which makes it harder to tell which ones are actually worth buying. I sifted through the options and narrowed it down to two laptops that look like the best value picks if you need an affordable Windows machine for everyday work, school, browsing, streaming, and basic productivity.

ASUS Vivobook 14

Read more