Excel Tutorial

Excel Tutorial Shortcut Keys in Excel Formatting in Excel Notes in Excel Formats in Excel Cells and Ranges in Excel Excel Function and Formulas Conditional Formatting in Excel Data Validation in Excel Charts in Excel Excel Ribbon Toolbar Basics of Excel Spell Check in Excel Data Analysis in Excel AutoFill in Excel Goal Seek in Excel Solver in Excel Pivots Table in Excel Go-To Special function in Excel Blank cells in Excel Count Cells with Text in Excel Date and Time in Excel-VBA Dependent Drop-down List in Excel Operators in Excel Dependent Combo box in Excel VBA Error Bar in Microsoft Excel Excel Axes Excel File using Password Excel Unique Values Frequency Distribution in Excel Gauge Chart in Excel Histogram in Excel Sum Every Nth Row in Microsoft Excel SumIF Formula in Microsoft Excel Multiplication in Excel Unique Values in Excel Trendline in Excel Excel Themes Copying formula in Excel Check Marks in Excel Calculating the Last Day of the Month in Excel Calculating Age in Excel Insert Row in Excel

Functions

Excel MAX() Function Excel INT() Function Excel MOD() Function Excel ROUND() Function Excel ROUNDUP() Function Excel AVERAGE() Function Excel COUNT() Function Excel COUNTA() Function Excel COUNTBLANK() Function Excel MIN() Function Excel EDATE() Function Excel EOMONTH() Function Excel HOUR() Function Excel MINUTE() Function Excel SECOND() Function Excel TIME() Function Excel WORKDAY() Function Excel WORKDAY.INTL() Function Excel DAYS() Function Excel WEEKNUM() Function Excel WEEKDAY() Function Excel SMALL() Function Excel LARGE() Function Excel LEFT() Function Excel RIGHT() Function Excel MID() Function Excel FIND() Function Excel SEARCH() Function Excel EXACT() Function Excel SUBSTITUTE() Function Excel TEXT() Function Excel VALUE() Function Excel AND() Function Excel OR() Function Excel IFERROR() Function Excel IF() Function Excel Nested IF’s Function Excel IFNA() Function Excel COUNTIFS() Function Excel VLOOKUP() Function Excel HLOOKUP() Function Excel INDEX() Function Excel MATCH() Function Excel OFFSET () Function Averageif Function in Excel

How To

How to import Microsoft Access data into the Microsoft Excel How to use TODAY function in Excel How to Alphabetize in Excel How to remove duplicate values from excel How to lock cells in Excel How to create drop down in excel How to Delete Row in Microsoft Excel How to Highlight Duplicates Words in the Microsoft Excel How to print titles in Excel How to make use of the Wildcard in Excel How to Make Use of the F-Test in Excel How to make use of the Excel Autofit in Excel How to generate random numbers in Excel How to apply Advanced Filter in Excel How to use Index and Match in Excel

Misc

Absolute Value in Excel Adding Column in Excel Converting Units in Excel Count Characters in Excel Custom Sort Order in Excel Decimals in Excel Division in Excel Locate Maximum Values in Excel Nearest Multiple in Excel Paste Options in Excel Quarter Dates in Excel Row Difference in Excel Separate Strings in Excel Reverse List in Excel Array Formula in Excel What if Analysis Data Table in Excel Excel Shortcut Keys What is a spreadsheet in Excel?

How to lock cells in Excel?

How to lock cells in Excel?

The locked cells feature used to protect and secure your Excel sheet or workbook from the unauthorized access. If the cells are locked, it can’t be deleted, reformatted, and the data in that cell can’t be edited further. This feature makes sure that it doesn't unintentionally change the cells that are not supposed to be replaced. Though by default, in excel, all the locked cells but still they can be selected, reformed, and edited and but the user can easily change that in the protection options.

Locking All the cells

In Excel, all the cells are locked by default. But this locking will not effect until and unless the user protects the worksheet. The steps for locking and protecting the sheet are as follows:

  1. Select all cells or press the shortcut key CTRL+A.
How to lock cells in Excel?
  • Point the cursor over the selected portion and right click on the mouse. A dialog box will appear. Select the Format Cells option, or you can directly press the shortcut key CTRL + 1.
How to lock cells in Excel?
  • Select the Protection Column tab from the Format Cells dialog box and tick the locked checkbox option (although it’s been already selected by default). Click on the OK option.
How to lock cells in Excel?

Protect the Sheet

  •  To protect the worksheet, right-click on the sheet tab (present at the bottom of the sheet).
How to lock cells in Excel?
  • Click on the protect sheet option.
