Skip to main content
Albero Academy

Data Validation & Named Ranges

Prevent bad input with dropdown lists and validation rules, and make formulas readable with named ranges.

Chapter 14Excel13 min readBeginner friendly
  • #Excel
  • #Data Validation
  • #Named Ranges

Garbage in, garbage out — the best time to fix bad data is to prevent it. Data Validation restricts what can be typed into a cell, and named ranges give meaningful names to cells so your formulas read like English.

Why validate?

When other people (or future-you) fill in a sheet, validation stops typos and inconsistent entries — "Data" vs "data" vs "Data Analytics" — that would otherwise break every lookup and summary downstream.

The most useful validation: a dropdown that forces users to pick from an allowed list. Data → Data Validation → List, then point it at a range or type the options:

a dropdown
Data Validation → Allow: List → Source: =Programmes[Name]
(or a typed list: Data, Full Stack, DevOps )
Now that cell only accepts one of those values, via a dropdown.

Validation rules

AllowRestricts to
Whole numberIntegers in a range (e.g. 16–99)
DecimalNumbers in a range
ListA fixed set of values (dropdown)
DateDates in a range
Text lengthA max/min number of characters
CustomAny formula that returns TRUE

Named ranges

A named range gives a cell or range a memorable name. Formulas then reference the name instead of an address — clearer and easier to maintain:

names instead of addresses
Name cell E1 "TaxRate" (Formulas → Define Name, or the Name Box).
Instead of: =B2 * $E$1
Write: =B2 * TaxRate (self-documenting, no $ needed)

Practice

Add a dropdown for "Programme" pointing at a list, a whole-number validation (16–99) for an age cell with an input message, and a custom rule. Name a tax-rate cell TaxRate and rewrite a formula to use the name.

Key takeaways

  1. 01Data Validation prevents bad input — the cheapest place to fix data is before it's entered.
  2. 02List validation creates a dropdown that forces users to pick allowed values.
  3. 03Rules cover whole number, decimal, date, text length, list and custom formulas.
  4. 04Add Input Messages and clear Error Alerts to guide users.
  5. 05Named ranges give cells memorable names so formulas read like English (=B2*TaxRate).