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

Data Analysis

  • How to do a t-Test in Excel?
  • How to sum a total in multiple Excel tables
  • Excel Bar Chart
  • Excel Frequency Function Example
  • Conditional Formatting Data bars Examples in Excel

References

  • How to get last column number in range in Excel
  • Lookup entire row in Excel
  • How to retrieve first match between two ranges in Excel
  • Convert text string to valid reference in Excel using Indirect function
  • Last row number in range

Data Validations

  • Excel Data validation number multiple 100
  • How To Create Drop-down List in Excel
  • Excel Data validation with conditional list
  • Excel Data validation date in next 30 days
  • Excel Data validation must begin with

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

  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel NOT Function
  • Nested IF function example in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • Extract multiple matches into separate rows in Excel

Date Time

  • Pad week numbers with zeros in Excel
  • Add days to date in Excel
  • TIMEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Calculate expiration date in Excel
  • How to calculate project start date based on end date in Excel

Grouping

  • Map text to numbers in Excel
  • Group times into 3 hour buckets in Excel
  • Group times into unequal buckets in Excel
  • Map inputs to arbitrary values in Excel
  • Running count group by n size in Excel

General

  • How to generate random number weighted probability in Excel
  • Lock Cells in a Worksheet Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
  • Mark Workbook as Final in Excel
  • How to get random value from list or table in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning