Forum Discussion
martinwardle
Mar 31, 2022Copper Contributor
Protecting certain cells within a worksheet
I have created this spreadsheet as a complete beginner. I have managed to apply formulas to share certain data with other sheets within the workbook.
But for the life of me, I cannot get my head around how to protect the following cells on the sheet in order to avoid staff messing up the formulas:
Cells to protect : J4, T4, X4, W8:46, X8:46, H8:46, I8:46, R8:46, S8:46, H50:52, N51:56.
The remaining cells will be left unprotected in order that staff can enter the appropriate data required.
I just cannot find a successful way of protecting the cells correctly.
Is anyone able to offer any advice? I would be extremely grateful.
You can create a report that consolidates data from multiple sheets in Excel.
Here's a step-by-step guide to accomplish this:
- Open a new worksheet where you want to create the report.
- Rename this worksheet to something like "Report" or "Consolidated Data."
- In the first column of the "Report" sheet, list the fields you want to include (e.g., First Name, Last Name, etc.).
- In the second column, enter the formula to retrieve the data from each individual sheet. Assuming your individual sheets are named "Sheet1," "Sheet2," and so on, the formula in cell B2 of the "Report" sheet would be: =Sheet1!B2
This formula retrieves the data from cell B2 of "Sheet1." Adjust the cell references accordingly to match your specific data layout.
5. Copy the formula in cell B2 and paste it down the column to retrieve data for all individuals from each sheet.
6. Repeat steps 4 and 5 for each field and each individual sheet, ensuring that the formulas reference the correct cells in each respective sheet.
7. Format the report as desired, applying any necessary formatting, headers, or styling to improve readability.
By following these steps, you can consolidate data from multiple sheets into a single report in Excel. Whenever you update the data in the individual sheets, the report will automatically reflect the changes.
2 Replies
Sort By
By default, all cells in a worksheet are locked, but this only takes effect when you protect the worksheet.
Do the following:
- Click the button in the upper left corner of the worksheet, at the intersection of the row numbers and column headers. This selects the entire sheet.
- Press Ctrl+1 to activate the Format Cells dialog.
- Activate the Protection tab.
- Clear the Locked check box.
- Click OK. All cells have been unlocked.
- Select J4, then hold down Ctrl while you select T4, X4 etc.
- Press Ctrl+1 again, and this time tick the Locked check box.
- Click OK. You have now locked the selected cells.
- Activate the Review tab of the ribbon.
- Click Protect Sheet.
- In the Protect Sheet dialog, use the check boxes to specify what the users will be allowed to do.
- At the very least, leave the check box 'Select unlocked cells' ticked.
- If you want to specify a password that will be needed later on to unprotect the sheet, enter it in the Password box. Do not forget the password!
- Click OK. If you specified a password, you will be asked to enter it again as confirmation.
- Save the workbook.
- martinwardleCopper Contributor
Thank you HansHansVogelaar
Brilliant and instant success. Very much appreciated.
Regards
Martin Wardle-Rogers