Skip to playerSkip to main content
  • 4 months ago
Learn how to create a dependent drop down list in Excel. Discover how you can create a dynamic drop down list in Excel with multiple selection. And we will also answer, what is a dynamic drop down list? And how do I create a dependent drop down list in multiple rows?

These are the steps outlined in my video.

Country Drop Down List
1) Select B2
2) Data ~ Data Tools ~ Data Validation ~ Data Validation
3) List
4) Source as =$D$14#
5) ENTER twice

State Drop Down List
1) Select B3
2) Data ~ Data Tools ~ Data Validation ~ Data Validation
3) List
4) Source as =$E$14#
5) ENTER twice

City Drop Down List
1) Select B4
2) Data ~ Data Tools ~ Data Validation ~ Data Validation
3) List
4) Source as =$F$14#
5) ENTER twice

Get Unique Country
1) Select cell D14
2) =UNIQUE(A14:A109)

Get Unique State
1) Select cell E14
2) =UNIQUE(INDEX(FILTER(A14:B109,A14:A109=B2),,2))

Get Unique City
1) Select cell F14
2) =UNIQUE(INDEX(FILTER(B14:C109,B14:B109=B3),,2))

The formula is the same as before except that we are using State in cell B3 as a condition and we are using data range from G2 to H97.

Let's breakdown the formula.
=UNIQUE(INDEX(FILTER(A14:B109,A14:A109=B2),,2))

FILTER(A14:B109, A14:A109=B2): The FILTER function is used to filter data in a range based on a specified condition. In this case, it filters the range A14:B109 based on the condition that the corresponding cells in column D (A14:A109) are equal to the value in cell B2.

INDEX(..., , 2): The INDEX function returns a value or array of values from a specified range. In this case, we are using the FILTER result as the first argument. The ", , 2" means we want to retrieve the values from the second column of the filtered range, which is column E (the first column is column D).

UNIQUE(...): The UNIQUE function is used to get unique values from a range or array. It takes the result from the INDEX function (which already contains the values from column E that meet the condition in column D) and returns only the unique values from that range.

In summary, the entire formula finds all the unique values in column E (in the range A14:B109) where the corresponding cells in column D (in the range A14:A109) are equal to the value in cell B2.


How do I create a dependent drop-down list in Excel?,How to create a dynamic drop-down list in Excel with multiple selections?,What is a dynamic drop-down list?,How do I create a dependent drop-down list in multiple rows?,

Category

📚
Learning
Transcript
00:00If you want to create a dependent drop-down list like this, this, how you do it?
00:03If we start off with country, we're going to say equal unique, all the countries in that list.
00:07This will give us the unique country list. For the state, you're going to use this formula.
00:10The filter function is used to filter data in a range of A14 to B109 based on the condition
00:15column of A14 to A109 is equal to B2 from the drop-down list. Index function simply returns
00:21column number two values. Unique function returns distinct values. You're going to hit enter after
00:25that. You'll see calc error. Don't worry about it because you don't have a drop-down menu quite yet.
00:29For the cities, you're going to copy the state formula and paste it in here. The only difference
00:33would be that this is going to be B3, which is going to be the state, and hit enter. You'll get
00:36calc error as well. Now we're going to do the pull-down menu. Go select your country here. Go data,
00:40data tools, data validation, validation. In here, you're going to select list, and then you're going
00:44to click here, and then you're going to select the country, and you're going to put pound here like
00:48this, and hit enter twice. And you're going to do the same thing for state and city.
00:55Now if you change the country, the state and the city changes accordingly.
00:59www.add��니다.org. Right now.
01:00There you are.
01:01Now let's jump on here.
01:01Now let's do what this is going to do next to the nation.
01:02We need to do the businesses urbanize this way.
01:07You will only have a whole number of 400 to 1,000 to 1,000 Ojibharry03, and eat today's
01:10Scholarship coming up toAfter satisfactions for encouraged.
01:11You are the three 3 yeah,�데 the goal, 55% ?"
01:14and I hope you agree that happens to theристs epidemic.
01:16Now let's go at this space for dinner and stay Diana.
01:18Now let's see.
Comments

Recommended