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

    Stay connected via Google News
    Follow us for the latest news updates and guides.
    Add as preferred source on Google

    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 Improve Graphics in Laptop

    September 23, 2026

    How to Improve Skin Tone Naturally at Home

    September 23, 2026

    How to Improve Self Confidence

    September 23, 2026

    Comments are closed.

    Latest Posts

    Singer Michael Kiwanuka reveals he is recovering from a stroke

    September 24, 2026

    Iran’s president tells Trump it will never ‘bend the knee’

    September 24, 2026

    Harvey Weinstein sentenced to 15 years in prison for sexual assault

    September 24, 2026

    How to Compare LLM API Providers: Stop Comparing Models

    September 24, 2026

    AI video and the Kenyan freelancer: which briefs disappear, and which pay more

    September 24, 2026

    Madison Beer Fortnite Skin: Release Date, Skins, Cosmetics, and Icon Cu

    September 23, 2026

    Top government officials to destroy recovered Sh8.2 billion methamphetamine haul

    September 23, 2026

    Russian Military Exercises in Kaliningrad: Baltic Fleet Drills, Mobilization Tests, and Poland’s Response

    September 23, 2026
    Facebook X (Twitter) Instagram Pinterest
    © 2026 Kahawatungu.com. Designed by Okii.

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