Skip to main content

How to Highlight Locked or Unlocked Cells in Excel?

Author Sun Last modified

Excel's cell locking feature is essential for protecting sensitive data while allowing edits to other cells. However, identifying which cells are locked or unlocked can be challenging, especially in complex spreadsheets. This guide will walk you through several optimized methods to highlight locked and unlocked cells, improving your spreadsheet management efficiency.

Understanding Cell Locking in Excel

Highlight locked cells with Conditional Formatting

Highlight unlocked cells with Kutools for Excel


Understanding Cell Locking in Excel

Before highlighting cells, it's important to understand Excel's locking mechanism:

  • By default, all cells are locked (though this has no effect until sheet protection is applied)
  • Locking only takes effect after protecting the worksheet (Review tab > Protect Sheet)
  • Locked cells prevent editing when the sheet is protected
  • Unlocked cells remain editable even when the sheet is protected

Highlight locked cells with Conditional Formatting

You can use conditional formatting with a special formula to highlight locked cells, making it easier to visually distinguish protected areas in your worksheet before applying sheet protection.

  1. Select a range you want to highlight the locked cells, then click Home > Conditional Formatting > New Rule. See screenshot:
    click the Conditional Formatting feature
  2. In the New Formatting Rule dialog, configure the following settings:
    • Select Use a formula to determine which cells to format in the Select a Rule Type list box;
    • Then type this formula =CELL("protect",A1) into Format values where this formula is true text box;(💡 Note: A1 is the the top-left cell of your selected range.)
    • And then, click Format button.
      configure the settings in the dialog box
  3. In the Format Cells dialog, click Fill tab, and select a color to highlight the locked cells. See screenshot:
    select a color to highlight the locked cells
  4. Click OK > OK. Then you can see the locked cells are highlighted by the color you defined. See screenshot:
    the locked cells are highlighted

Highlight unlocked cells with Kutools for Excel

Tired of manually checking which cells are editable in your worksheet? Let Kutools for Excel do the work for you! With just one click, you can instantly highlight all unlocked (editable) cells—no complex formulas, no coding, no guesswork.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, please do as this:

  1. Go to the Kutools Plus tab, and click Design View.
    click Design View
  2. Then, a Kutools Design tab will displayed, click Highlight Unlocked in the ribbon. Kutools will immediately highlight all unlocked cells in the worksheet with a predefined color.
    the unlocked cells are highlighted

🔚 Conclusion

Highlighting locked or unlocked cells helps you better manage input fields, protect formulas, and streamline worksheet security. Whether you're preparing a protected form or auditing your worksheet structure, these methods can save time and reduce errors. If you're interested in exploring more Excel tips and tricks, our website offers thousands of tutorials to help you master Excel.


Related Articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!