3.4 Data validation and protecting a model
Checked against Microsoft's Excel for Windows keyboard references, August 2026
What you'll be able to do
Hand a workbook to someone else and get it back unbroken. Dropdown lists instead of free typing, rules that refuse impossible entries politely, and formulas locked where fingers cannot reach them.
Before you start
Any workbook of yours that other people type into. The formatting and tables workbook will stand in for one.
The work
- No documented keyboard shortcut for this — use the menu: select the cells that should offer a fixed choice and go to Data → Data Validation. On the Settings tab choose List. Point Source at a range holding the options, such as a Table column or a spill like
E2#. The list then keeps itself up to date. Those cells now offer a dropdown, and typing anything else is refused. - Same either way: put the options on a sheet, never typed into the dialog. Options that live in cells can be added to by anyone, without opening the dialog again. A Table or a spill grows on its own.
- No documented keyboard shortcut for this — use the menu: the same dialog holds rules beyond lists. Whole Number between 0 and 100 for marks. Date greater than a start date for bookings. Custom takes any formula that returns TRUE when the entry is valid, so
=LEN(A2)=10holds phone numbers to ten digits. - Same either way: fill in the dialog's other two tabs, because a rule that refuses in silence is hostile. Input Message shows a hint when the cell is selected, such as "10-digit mobile, no spaces". Error Alert says what to do instead. The Stop style refuses the entry, and the Warning style allows it with a question. Use Stop for the impossible and Warning for the unusual but possible.
- Same either way: now the other half, which is protecting the formulas. Every cell is marked Locked to begin with, so first free the cells people type into. Select them, open Format Cells with Ctrl1, and on the Protection tab untick Locked.
- No documented keyboard shortcut for this — use the menu: then switch protection on. Go to Review → Protect Sheet and press Enter. Typing cells now accept entries, and formula cells refuse edits with a message. The password is optional and mostly for show, because protection is a guard against accidents, not a lock on a safe.
- Same either way: walk the sheet as its user for one minute. Tab moves between the unlocked cells only, dropdowns offer their choices, and wrong entries get polite refusals. That walk is the test of whether the work is done.
Try it
Take one sheet that others fill in. Give the category column a dropdown from a Table source. Hold marks to 0 to 100 with a Stop alert that explains itself. Add a hint to the phone column and rule it to ten digits. Unlock exactly the cells people type into, protect the sheet, and then try to break your own work.
Check yourself
Why do the dropdown options belong in cells rather than typed into the validation dialog?
Options in a range, such as a Table or a spill, can be added to by editing the sheet. Nobody has to reopen the dialog, and the list can keep itself up to date.
Stop or Warning — how do you choose the error style?
Stop for entries that are impossible, such as a mark of 130. Warning for entries that are unusual but possible and that a person should confirm. Refusing the possible teaches people to fight the sheet.
Protect Sheet locked the typing cells too. What step was missed?
Unlocking them first. All cells start as Locked, and protection enforces that mark. Select the typing cells, press Ctrl1 → Protection → untick Locked, and protect after that.
What is sheet protection actually for, honestly?
Preventing accidents, such as a formula typed over by a helpful colleague. It is a guard, not security, and anyone determined can get past it.
Go deeper
We haven't checked most of these for screen reader use yet.
Back to Data validation and protecting a model: work through the checklist