Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Dynamic Arrays in Dropdown List | Combining Dynamic Array Functions
Excel Dynamic Arrays

bookDynamic Arrays in Dropdown List

Swipe um das Menü anzuzeigen

In many real-world scenarios, you don't just analyze data—you also need to create interactive inputs that adapt to your data automatically. One common example is a dropdown list that allows users to select values such as Employees, Departments, or Projects.

Traditionally, dropdown lists in Excel required manual range selection or named ranges that had to be updated when data changed. With dynamic arrays, you can now build dropdowns that are fully automatic and always up to date.

Using functions like UNIQUE, you can generate a clean list of values from a column, and then use that spilled result as the source for a dropdown list.

=UNIQUE(Employee_Projects[Employee Name])
or
=UNIQUE(C2:C28)

This formula returns a list of unique employee names that automatically updates when new employees are added to the table. You can put this formula into the separate sheet.

To use this result in a dropdown:
1. After creating a dynamic array formula (for example, unique Employee Names), select a cell where you want the dropdown;
2-4. Open Data → Data Validation → List;
5. In the Source field, reference the spill range using the # operator;

='Unique Employees'!$A$1#

6. Press OK.

Any changes in the Employee_Projects table—such as adding new employees or removing old ones—are immediately reflected in the dropdown list.

Create a dynamic dropdown list of Departments from the Employee_Projects table.

First, generate a unique list of Departments using a dynamic array formula. Then, use that spilled result as the source for a dropdown list in another cell.

  • Use a UNIQUE formula to generate the list;
=UNIQUE(Employee_Projects[Departments])
or
=UNIQUE(D2:D28)
  • Use the # operator in Data Validation.
question mark

After creating a dynamic dropdown list of Departments, how many unique values are available in the dropdown?

Select the correct answer

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 2

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

Abschnitt 3. Kapitel 2
some-alt