How to protect a shared Excel workbook without blocking coauthoring

Tested on: Excel for Microsoft 365 on Windows and Excel for the web with a workbook stored in OneDrive or SharePoint.

Protecting a shared workbook is not the same as locking the whole file. A file password, read-only permission, workbook structure protection, and worksheet protection solve different problems. If several people must keep entering data, the useful approach is to leave their input cells unlocked and protect the formulas, labels, and sheet structure around them.

The workbook should also remain in OneDrive or SharePoint so Excel can coauthor it. Microsoft describes the old Shared Workbook feature as a legacy method and recommends modern coauthoring instead. If your team has not established that foundation, review the coauthoring setup before adding cell-level restrictions.

Choose protection that matches the risk

Excel offers several layers, and applying the wrong one creates avoidable friction. Worksheet protection controls what people can change inside a sheet. Workbook protection locks the workbook structure, preventing actions such as adding, deleting, moving, hiding, or renaming sheets. File encryption prevents unauthorized people from opening the file at all.

For a shared operational workbook, worksheet protection is usually the starting point. It can keep formulas and headings intact while leaving data-entry cells available. Workbook structure protection is an optional second layer when the tabs themselves must stay stable.

What protection does not do

Microsoft explicitly says worksheet protection is not a security feature. It helps prevent accidental changes to locked cells, but it should not be your control for confidential data. Use SharePoint or OneDrive sharing permissions to decide who can open or edit the file, and use encryption or rights-management controls when the content itself needs stronger security.

A practical permissions checklist

Before touching the Protect Sheet command, decide what each collaborator actually needs.

  • Store the master file in OneDrive or SharePoint, not in an email attachment or local shared drive.
  • Give edit permission only to people who should change approved input areas.
  • Identify cells for data entry, formulas, lookup tables, headings, and totals.
  • Decide whether users need sorting, filtering, inserting rows, or formatting.
  • Keep a separate owner who knows the sheet password and can revise the design.

This short inventory prevents the common mistake of protecting everything and then weakening the sheet with a password shared broadly.

Unlock input cells before protecting the sheet

By default, cells are marked Locked, but that setting takes effect only after you protect the worksheet. Prepare the editable areas first.

  1. Open the workbook in the Excel desktop app and select the cells teammates should edit.
  2. Press Ctrl+1 to open Format Cells, then select the Protection tab.
  3. Clear Locked and select OK.
  4. Repeat for every legitimate input range. Use named ranges or a consistent fill color if it helps owners recognize them later.
  5. On the Review tab, select Protect Sheet.
  6. Choose only the allowed actions, such as selecting unlocked cells, sorting, or using AutoFilter, then set a password if your process requires one.

The password is useful for change control, but store it safely. Microsoft cannot recover a forgotten protection password.

Protected shared Excel workbook workflow
Unlock the team input range, protect the remaining cells, and test coauthoring with a second account.

Keep the workbook structure stable

If collaborators should not rename, move, hide, add, or delete sheets, select Review > Protect Workbook and protect the structure. This does not control cell editing. Use it alongside sheet protection, not instead of it.

Do not use the legacy Protect Shared Workbook command for a modern cloud file. The older shared-workbook model has significant feature limitations and is different from Microsoft 365 coauthoring.

Test with a real collaborator

Save the file, close any duplicate local copies, and ask a colleague to open the same cloud link. Have that person edit an unlocked input cell, try a locked formula cell, sort or filter if those actions were allowed, and add a new value while you are also editing.

Both people should see presence indicators and each other’s changes. The protected formula should reject edits, while the input cell should accept them. If one person receives a file-locked message, confirm that everyone is using Excel for Microsoft 365 or Excel for the web and opening the same OneDrive or SharePoint copy.

For teams that live in Microsoft Teams, a channel-based file workflow can reduce stray copies because the workbook stays attached to one shared location.

Questions about protected shared workbooks

Can people coauthor while a worksheet is protected?

Yes, provided the file is in a supported cloud location and everyone uses a coauthoring-capable Excel client. Users can edit the unlocked cells and perform only the actions you allowed when protecting the sheet. Test the exact features your workbook uses because some advanced operations can still be restricted.

Should I protect the workbook or the worksheet?

Protect the worksheet when you need to control cell-level edits. Protect the workbook structure when sheets must not be added, deleted, moved, hidden, or renamed. Many business workbooks benefit from both layers, but neither replaces file-sharing permissions.

Why can nobody enter data after I protect the sheet?

The intended input cells were probably still marked Locked. Unprotect the sheet, select the input range, clear Locked on the Protection tab, and protect the sheet again. Also confirm that the relevant action was enabled in the Protect Sheet dialog.

Is a protected sheet safe for confidential information?

No. Worksheet protection is intended to prevent accidental edits, not to secure sensitive data from determined access. Use restricted sharing, information-protection policies, or file encryption for confidential material, and distribute passwords through an approved channel.

Before handing the workbook to the team

Open the shared link in a second account and repeat the normal entry task from beginning to end. Confirm that formulas remain locked, approved cells accept values, filters behave as expected, and two people can save without creating copies. That short test is more valuable than applying every protection option because it proves the controls support the actual work instead of merely making the workbook harder to use.