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.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Employee | Department | Departments | |||
| 2 | Aziz Karimov | Sales | Accounting | |||
| 3 | Dilnoza Rakhimova | Accounting | Sales | |||
| 4 | Javokhir Turaev | Warehouse | ||||
| 5 | Malika Yusupova | IT | ||||
| 6 | Sardor Aliev | HR | ||||
| 7 |
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). Данные → Проверка данных.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Employee | Department | Departments | |||
| 2 | Aziz Karimov | Accounting | ||||
| 3 | Dilnoza Rakhimova | Sales | ||||
| 4 | Javokhir Turaev | Warehouse | ||||
| 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.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Employee | Department | Departments | |||
| 2 | Aziz Karimov | Accounting | ||||
| 3 | Dilnoza Rakhimova | Sales | ||||
| 4 | Javokhir Turaev | Warehouse | ||||
| 5 |
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.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Contract signed? | ||
| 2 | Aziz Karimov | Yes | ||
| 3 | Dilnoza Rakhimova | |||
| 4 | Javokhir Turaev | |||
| 5 |
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).
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Departments | |||
| 2 | Accounting | |||
| 3 | Sales | |||
| 4 | Warehouse | |||
| 5 | IT | |||
| 6 | HR | |||
| 7 |
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.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Department | ||
| 2 | Aziz Karimov | Sales | ||
| 3 | Dilnoza Rakhimova | Acounting | ||
| 4 | Javokhir Turaev | Warehouse | ||
| 5 | Malika Yusupova | IT dept | ||
| 6 | Sardor Aliev | HR | ||
| 7 |
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.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Employee | Department | Check | Departments | ||||||||||||||||||||
| 2 | Aziz Karimov | Sales | Accounting | |||||||||||||||||||||
| 3 | Dilnoza Rakhimova | Acounting | Sales | |||||||||||||||||||||
| 4 | Javokhir Turaev | Warehouse | Warehouse | |||||||||||||||||||||
| 5 | Malika Yusupova | IT dept | IT | |||||||||||||||||||||
| 6 | Sardor Aliev | HR | HR | |||||||||||||||||||||
| 7 | Nodira Saidova | Sales | ||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 | ||||||||||||||||||||||||
| 11 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.