How to make Dependent Dropdown list with XLOOKUP

I have never imagined that it would be so easy to make a dependent dropdown list with XLOOKUP, follow these simple steps & don’t forget to see this video.

XLOOKUP is only available for Office365 (mac & windows)

xlookup dependent dropdown list sample data

In the above dataset, when a user selects the countries the relevant cities on the right table must appear in our countries tables as a dropdown list.

You can convert your data to Excel Table, which will be quicker to write the formula or you may use name ranges & In the video, I have explained how to construct the formula with the name range in the video.

Step 1

Select the range to make the first dropdown list of countries then go to Ribbon Tab > Data > Data Validation

steps to open data validation in excel

Data Validation box will pop-up.

Under the Setting tab, select Allow > List and then select the source icon.

Data validation selecting source in Excel
Screen Process Data Validation 1 xlookup

Select the range to create our first dropdown list

data validation xlookup

Once range is selected click on the down arrow icon  down arrow icon in data validation

Range Selected for xlookup headers

We are done making the first dropdown list & now let us see how to make the dependent list

Screen Process Data Validation 2

Step 2

To make a dependent list is very simple you just simply need to write this formula

Once we enter the formula, XLOOKUP will search the country “India” and return the values which are in India column and with new dynamic arrays, the information has spilled into each cell. However we will not keep this formula in the cell, below picture is just for understanding purpose

XLOOKUP formula to make dependent dropdown list
=XLOOKUP(A3,$D$2:$F$2,$D$3:$F$6)

You can copy the above formula by selecting the copy button in right conner

Select the range of Data Validation to need to be validated, in our case it’s from “C3:C6”

Go to Ribbon Tab > Data > Data Validation

Under the Data Validation setting tab, select Allow > List and then paste this formula in the source box.

XLOOKUP Dependent drop down list in Microsoft Excel

Congratulations ⭐️🎖, now you know how to make the dependent dropdown list using XLOOKUP


Was the information helpful in this blog?

  • If yes, hit that share button and show the excitement to the world.
  • Subscribe to our free posts.

Join 2,924 other subscribers

If no, please let us know what to improve.

Having trouble with any Office Apps. Feel free to ask and answer queries at our forums section.


3 2 votes
Article Rating
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Will

excel is freaking out over the formla being pasted into data validation…. i keep getting an error when a = is used excel thinks its a formula

=XLOOKUP(Sheet1!$F2,Sheet2!$F$1:$H$1,Sheet2!$F$2:$H$8,"",1,2)
Last edited 3 years ago by Will
1
0
Would love your thoughts, please comment.x
()
x