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…
Google’s Gemini 4 Carbon is built for complex coding and cybersecurity tasks
Gemini 4 Carbon currently ranks first on Artificial Analysis' updated Intelligence Index.
google-gemini-4-carbon

Google just dropped its latest AI model, Gemini 4 Carbon, designed to tackle complex coding jobs and cybersecurity threats. The company claims it can work through difficult engineering problems for days, finding hidden bugs and developing fixes across large codebases.

Gemini 4 Carbon also takes the top spot on Artificial Analysis' updated Intelligence Index, scoring 59 points, pushing out Claude Opus 5.5, OpenAI's GPT-6 Astra, and even its own predecessor Gemini 4 Argon.

Read more
A top-shelf MacBook Pro PROLED XDR can be yours for just under $15,000
For a mere $14,549, you can get yourself the fully kitted 16-inch MacBook Pro PROLED XDR with the beefiest laptop chip that Apple has to offer
MacBook Pro PROLED XDR laptop

Apple has just introduced a redesigned MacBook Pro with a few bells and whistles. The focus this time around is on a thinner and lighter build, and an upgrade to a touch-sensitive OLED screen without any ugly notch. And, in case you were wondering, there is definitely a price premium to pay for these niceties, which also include a glowing Apple logo at the back. What if you wanted to get the best that Apple has to offer? Well, the numbers are finally here.

For a mere $14,549, you can get yourself the fully kitted 16-inch MacBook Pro PROLED XDR with the beefiest laptop chip that Apple has to offer, and the best memory configuration in tow. For nearly $15,000, you treat yourself to the 16-inch version of the laptop with a nano-texture glass layer on the screen to reduce reflections and glare.

Read more
What’s actually new and different on the MacBook Pro PROLED XDR? Here’s everything you need to know
Touchscreen vs. non-touchscreen MacBook Pro differences

Apple has unveiled its first-ever touchscreen MacBook Pro. The company seems a bit confused about the naming, calling it the "MacBook Pro with PROLED XDR Display," which is tough to remember. If you look past that and review the full spec sheets, you might ask a genuine question: what are the differences between the touchscreen and non-touchscreen versions?

Given that Apple continues to sell both variants together, that's a genuine question. Luckily, you don't have to spend more time lining up the spec sheets side by side and hunting for differences hidden in the fine print. I took that bullet for you. Here's everything that's different between the PROLED XDR Display and the regular MacBook Pro.

Read more