Close Menu
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    KahawatunguKahawatungu
    Button
    • NEWS
    • BUSINESS
    • KNOW YOUR CELEBRITY
    • POLITICS
    • TECHNOLOGY
    • SPORTS
    • HOW-TO
    • WORLD NEWS
    KahawatunguKahawatungu
    HOW-TO

    How To Lock Formulas In Excel

    Damaris GatwiriBy Damaris GatwiriJune 20, 2025No Comments2 Mins Read
    Facebook Twitter WhatsApp Telegram Email
    lock-freeze-cell-formula-4
    lock-freeze-cell-formula-4
    Share
    Facebook Twitter WhatsApp Telegram Pinterest Email Copy Link

    Locking formulas in Excel protects them from being accidentally edited or deleted. This is useful when you’re sharing a file or building a spreadsheet where certain calculations must remain unchanged. Excel allows you to lock cells containing formulas and restrict editing using worksheet protection. Here is how to lock formulas in Excel.

    1. Select All Cells and Unlock Them First
      By default, all cells in Excel are locked, but this only takes effect when the sheet is protected. To lock only specific cells (like formulas), you must first unlock all the others:
    • Press Ctrl + A to select the entire sheet
    • Right-click and choose Format Cells
    • Go to the Protection tab
    • Uncheck Locked and click OK
    1. Find and Select the Formula Cells
      Next, you need to highlight only the cells that contain formulas:
    • Go to the Home tab
    • Click Find & Select on the far right
    • Choose Go To Special
    • Select Formulas and click OK
      Now all cells with formulas will be selected.
    1. Lock the Formula Cells
      With the formula cells still selected:
    • Right-click and choose Format Cells
    • Go to the Protection tab
    • Check the box labeled Locked
    • Click OK

    This marks those cells as protected, ready for the next step.

    1. Protect the Worksheet
      To enforce the lock:
    • Go to the Review tab
    • Click Protect Sheet
    • Set a password (optional) and choose what actions users can still perform (e.g., select cells, format columns)
    • Click OK

    Now, only the unlocked cells can be edited. Any attempt to change the locked formula cells will prompt an error message.

    1. Test the Protection
      Try editing both a formula cell and a normal cell. The formula cell should be protected, while the other can still be edited. If you need to make changes later, go to Review > Unprotect Sheet and enter your password if you set one.
    2. Save Your Work
      Always save your file after locking formulas to keep the protection active. You can also apply this method to specific sheets in a workbook.

    Also Read: How To Grow Strawberries In Pots

    Email your news TIPS to Editor@Kahawatungu.com — this is our only official communication channel

    Follow on Facebook Follow on X (Twitter)
    Share. Facebook Twitter WhatsApp LinkedIn Telegram Email
    Damaris Gatwiri

    Damaris Gatwiri is a digital journalist, driven by a profound passion for technology, health, and fashion.

    Related Posts

    How To Draw A Ball

    December 5, 2025

    How To Draw A Hot Air Balloon

    December 5, 2025

    How To Draw 3D

    December 5, 2025

    Comments are closed.

    Latest Posts

    Cary-Hiroyuki Tagawa, actor who performed in ‘Mortal Kombat,’ dies at 75

    December 5, 2025

    Monique Lamoureux-Morando Siblings: Meet the Siblings Squad Behind the Ice Hockey Icon

    December 5, 2025

    Matthew Tkachuk Siblings: All About Brady and Taryn Tkachuk

    December 5, 2025

    10 Women Legislators Graduate from Parliamentary Gender Equality Programme

    December 5, 2025

    Tony Durant Siblings: Meet Kevin, Brianna and Rayvonne Pratt

    December 5, 2025

    Police Recover Bhang Worth Over Sh 2 Million in Busia County

    December 5, 2025

    Police Investigate Mob Killing After Missing Rifle Found in Thika East

    December 5, 2025

    17 Western diplomatic missions urge Tanzania to address abuses, demand independent inquiry

    December 5, 2025
    Facebook X (Twitter) Instagram Pinterest
    © 2025 Kahawatungu.com. Designed by Okii.

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