How to lock cells in Excel?
  • The Protect Sheet dialog box pops up. In the first place, enter your password. And then, choose the actions you want the user to perform in your Excel worksheet. If you don’t tick any action, by default, the user can only read the Excel file. Click on the OK option.
How to lock cells in Excel?
  • Excel will again ask you to reconfirm your password. Again, type your password and click on OK.
How to lock cells in Excel?
  • The excel worksheet is protected, and all the cells are now locked. The user can only read the file, and if the user tries to write or edit the data, a prompt will pop up defying the accessibility.
How to lock cells in Excel?

UnProtect the Sheet

  • All cells are locked and can’t be edited further. To unlock the Excel worksheet, right-click on the sheet tab and select the Unprotect Sheet option. Now you are open to read, write or edit the Excel sheet.
How to lock cells in Excel?

To lock some specific cells

There arise some situations where the user needs to protect and safeguard some specific cells. By default, all the cells are locked in Excel. So, firstly we need to unlock all the locked cells. Let’s see the steps to lock and protect specific cells:

  1. Select the specific cells that you want to lock. For instance, we have chosen only the cells ranging from cell A2 to cell A8.
How to lock cells in Excel?
  • Point the cursor over the selected portion and right click on the mouse. A dialog box will appear and then click on the Format Cells option, or you can directly press the shortcut key CTRL + 1.
How to lock cells in Excel?
  • Select the Protection Column tab from the Format Cells dialog box and untick the locked checkbox. Click on OK.
How to lock cells in Excel?
  • Now choose the cells to lock. Here we have chosen cell A2 to cell A8.
How to lock cells in Excel?
  • Right-click and select the format cells option. Under the protection tab, tick the locked cell’s checkbox. Click on ok. 
How to lock cells in Excel?
  • Again, locking the cells is not sufficient and will not effect until and unless the Excel sheet is protected.

Protect the Sheet

  • To protect the worksheet, right-click on the sheet tab (present at the bottom of the sheet).
How to lock cells in Excel?
  • Click on the protect sheet option.
How to lock cells in Excel?
  • The Protect Sheet dialog box pops up. In the first place, enter your password. And then, allocate the actions you want the user to perform in your Excel worksheet. If you don’t tick any action, by default, the user can only read the Excel file. Click on the OK option.
How to lock cells in Excel?
  1. Excel will again ask you to reconfirm your password. Again, type the password and click on OK.
How to lock cells in Excel?
  1. All the cells ranging from A2 to A8 are now locked. The user can only read the file, and if the user tries to write or edit the data, a prompt will pop up defying the accessibility. To edit the specific cells, you to unprotect the sheet.
How to lock cells in Excel?

Lock Formula Cells

Excel deals with numbers and formulas the most. In Excel business sheets, the calculation and analysis are done by using a range of formulas cells that are dependent on each other. The sheet is exchanged throughout and changing any formula cell mistakenly can turn over the shape and meaning of the sheet. Thus, resulting in data manipulation and false analysis. To avoid the unintentional changing of the cells one needs to lock all cells that contain formulas.

The steps for locking the formula cells are as follow:

  1. Select all cells or press the shortcut key CTRL+A.
How to lock cells in Excel?
  • Point the cursor over the selected portion and right click on the mouse. A dialog box will appear and then click on the Format Cells option, or you can even press the shortcut key CTRL + 1.
How to lock cells in Excel?
  • Now, select the Protection Column tab from the Format Cells dialog box and uncheck the locked cells checkbox. Click on OK.
How to lock cells in Excel?
  • From the Excel home Ribbon tab, select the find & select option.
How to lock cells in Excel?
  • From the dialog box, select the Go to Special option.
How to lock cells in Excel?
  • From the Go To Special dialog box click on formula radio box and click on OK.
How to lock cells in Excel?
  • Again, right-click and select the format cells option. Under the protection tab, tick the locked cell’s checkbox. Click on ok. 
How to lock cells in Excel?
  • Again, locking the cells will not effect until and unless the Excel sheet is protected.

Protect the Sheet

  • To protect the worksheet right-click on the sheet tab.
How to lock cells in Excel?
  1. Click on the protect sheet option.
How to lock cells in Excel?
  1. The Protect Sheet dialog box pops up. In the first place, enter your password. And then, choose the authority of the actions you want the user to perform in your Excel worksheet. If you don’t tick any action, by default, the user can only read the Excel file. Click on the OK option.
How to lock cells in Excel?
  1. Excel will again ask you to reconfirm your password. Again, type the password and click on OK.
How to lock cells in Excel?

All the formula cells are now locked. The user can only read the file, and if the user tries to write or edit the data, a prompt will pop up defying the accessibility. To edit the formula cells, you need to unprotect the sheet.