Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Randomize/ Shuffle List in Excel
  • How to sum a total in multiple Excel tables
  • How to count table columns in Excel
  • Conditional Formatting Rules in Excel
  • Working With Tables in Excel

References

  • How to use Excel FORMULATEXT function
  • Count rows that contain specific values in Excel
  • Extract data with helper column in Excel
  • Lookup entire row in Excel
  • Offset in Excel

Data Validations

  • Excel Data validation allow weekday only
  • Excel Data validation whole percentage only
  • Excel Data validation date in next 30 days
  • Data validation must not exist in list
  • Excel Data validation only dates between

Lock Cells in a Worksheet Excel

by
  • Lock specific areas of a worksheet

You can lock cells in Excel if you want to protect cells from being edited. In this example, we will lock cell A2.

Before you start: by default, all cells are locked. However, locking cells has no effect until you protect the worksheet. So when you protect a worksheet, all your cells (=worksheet) will be locked. As a result, if you want to lock a cell, you have to unlock all cells first, lock a cell, and then protect the sheet.

1. Select all cells.

2. Right click, and then click Format Cells.

3. On the Protection tab, uncheck the Locked check box and click OK.

4. Right click cell A2, and then click Format Cells.

5. On the Protection tab, check the Locked check box and click OK.

Note: if you also check the Hidden check box, users cannot see the formula in the formula bar when they select cell A2.

6. Protect the sheet.

Cell A2 is locked now. To edit cell A2, you have to unprotect the sheet.

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use IFS function in Excel
  • Check multiple cells are equal in Excel
  • IF with boolean logic in Excel
  • How to use Excel OR Function
  • Return blank if in Excel

Date Time

  • Basic timesheet formula with breaks in Excel
  • Get fiscal quarter from date in Excel
  • TODAY function: Description, Usage, Syntax, Examples and Explanation
  • Count dates in current month in Excel
  • How to get same date next month or previous month in Excel

Grouping

  • Group times into unequal buckets in Excel
  • If cell contains one of many things in Excel
  • How to randomly assign data to groups in Excel
  • Group times into 3 hour buckets in Excel
  • Calculate conditional mode with criteria in Excel

General

  • Check if range contains a value not in another range in Excel
  • Create dynamic workbook reference to another workbook in Excel
  • How to generate random number between two numbers in Excel
  • Subtotal by color in Excel
  • Zoom Worksheet in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning