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

Data Analysis

  • Conditional Formatting Color Scales Examples in Excel
  • Reverse List in Excel
  • How to calculate average last N values in a table in Excel
  • How to do a t-Test in Excel?
  • How to calculate correlation coefficient Correlation in Excel

References

  • How to use Excel ROWS Function
  • How to use Excel VLOOKUP Function
  • Count rows that contain specific values in Excel
  • How to get address of named range in Excel
  • INDEX function: Description, Usage, Syntax, Examples and Explanation

Data Validations

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

Highlight unprotected cells in Excel

by

This tutorial shows how to Highlight unprotected cells in Excel using the example below;

Formula

=CELL("PROTECT",A1)=0

Explanation

To highlight unprotected cells (cells that are unlocked) with conditional formatting, you can use a formula based on the CELL function. In the example shown, the custom formula used to set up conditional formatting is:

=CELL("PROTECT",A1)=0

Where A1 represents the active cell in the selection when the rule was defined.

How this formula works

The CELL function can provide a wide range of information about cell properties. One property is called “protect” and indicates whether a cell is unlocked or locked. All cells start out “locked” in a new Excel workbook, but this setting has no effect until a worksheet is protected.

The CELL function returns either 1 or zero to indicate “on” or “off”. In this case we are comparing the result to zero, so when CELL returns 0, the expression returns TRUE and the conditional formatting is triggered. When CELL returns 1, the expression returns FALSE and no conditional formatting is applied.

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

  • Return blank if in Excel
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • Extract multiple matches into separate rows in Excel
  • SWITCH function example in Excel

Date Time

  • How to get workdays between dates in Excel
  • Count times in a specific range in Excel
  • Convert decimal seconds to Excel time
  • Convert time to time zone in Excel
  • Get project end date in Excel

Grouping

  • Group numbers at uneven intervals in Excel
  • Calculate conditional mode with criteria in Excel
  • Running count group by n size in Excel
  • Group arbitrary text values in Excel
  • Group times into 3 hour buckets in Excel

General

  • Basic error trapping example in Excel
  • How to choose page/paper size in Excel before Printing
  • How to Create Calendar in Excel
  • Count cells that do not contain many strings in Excel
  • Index and match on multiple columns in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning