Pinterest Pixel

INDIRECT Function for Dependent Dropdown Lists in Excel

The INDIRECT function is really cool as it opens up a lot of interesting combinations in Excel. We... read more

Download Excel Workbook
Bryan
Posted on

Overview

INDIRECT Function for Dependent Dropdown Lists in Excel | MyExcelOnline

The INDIRECT function is really cool as it opens up a lot of interesting combinations in Excel.

We will use the power of the INDIRECT function right now on creating a Conditional Drop Down list Excel.

Watch the data validation indirect in Excel on YouTube and give it a thumbs-up!

INDIRECT Function for Dependent Dropdown Lists in Excel | MyExcelOnline

download excel workbook Indirect-Dependent-Dropdown-List.xlsx

Let us go through the steps on the dependent drop down list Excel in detail:

 

STEP 1: We have our data ordered in the following columns: Category, Meat, Beverage, Breakfast. 

Notice that the Category column has the values Meat, Beverage, and Breakfast. You will see why in our example below.

INDIRECT Function for Dependent Dropdown Lists in Excel

 

STEP 2: We are going to assign Named Ranges for all four columns.

The Name Box is on the far left of the Formula Bar.

INDIRECT Function for Dependent Dropdown Lists in Excel

 

Highlight the Category values, and type in the Name Box the name Category

INDIRECT Function for Dependent Dropdown Lists in Excel

 

STEP 3: Do the same for the other three columns:

Meat column values – Meat (Named Range)

Beverage column values – Beverage (Named Range)

Breakfast column values – Breakfast (Named Range)

After you created all these Named Ranges, click on the Name Box dropdown and see our newly created Named Ranges:

INDIRECT Function for Dependent Dropdown Lists in Excel

 

STEP 4: Let us start creating the dropdown lists, select the cell you want to place the first dropdown list.

INDIRECT Function for Dependent Dropdown Lists in Excel

Go to Data > Data Validation

INDIRECT Function for Dependent Dropdown Lists in Excel

 

STEP 5: Choose List in the Allow drop-down, and in the Source area, type in =Category

The reason we are doing this is to use the Category Named Range we defined in Step 2.

INDIRECT Function for Dependent Dropdown Lists in Excel

Click OK. Try out your drop-down list:

INDIRECT Function for Dependent Dropdown Lists in Excel

 

STEP 6: The moment you have been waiting for, it’s time to use our INDIRECT function!

Select the cell where you want to place the indirect data validation list.

INDIRECT Function for Dependent Dropdown Lists in Excel

Go to Data > Data Valdiation

INDIRECT Function for Dependent Dropdown Lists in Excel

 

STEP 7: Choose List in the Allow drop-down, and in the Source area, type in =INDIRECT($H$10) 

This will return the Named Range values from the drop-down list selected in cell H10.

INDIRECT Function for Dependent Dropdown Lists in Excel

Click OK. You will get this error initially, just click Yes to continue:

INDIRECT Function for Dependent Dropdown Lists in Excel

 

For example, if we pick Meat in the Category List dropdown, INDIRECT will calculate this as the “Meat” Named Range we defined earlier and return its values in the Content List dropdown.

The Meat Named Range would represent the values: Beef, Chicken, Pork:

INDIRECT Function for Dependent Dropdown Lists in Excel

 

 

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin

INDIRECT Function for Dependent Dropdown Lists in Excel | MyExcelOnline
INDIRECT Function for Dependent Dropdown Lists in Excel | MyExcelOnline
Bryan

Bryan is a best-selling book author of the 101 Excel Series paperback books.

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!