← Level 1 – Cell kid

10 / 12 ⏱ 18 minutes

Locking cells

So you don't accidentally delete a heading or a formula.

Why lock cells

In a spreadsheet, you can type anywhere. Sometimes that’s a trap. You accidentally type over a heading, or later on, over the formula that works out your average.

That’s why you can lock important cells. The spreadsheet will then warn you before you type into them.

Lock the headings

  1. On the Grades sheet, select A1:B1.

  2. Right-click → View more cell actions → Protect range. (Or in the menu, Data → Protect sheets and ranges.)

  3. A panel opens on the right. Type the description Headings and click Set permissions.

  4. Choose Show a warning when editing this range and click Done.

  5. Try typing something in A1. The spreadsheet warns you. Click Cancel.

You can still change the grades in B2 to B6 as usual.

💡

In Excel, you do this with Review → Protect Sheet. It works a little differently, but the idea is the same.

What to lock

WhatWhy
HeadingsSo they stay correct
Formulas (later)So they don’t get typed over
A finished projectSo nobody breaks it

Don’t lock grades and other data. Those change.

⚠️

Locking protects you from accidents. Anyone who’s allowed to edit the workbook can remove the lock. Sharing as a Viewer is what protects you from other people.

Removing a lock

Data → Protect sheets and ranges → click the lock in the list → the trash can icon.

당신 차례 💪

  1. The headings on Grades are locked.
  2. You can still type in B3.
  3. You know where to remove the lock.
✅

Done when: the headings are locked and you can still change the data.

What to take away from this lesson