Protect Excel sheet from being edited

Anonymous
2019-12-27T21:53:28+00:00

I am trying to figure out how to protect an excel sheet from being edited by others. However, i want people to be able to sort/filter and select cells in order to copy and paste. I've watched tutorials but haven't been able to get it to do all 3 things that I want.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

9 answers

Sort by: Most helpful
  1. Anonymous
    2019-12-28T06:30:13+00:00

    When you protect a sheet (using the Review Menu and then selecting Protect Sheet on the ribbon) the following box appears....

    If you scroll down you will see the option that I've ticked.

    Users will then be able to select, copy and filter but not alter contents.

    Does this do what you want?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2019-12-30T00:38:57+00:00

    I'm still able to edit though. And I'm trying to make sure no one can edit it.

    2 people found this answer helpful.
    0 comments No comments
  3. OssieMac 47,981 Reputation points Volunteer Moderator
    2019-12-30T01:09:16+00:00

    Unfortunately even though the Protection has an option to permit sort, it does not work with the protected worksheet.

    Following edited after initial posting with the first step added

    An easy work around is as follows:

    • When protecting the worksheet ensure that both "Select  locked cells" and "Select unlocked cells are checked".
    • User to Select all the data on the original protected worksheet and Copy.
    • Select (or add) another blank worksheet and select the first cell.
    • Paste Special -> Values  (Will result in values without formulas)
    • Past Special -> Formats (Will paste the formats. No need to copy again before this step)
    • The User can then perform all functions because the worksheet is not protected.

    The above method protects the original data but permits the user to perform all of the functions on the temporary worksheet.

    0 comments No comments
  4. Anonymous
    2019-12-30T21:13:25+00:00

    OssieMac is correct - you will be unable to sort a protected sheet but you will be able to filter.

    However - you say that you can still edit cells.

    Check the protection properties of the cells.

    Highlight the clles and then withing the highlighted area, right-click, then select Format Cells.

    Click the Protect tab

    Make sure that Locked is ticked as this will cause the selected cells to be protected when protection is activated

    0 comments No comments
  5. Anonymous
    2019-12-30T21:51:06+00:00

    Selecting and copying cells in protected worksheets is the default behavior for protected worksheets, so presumably nothing to do there. That said, if users can copy anything out of your protected worksheet, then paste values and formats into an unprotected worksheet, they could them change anything & everything they want. Protecting a worksheet out of which anything could be copied isn't as protected as you seem to believe.

    The belief my users aren't that clever is one of the most frequently burst assumptions in spreadsheet development.

    Anyway, you could keep underlying data in a hidden but otherwise unprotected worksheet and use command buttons in the protected worksheet to sort the data in the other unprotected worksheet so it appears sorted in the protected worksheet. That requires using formulas like =INDEX(Other!$A$1:$AZ$20000,ROWS($A$1:A5),COLUMNS($A$5:A5)) rather than =Other!A5 in cell A5 in the protected worksheet.

    0 comments No comments