Good day and welcome to the forum
Excel was never designed for multi users, for that you should be importing your Excel into Access, because of this security in Excel borders on the useless were as in Access you can lock down your data and what the end users can and cannot see/do.
How ever you could do the following.
- Select the column you want to protect.
- Press Ctrl+Shift+F. Excel displays the Format Cells dialog box.
- Make sure the Protection tab is displayed. (See Figure 1.)
Figure 1. The Protection tab of the Format Cells dialog box.
- Make sure both the Locked and Hidden check boxes are selected. (It is the Hidden check box that controls whether the cell contents are visible in the formula bar or not.)
- Click OK to dismiss the dialog box.
- With the column still selected, display the Home tab of the ribbon.
- Starting in the Cells group, click Format | Hide & Unhide | Hide Columns. Excel hides the column.
- Again starting in the Cells group, click Format | Protect Sheet. Excel displays the Protect Sheet dialog box. (See Figure 2.)
Figure 2. The Protect Sheet dialog box.
- Enter a password to be used in protecting the worksheet.
- Using the check boxes, select what type of protection you want applied to the worksheet. At a minimum you should choose Select Locked Cells and Select Unlocked Cells. (These two options are selected by default in a worksheet.)
- Click OK to dismiss the dialog box. You are prompted to reenter your password (the one from step 9), which you should do.
At this point someone cannot view what is in the hidden column, even if they use
F5 to jump to one of the cells in the column; it still won't appear in the formula bar. There is one caveat to all this: If you have some cells in the worksheet (or workbook) that are unlocked, so that the contents of the cell can be changed, it is still possible to see what is in individual cells of the column. How? Two methods, really:
- In the unlocked cell, enter a formula that references a locked and hidden cell. For instance, if column E is locked and hidden, entering the formula =E3 will display, in the unlocked cell, the value in cell E3.
- Copy the contents of the locked and hidden cell and paste it in the unlocked cell. Use F5 to jump to the locked and hidden cell, then press Ctrl+C, move to the unlocked cell, and press Ctrl+V. The contents of the locked and hidden cell are pasted in the unlocked cell.
The bottom line is that it is virtually impossible to 100% protect the contents of the column so that they cannot be viewed. Using the protection features of Excel makes it more difficult, but a determined user may be able to still view the contents in the described manner.
.