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

Data Analysis

  • How to count table columns in Excel
  • Excel Pie Chart
  • Number and Text Filters Examples in Excel
  • How to create a Histogram in Excel
  • How to create running total in an Excel Table

References

  • How to get last row in mixed data with blanks in Excel
  • Count unique text values with criteria
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • How to get last column number in range in Excel
  • How to get relative row numbers in a range in Excel

Data Validations

  • Excel Data validation require unique number
  • Excel Data validation no punctuation
  • Excel Data validation date in next 30 days
  • Excel Data validation whole percentage only
  • Excel Data validation date in specific year

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

  • IF function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • IF with wildcards in Excel
  • AND function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to calculate next day of week in Excel
  • Convert time to time zone in Excel
  • How to calculate nth day of year in Excel
  • How to get Holiday Date from Year in Excel
  • How to Calculate Age in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Group times into 3 hour buckets in Excel
  • Map text to numbers in Excel
  • If cell contains one of many things in Excel
  • Running count group by n size in Excel

General

  • Count cells that do not contain errors in Excel
  • Count cells that do not contain many strings in Excel
  • Count cells that contain errors in Excel
  • How to generate random date between two dates in Excel
  • Subtotal by color in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning