Cách khóa ô ẩn trong Excel

Một lần nữa xin cảm ơn Nick Williams tại Acuity Training cho bài đăng của khách này

Khi tạo một bảng tính Excel sẽ được gửi đi, đặc biệt là đối với những người ít hiểu biết về Excel, có thể hữu ích khi hạn chế một số chức năng, cũng như ẩn thông tin và công thức. Điều này sẽ ngăn bảng tính bị 'phá vỡ', trong đó các công thức ngừng hoạt động hoặc tham chiếu sai dữ liệu vì ai đó đã tham gia và thay đổi thứ gì đó mà họ không nên làm, đồng thời cũng ngăn mọi người nhìn vào các số liệu được sử dụng trong các phép tính mà họ có thể không hiểu đầy đủ

Ẩn toàn bộ hàng hoặc cột

Nếu bảng tính chứa một hàng hoặc cột dữ liệu hoàn toàn được sử dụng để tính toán, ẩn nó là cách nhanh nhất và dễ dàng nhất để ngăn không cho dữ liệu dễ dàng truy cập. Chỉ cần nhấp chuột phải vào số hàng hoặc ký tự cột và chọn Ẩn từ menu thả xuống xuất hiện. Để hiện hàng hoặc cột bị ẩn, hãy tô sáng các hàng hoặc cột ở hai bên của dữ liệu bị ẩn, nhấp chuột phải lần nữa và chọn Bỏ ẩn từ menu thả xuống.
Cách khóa ô ẩn trong Excel
Cách khóa ô ẩn trong Excel

Bảo vệ ô và ẩn công thức

Để ngăn nội dung ô bị chỉnh sửa hoặc công thức hiển thị, cần đặt chế độ bảo vệ ô trong menu Định dạng ô. Để truy cập phần này, hãy chọn ô (hoặc nhóm ô) sẽ được bảo vệ và nhấp chuột phải vào vùng chọn. Từ menu thả xuống xuất hiện, chọn Định dạng ô. Một hộp thoại sẽ xuất hiện; .
Cách khóa ô ẩn trong Excel
Cách khóa ô ẩn trong Excel
Có hai tùy chọn ở đây, Đã khóa và Ẩn. Đánh dấu vào ô bên cạnh Đã khóa sẽ khóa bất kỳ ô nào được chọn. Điều này có nghĩa là sẽ không thể thực hiện bất kỳ thay đổi nào đối với nội dung của họ. Dữ liệu không thể thay đổi hoặc xóa. Đánh dấu vào hộp bên cạnh ẩn sẽ ẩn tất cả thông tin trong thanh công thức, ngăn người dùng nhìn thấy hoạt động đằng sau dữ liệu. Sau khi hoàn thành, bấm OK. Vì vậy, vẫn có thể làm việc trên bảng tính, cả hai thay đổi này sẽ không có hiệu lực cho đến khi trang tính được bảo vệ.

Sử dụng tấm bảo vệ

To protect the sheet, click on the Protect Sheet icon on the Review ribbon. There are lots of options here, and depending on how much functionality the end user is to be left with, it is possible to tick all, none, or some of the available options.
Cách khóa ô ẩn trong Excel
Cách khóa ô ẩn trong Excel
To lock cells and hide formulas, make sure the checkbox above the password field is ticked. This will only be applied to cells where cell protection has been turned on. It is not necessary to enter a password if the intention is to just prevent the sheet from being accidentally modified, however, if the intention is to stop it from being changed deliberately, entering a password will prevent other users from being able to unprotect the sheet and make changes. The options below the password field allow for users to have access to certain tools on the worksheet. By default, the only two that are ticked are Select locked cells and Select unlocked cells. This means that users can click on any cells within the sheet, allowing them to do things like copy and paste their content into another sheet or a Word document. Format cells governs whether the user is able to change the appearance of the font, as well as the cell itself i.e. borders and backgrounds. It also allows access to the Format cells menu where options such as the type of number, or number of decimal places can be set. Format columns and Format rows allows column width and row height to be adjusted, and also lets users hide and unhide columns and rows. The insert and delete options should be self-explanatory. If Use AutoFilter is left unchecked, the arrow representing the AutoFilter dropdown will still appear, however, users will be unable to click on it. If it is checked, users will be able to filter the data, but will not be able to use the sort features on AutoFilter, unless the Sort option has also been ticked to allow users access. Ticking Use PivotTable & Use PivotChart will allow the user to manipulate any PivotTables or PivotCharts in the worksheet. They will still appear if it is left unticked, but they will just function as tables i.e. the user will be unable to manipulate their content. The Edit objects option controls whether the user is able to make changes to objects embedded into the worksheet, including things like images, charts, buttons and comments. In the case of objects with macros assigned which act as buttons, the user will still be able to click to run the macro, but will be unable to edit or delete the object. Protecting scenarios by leaving Edit scenarios unticked will prevent changes being made to existing scenarios, but will not prevent new scenarios from being created. Hope you enjoyed this lesson! Thanks again to Nick who works as a tutor on www.acuitytraining.co.uk’s Excel courses for putting it together.