Intermediate

How to create a drop-down list in Excel: Data Validation and dynamic lists

Create a drop-down list in Excel: Data Validation → List, a range as the source, a table-based list that grows by itself, dependent lists and the most common mistakes.

Ten people fill in the “Department” column of an HR sheet. The result: one department spelled four ways — “Accounting”, “accounting”, “Acounting”, “Accounting ” (trailing space). A PivotTable shows four separate departments, and SUMIF finds half the amount.

A drop-down list fixes this at the root: the cell only accepts a value picked from the list. You build it with Проверка данных on the Данные tab.

Книга1 - Excel
—☐✕
B4fx
ABCDEF
1EmployeeDepartmentDepartments
2Aziz KarimovSalesAccounting
3Dilnoza RakhimovaAccountingSales
4Javokhir TuraevФинансовыйSalesWarehouseITHRWarehouse
5Malika YusupovaIT
6Sardor AlievHR
7
Готово
The list is open in B4: only departments from column E can be picked, typos are impossible

Method 1: a list from cells (the right way)

1

Type the options in a separate place — say E2:E6, or a separate “Lists” sheet. That makes the list easy to edit later.

2

Select the cells that need the list (B2:B6). Данные → Проверка данных.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Получить данныеОбновить все
Получить данные
СортировкаФильтр
Сортировка и фильтр
Текст по столбцамУдалить дубликатыПроверка данных
Работа с данными
B2fx
ABCDEF
1EmployeeDepartmentDepartments
2Aziz KarimovAccounting
3Dilnoza RakhimovaSales
4Javokhir TuraevWarehouse
5
Готово

3

On the Settings tab set Allow to List. Click in Source and select E2:E6 with the mouse — =$E$2:$E$6 is filled in for you. In-cell dropdown must be ticked.

Книга1 - Excel
—☐✕
E2fxAccounting
ABCDEF
1EmployeeDepartmentDepartments
2Aziz KarimovAccounting
3Dilnoza RakhimovaSales
4Javokhir TuraevWarehouse
5
ГотовоКоличество: 3

4

Click OK. Now when you select a cell in column B, a ▾ button appears on its right. Open it from the keyboard with Alt + ↓.

Method 2: type the options into Source

1

If there are only a few options that never change (Yes/No, M/F), type them straight into Source: Yes,No. No separate list needed.

Книга1 - Excel
—☐✕
B2fxYes
ABCD
1EmployeeContract signed?
2Aziz KarimovYes
3Dilnoza Rakhimova
4Javokhir Turaev
5
ГотовоКоличество: 1

2

The separator is your system’s list separator. With English regional settings it’s a comma; with Russian and many Uzbek settings it’s a semicolon: Yes;No. If the list shows a single option “Yes,No”, switch the separator.

Method 3: a list that grows by itself (dynamic)

1

With a plain source like =$E$2:$E$6, a new department typed in E7 won’t show up. The fix is to turn the list into a table: click inside E1:E6 and use Вставка → Таблица (Ctrl + T).

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Сводная таблицаРекомендуемые сводные таблицыТаблица
Таблицы
Рисунки
Иллюстрации
Рекомендуемые диаграммыСводная диаграмма
Диаграммы
A1fxDepartments
ABCD
1Departments
2Accounting
3Sales
4Warehouse
5IT
6HR
7
ГотовоКоличество: 6

2

In the validation Source, select the data area of the table column (without the header). When a new row is typed under the table, the table expands and so does the list. A more robust option: name the table (e.g. Depts) and use =ДВССЫЛ("Depts[Departments]") as the source — Data Validation does not accept a structured reference directly.

3

Excel 365 makes it even easier: in a free cell (say G2) type =СОРТ(УНИК(B2:B100)), and set the source to =$G$2#. The # means “the whole spilled range”: the list is always sorted and free of repeats.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Получить данныеОбновить все
Получить данные
СортировкаФильтр
Сортировка и фильтр
Текст по столбцамУдалить дубликатыПроверка данных
Работа с данными
fx
ABCD
1EmployeeDepartment
2Aziz KarimovSales
3Dilnoza RakhimovaAcounting
4Javokhir TuraevWarehouse
5Malika YusupovaIT dept
6Sardor AlievHR
7
Готово
Circle Invalid Data reveals old entries that don’t match the list (shown in red here)

Pro level: dependent lists (Region → District)

The first cell picks a region; the second shows only that region’s districts.

Classic method (any version): put each region’s districts in a separate column and give the column a name matching the region (Формулы → Диспетчер имён or the Name Box). Names can’t contain spaces, so use something like “Tashkent_region”. The district cell’s validation source: =ДВССЫЛ(A2) — the text in A2 becomes a name.

Excel 365 method: a two-column table — Region and District. In a helper cell type =ФИЛЬТР(Districts[District];Districts[Region]=A2) and set the source to =$H$2#. No names needed, but it suits a single input cell.

More options: on the Input Message tab, write a hint that appears when the cell is selected (“Pick from the list”). To copy a finished list to other cells: copy → Paste Special → Validation.

Try it in the simulator

Before adding the list, check the old entries: type =ЕСЛИ(СЧЁТЕСЛИ($E$2:$E$6;B2)>0;"OK";"Error") in C2 and fill down to C7. Find the departments that don’t match the names in the list.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1EmployeeDepartmentCheckDepartments
2Aziz KarimovSalesAccounting
3Dilnoza RakhimovaAcountingSales
4Javokhir TuraevWarehouseWarehouse
5Malika YusupovaIT deptIT
6Sardor AlievHRHR
7Nodira SaidovaSales
8
9
10
11
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

146 / 154