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

Data Analysis

  • Understanding Anova in Excel
  • Remove Duplicates Example in Excel
  • How to create Checklist in Excel
  • Example of COUNTIFS with variable table column in Excel
  • How to do a t-Test in Excel?

References

  • Two-way lookup with VLOOKUP in Excel
  • Approximate match with multiple criteria in Excel
  • How to use Excel OFFSET function
  • Lookup entire row in Excel
  • Find closest match in Excel

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation no punctuation
  • Excel Data validation must not contain
  • Excel Data validation date in next 30 days
  • Prevent invalid data entering in specific cells

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

  • SWITCH function example in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • IF with wildcards in Excel

Date Time

  • Get fiscal quarter from date in Excel
  • Calculate series of dates by workdays in Excel
  • Excel Date & Time Functions Example
  • Get fiscal year from date in Excel
  • Calculate years between dates in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel
  • Categorize text with keywords in Excel
  • Map text to numbers in Excel
  • Map inputs to arbitrary values in Excel

General

  • Check if multiple cells have same value in Excel
  • How to Create Calendar in Excel
  • 44 Practical Excel IF function Examples
  • Advanced Number Formats in Excel
  • How to count total number of cells in a rectangular range in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning