Close Menu
Computing.net
    Facebook X (Twitter) Instagram
    Computing.netComputing.net
    • News
      1. AI
      2. Crypto
      3. Gaming
      4. Hardware
      5. Security
      6. Software
      7. View All

      Anthropic’s COBOL Automation Tool Triggers IBM Stock Plunge and Crypto Market Decline

      February 24, 2026

      AI Trading Bot Loses $441K in Crypto After Decimal Point Mistake

      February 23, 2026

      Tesla (TSLA) Stock: Goodbye Sedans, Hello Robots in Dramatic Production Shift

      January 29, 2026

      Palantir Technologies (PLTR) Stock: Why Bears May Be Wrong About Valuation Concerns

      January 29, 2026

      SUI Token Rallies 40% Following Major Staking Event and CME Futures Announcement

      May 12, 2026

      Chainlink (LINK) Surges to $10.40 as Network Activity Hits Eight-Month Peak

      May 12, 2026

      Dogecoin Whales Ramp Up Accumulation as DOGE Eyes Critical Breakout Levels

      May 12, 2026

      Bitcoin Holds $81K While Burry Flags Nasdaq Bubble and Oil Surges Past $105

      May 12, 2026

      Hamster Kombat: Unraveling TON’s Gaming Phenomenon

      August 7, 2024

      W-Coin: Exploring the Latest Telegram Tap-to-Earn Phenomenon

      August 7, 2024

      Hamster Kombat: 300 Million Players & Counting, HMSTR Token Airdrop Soon!

      July 31, 2024

      Hamster Kombat Developers Work with TON Team on Airdrop Solution

      July 30, 2024

      Nothing Expands Product Line with New AI Feature & Phone Update

      July 31, 2024

      Security Audit Reveals Concerns in Atari’s Blockchain Game on Base

      August 6, 2024

      SideWinder Group Targets Maritime Facilities in New Cyber Espionage Campaign

      July 30, 2024

      OAuth Implementation Flaw Exposes Millions of Websites to XSS Attacks

      July 30, 2024

      Hamster Kombat Players Face Growing Cybersecurity Threats

      July 25, 2024

      Anthropic’s COBOL Automation Tool Triggers IBM Stock Plunge and Crypto Market Decline

      February 24, 2026

      Cookie Crumble: Google Halts Plans to Eliminate Third-Party Cookies in Chrome

      July 23, 2024

      Big Brother is Watching: Apple’s Creepy New Ad Urges iPhone Users to Ditch Chrome

      July 23, 2024

      Nvidia Stock Soars to New Record at $219.44 Ahead of May 20 Earnings

      May 12, 2026

      Rocket Lab Shares Surge Past $120 Following Wave of Analyst Upgrades

      May 12, 2026

      GM Shares Decline Following 600 IT Layoffs Amid Strategic AI Workforce Transformation

      May 12, 2026

      SES Delivers €847M Q1 Performance as Intelsat Integration and Aviation Deals Fuel Expansion

      May 12, 2026
    • How To

      Batch Files: Tokens and Delimiters (FOR Loops)

      July 31, 2024

      Types of Ethernet Cabling & Electrical Low Voltage Wiring

      July 9, 2024

      What You Should Know About .JSON File Extension

      January 10, 2023

      Bkup File Extension

      November 19, 2022

      HEIC File Extension

      November 19, 2022
    • Office
      1. Excel
      2. Google Sheets
      3. View All

      How to Convert Column List to Comma Separated List in Excel

      July 24, 2024

      How to Find the Last Monday of the Month in Excel

      July 24, 2024

      Convert Bytes to MB or GB in Excel: 3 Methods!

      July 24, 2024

      How to Remove Characters from Right in Excel

      July 30, 2023

      How to Subtract in Google Sheets: Complete Guide

      July 31, 2024

      Bullet Points in Google Sheets

      January 20, 2022

      Sort by Date in Google Sheets

      January 18, 2022

      Google Sheets Timestamp

      January 17, 2022

      How to Subtract in Google Sheets: Complete Guide

      July 31, 2024

      How to Convert Column List to Comma Separated List in Excel

      July 24, 2024

      How to Find the Last Monday of the Month in Excel

      July 24, 2024

      Convert Bytes to MB or GB in Excel: 3 Methods!

      July 24, 2024
    • Answers
    • About
    • Contact
    Facebook X (Twitter)
    Computing.net
    Excel

    How to Lock in Excel [ Workbook, Worksheets, Rows, Columns & Cells ]

    Denise ElizabethBy Denise ElizabethJanuary 26, 2022
    Twitter LinkedIn Email Telegram
    how to lock in excel
    Twitter LinkedIn Email Telegram

    One of the ways we secure ourselves at home is by locking our doors.

    The level of protection employed by individuals may vary from person to person.

    While occupants of fenced apartments may decide to lock their entrance gates, others without a perimeter fence would simply lock up their entrance doors.

    This scenario is also applicable in excel.

    To restrict access/entry in excel, a lock action is carried out.

    This means the locked cell, column, and/or worksheet cannot be reformatted, deleted, or its content edited.   

    In this tutorial, we will learn how to carry out the ‘lock’ activity in excel.

    We will adopt a decremental approach by first learning how to lock an excel workbook, worksheet, then a designated column/row, and finally a cell.

    It is not just OK to learn how the lock activity works without teaching you how to unlock these cells.

    Hence, you will also see how to unlock your cells

    Let’s define some terms that you may find in the course of this study.

    • Worksheet – This is a single page in excel. In current versions of Excel, a worksheet contains 1,048,576 rows, 16,384 columns, and a total of 17,179,869,184 cells
    • Workbook – This is an excel file and it contains one or more worksheets
    • Columns – This is a vertical grid line in excel
    • Rows – This is a horizontal grid line in excel

    For this tutorial, we will be utilizing the data set below.

    The table below shows the performance of seven (7) students in a Mathematics, English, Science, and Art course.

    Our task will be to:

    • Lock the entire workbook
    • Lock the entire Worksheet
    • Lock columns and rows
    • Lock specific cells
    • Unlock the workbook
    • Unlock the Worksheet
    • Unlock a range in the worksheet

    Let’s get started!

    Contents:

    Toggle
    • Locking a Workbook
    • Locking a Worksheet 
    • Locking an Entire Worksheet
    • Confirming that an Entire worksheet is Locked
    • Locking a Column / Row in a Worksheet
    • Locking a Cell in a Worksheet
    • Unlocking a Workbook
    • Unlocking a Worksheet
    • Unlocking a Range in Worksheet
    • Conclusion

    Locking a Workbook

    Locking a Workbook prevents unauthorized users from viewing, editing, and moving the structure of the worksheets in your workbook.

    You can use an encrypted password to protect your workbook.

    In our example, after locking our workbook, only users with the encrypted passwords can access/open the excel file.

    To lock a workbook, follow the processes outlined below.

    Step 1: Click on FILE 

    locking a workbook

    Step 2: Select Info 

    Step 3:  Select the Protect Workbook box

    project workbook excel

    Step 4: Select ‘Encrypt with Password’ 

    encrypt password excel

    Step 5: A password dialogue box pops up

    Step 6:  Input your desired password

    password dialogue box excel

    NOTE: 

    • Ensure you use a password that you can easily remember because a forgotten password cannot be recovered.
    • There is no limitation to the password combination concerning characters, numbers, case 
    • These passwords are case sensitive

    Step 7: Click OK

    Step 8: A password confirmation request box pops up and you are expected to confirm your password. 

    Step 9: Re-enter your desired password

    Step 10: Click OK

    No user without your password will be able to access the content of your workbook. 

    Locking a Worksheet 

    Locking a worksheet helps to prevent the accidental or deliberate deleting, moving, or editing of data in the sheet.

    On a worksheet, you can control how and what actions a user can perform within.

    For example, you may decide to lock only some columns, some cells, the entire worksheet, or even format the sheet to allow only some activities.

    Let’s begin with locking the entire worksheet.

    Locking an Entire Worksheet

    This protection ensures that all cells, ranges, formulas, etc. embedded in a worksheet do not get tampered with.

    To lock an entire worksheet simply follow the steps below:

    Step 1: Click on the ‘Review’ tab 

    Step 2: Select ‘Protect Sheet’ on the Ribbon

    Step 3:  A Protect Sheet dialogue box pops up. This box contains an ‘Allow all users of this worksheet to’ list

    encrypt password excel

    Step 4: Check the boxes of the desired option you wish to grant other users’ privilege to.

    (Please see table 2 for details of what each privilege option allows users to do) 

    Note: Step 5, Step 7, & Step 8 are completely optional steps as you can lock your worksheet without a password.

    Step 5:  Input your desired password in the password input field

    Step 6: Click OK

    Step 7: A password confirmation request box pops up and you are expected to confirm your password.

    confirm password excel

    Step 8: Re-enter your desired password 

    Step 9: Click OK

    Confirming that an Entire worksheet is Locked

    To confirm that the Lock Worksheet action was successful, you will notice that the Protect Sheet’ on the ribbon changes to Unprotect Sheet’.

    In addition, any attempt to type into any of the cells will pop up a warning notification

    unprotected sheet excel

    Locking a Column / Row in a Worksheet

    This allows Users to lock only selected Columns or Rows in a worksheet.

    To do this, firstly, you must ensure that the worksheet is not protected before you commence.

    After confirmation, follow the steps below:

    Step 1: Select / Highlight the columns/ and rows you wish to lock

    Note: To highlight rows and columns that are adjacent, simply highlight the heading of the first column or row and drag the cursor until the desired selection is complete. In our example, only Column B (‘Names of Student’) is highlighted. For rows and columns that are non-continuous, simply hold down the Ctrl key and use your cursor to highlight the rows/columns individually until your desired selection is complete

    Step 2: Right-click on any part of the highlight in the sheet and select the ‘Format’ option.

    For quick access you can use Ctrl+1 (for windows), and, Command+1 (for Mac).  

    column and row excel

     

    Step 3: Click on the Protection tab

    Step 4: Check the Locked box and click ok

    locked box

    Step 5: Click on the ‘Review’ tab 

    Step 6: Select ‘Protect Sheet’ on the Ribbon

    Step 7:  A Protect Sheet dialogue box pops up. This box contains an ‘Allow all users of this worksheet to’ list

    Step 8: Check the boxes of the desired option you wish to grant other users’ privilege to. 

    Step 9:  Input your desired password in the password input field (Optional)

    Step 10: Click OK

    Step 11: A password confirmation request box pops up and you are expected to confirm your password. (Optional)

    Step 12: Re-enter your desired password (Optional)

    Step 13: Click OK

    You will notice at this point that any attempt to input data in any of the locked columns or rows will pop up a Warning Notification box

    Locking a Cell in a Worksheet

    This allows Users to lock only selected Cells in a worksheet.

    To do this, firstly, you must ensure that the worksheet is not in the protected mode before you commence.

    After confirmation, follow the steps below:

    Step 1: Select / Highlight the cells you wish to lock

    Note: To highlight cells positioned end-to-end (adjacent cells), simply highlight the first cell and drag the cursor until the desired selection is complete. For cells that are non-contiguous, they can be highlighted by, pressing Ctrl+Left-Click. Until the selection is complete.  In our example, Cells C4, C8, E4, F7 are highlighted

    Step 2:  Click on the Home tabs

    Step 3: In the Alignment group, click the small arrow to open the Format Cells popup window.

    formal cells excel

    locked box excel

    Step 4: Click on the Protection tab

    Step 5: Check the Locked box and click Ok

    locked box excel

    Step 6: Click on the ‘Review’ tab 

    Step 7: Select ‘Protect Sheet’ on the Ribbon

    Step 8:  A Protect Sheet dialogue box pops up. This box contains an ‘Allow all users of this worksheet to’ list

    Step 9: Check the boxes of the desired option you wish to grant other users’ privilege to. 

    Step 10:  Input your desired password in the password input field (Optional)

    Step 11: Click OK

    Step 12: A password confirmation request box pops up and you are expected to confirm your password. (Optional)

    Step 13: Re-enter your desired password (Optional)

    Step 14: Click OK

    Just like we observed in the locking a Column / Row section, any attempt to edit the data in any of the locked cells will pop up a warning notification.

    Unlocking a Workbook

    To unlock a protected workbook, simply input the right encrypted password and click OK. 

    Unlocking a Worksheet

    To unlock a locked worksheet, follow the steps below:

    Step 1:  Click on the Review tab

    Step 2: Select the ‘Unprotect Sheet’ Option

    unprotect sheet

    Step 3: If requested, enter the password (This prompt will only appear if the sheet was protected with a password)

    Unlocking a Range in Worksheet

    Unlocking a range of cells in a protected sheet allows other users to only edit permitted ranges.

    In our example, if we wanted all subject teachers to update the student scores without having access to editing the Name of Student, and Average columns, the range C3:F9 will be selected.

    This range can also be passworded. 

    So let me show you how this will be achieved.

    Step 1: Highlight the worksheet by clicking the Highlight arrow

    Note: Ensure that the Locked box is checked. To do this Right-click > Select Format > Click on the Protection Tab > Check the Locked box

    unlocking a range in worksheet

    Step 2: Click on the Review tab

    Step 3: Select the ‘Allow Edit Range’ option

    allow edit range

    Note that the ‘Allow Edit Ranges’ option is only activated when the sheet is not Protected.

    Step 4:  An ‘Allow Users to Edit Ranges’ dialogue box pops up

    allow edit ranges

     Step 5: Click on

    • The NEW button to add a new range for editing
    • The MODIFY button to edit the current range
    • The DELETE button to delete an already created editable range 

    In this tutorial, we will select the NEW option because we want to create a new editable range

    Step 6: A ‘New Range’ dialogue box appears

    Step 7: Input Title

    Step 8: Select the editable range. (In our example the editable range is C3:F9)

    Step 9: Assign the password if desired

    Step 10: Click on Permission if you will like to add more rules to the range (optional)

    Step 11: Click OK on the New Range Dialogue Box

    allow edit ranges

    Step 12: The ‘Allow Edit Ranges’ reappears with the new range created

    Step 13: Select the Range title followed by the ‘Protect Sheet’ button

    protect sheet

    Step 14: A Protect Sheet dialogue box pops up. This box contains an ‘Allow all users of this worksheet to’ list

    Step 15: Check the boxes of the desired option you wish to grant other users’ privilege to.

    Note: Step 17, to Step 20 are completely optional steps as you can lock your worksheet without a password.

    Step 16:  Input your desired password in the password input field

    Step 17: Click OK

    Step 18: A password confirmation request box pops up and you are expected to confirm your password.

    Step 19: Reenter your desired password

    Step 20: Click OK

    You will observe that only the range selected can be edited by other users

    Conclusion

    From this tutorial we have been able to learn how to lock and unlock workbooks, worksheets, Columns, Rows, and cells. 

    It is also important to emphasize that you must be careful to always remember your password because once these passwords are forgotten, they cannot be recovered.

    The best practice is always to keep a record of all workbooks, worksheets, etc. passwords.

    Share. Twitter LinkedIn Email Telegram
    Avatar photo
    Denise Elizabeth
    • Website
    • X (Twitter)
    • LinkedIn

    Denise is a Financial Controller with experience in Office Software (Excel & Word), Accounting, Bookkeeping, Business Incorporation/LLC, Taxes and IRS Issues and more. She Graduated from Portland State University in Business Management and went onto Seattle University to complete her Graduate (Masters) Degree in Organizational Systems Renewal. She contributes to Computing.net with her knowledge of Business Software, in particularly Microsoft Excel and Google Sheets.

    Related Posts

    How to Subtract in Google Sheets: Complete Guide

    July 31, 2024

    How to Convert Column List to Comma Separated List in Excel

    July 24, 2024

    How to Find the Last Monday of the Month in Excel

    July 24, 2024

    Convert Bytes to MB or GB in Excel: 3 Methods!

    July 24, 2024

    How to Remove Characters from Right in Excel

    July 30, 2023

    How to Create a Stem and Leaf Plot in Excel

    January 10, 2023
    Add A Comment

    Comments are closed.

    Latest

    Nvidia Stock Soars to New Record at $219.44 Ahead of May 20 Earnings

    May 12, 2026

    Rocket Lab Shares Surge Past $120 Following Wave of Analyst Upgrades

    May 12, 2026

    GM Shares Decline Following 600 IT Layoffs Amid Strategic AI Workforce Transformation

    May 12, 2026

    SES Delivers €847M Q1 Performance as Intelsat Integration and Aviation Deals Fuel Expansion

    May 12, 2026

    Trump Dismisses Iran Peace Proposal — Oil Markets React as Hormuz Remains Restricted

    May 12, 2026
    • Facebook
    • Twitter

    Latest Reviews

    Meta Platforms Shares Tumble 8% Despite Strong Q1 Performance Amid AI Investment Surge

    April 30, 2026

    Flush.com Review: Casino & Sportsbook With 275% Welcome Bonus

    March 7, 2026

    Katsubet Review: Crypto Casino With 300% Welcome Bonus & Free Spins

    March 7, 2026

    7Bit Review: Crypto Casino With 325% Bonus & 250 FS

    March 7, 2026

    Mega Dice Review: Crypto Casino With 200% Bonus & 50 Free Spins, Legit?

    March 7, 2026


    Home / Privacy Policy / Terms & Conditions

    Computing.net © 1996 - 2026 Kooc Media Ltd. All rights reserved. Registered Company No.05695741

    Type above and press Enter to search. Press Esc to cancel.