×

Dependent Drop-down List in Excel

Excel forms are used to fetch data from the end user. When we have to give choices, we often use the drop-down feature of Excel. In this tutorial, we won’t be discussing drop-downs. Instead, we will cover the dependent drop-down list.

What is a dependent drop-down list?

 In Excel, if more than one drop-down list is needed, the items in the second list can vary depending on the value of the first drop-down list. This process is called a Dependent Drop-Down list. The other names of the drop-down list are DDL or drop-down menu, pull-down list, or pick list.

Features of Drop-down List

The features of the drop-down list are listed below.

  • Items- The user includes items in the list, which contains various things one can select according to their choice.
  • Value- The user selects the item currently called value.
  • Style – Style is an option in a spreadsheet that includes various properties like color, font size, weight, etc.
  • Alignment – Alignment is allowed to choose the position of the item within the button.
  • Elevation- This feature is to elevate the dropdown list or menu.
  • Icon – It is used to display the icon in the dropdown list
  • Icon Size- This feature determines the size of the hero.
  • Icon Disabled Color – When the dropdown button is disabled, the icon color is set
  • Icon Enabled Color- The icon color is set when the dropdown button is enabled.
  • Dropdown Color – This dropdown property determines the background color of the dropdown.
  • Is Dense- The height of the button is reduced using this property
  • Is Expanded- This feature enables the dropdown button to full width
  • SelectedItemBuilder – The user selects the option from the drop-down list displayed on the button. When the user wants to show another text instead of the selected option SelectedItemBuilder option is used
  • Hint – The user can choose their desired text from the list to set as the default option in the list.
  • Disable Hint – It displays the desired text of the user when the drop-down button is disabled.

Types of Creating Dropdown List

One can create a drop-down list for various types, such as,

  1. Selection – A drop down used to select single items from multiple choices in the form
  2. Search Selection – It allows the user to search through many options.
  3. Multiple Selection – It allows one to select multiple choices from the option.
  4. Multiple Search Selection – A selection dropdown can allow multiple search selection
  5. Search Dropdown – A dropdown can be a searchable one.
  6. Search in Menu- It includes a search prompt inside a menu.
  7. Inline- It is formatted to appear inline in other content
  8. Pointing- A dropdown can be formatted so that the menu is pointing

How to create a Dependent drop-down list in Excel?

A dependent drop-down list is used to create data entry forms or Excel Dashboards. The drop-down list is helpful when using us to enter a list of products, regions, etc., where the user often needs to join the cell.

STEP 1: Enter the data set in the spreadsheet

Dependent Drop-down List

STEP 2: Select the cell where the drop-down list wants to display as C4. Choose data -> data validation. A dialogue box appears. Select the list option from the Allow drop-down and in the source window specify the range of data for which you want to apply the drop-down i.e, A3:B3.

Dependent Drop-down List

STEP 3: A drop-down list is created for fruits and vegetables is shown below

Dependent Drop-down List

STEP 4: Select the whole data from A3:B9. Choose Formulas, in the Defined Name tab, select Create from Selection. A dialog box appears in that choose “Top Row” and click OK.

Dependent Drop-down List

STEP 5: Select the cell where you want the conditional/Dependent drop-down list as D4.

STEP 6: Choose Data> Data Validation and select list from the dialogue box.

STEP 7: In the Source field, enter the formula =INDIRECT (E4), where E4 is the cell which contains the main drop-down list. Then click OK.

Dependent Drop-down List

STEP 8: The final result is shown below.

Dependent Drop-down List

In the above image, the items in the drop-down list D4 are displaying depending upon the drop-down list 1.

After Fruits are selected from the main dependent list C4, the items in the drop-down list D4 vary regarding the value from the main dependent list.

Dependent Drop-down List

Create a Named Range for a List of Items

The alternate way to enter the list items in the drop-down menu is by entering them in a named range and referencing the prescribed content in the Data Validation Menu.

STEP 1: A required data is entered in the spreadsheet

Dependent Drop-down List

STEP 2: Select the range of cell to create a named range .It should be a single range of column

Dependent Drop-down List

STEP 3: Select the Define Name command from the Formula tab. The New Name dialogue box will appear. Enter the name and range in the box as shown above. Press OK.

Dependent Drop-down List

STEP 4: This will create the name; if the range is selected, the term is displayed in the Name Box.

Dependent Drop-down List

After creating the name range, the user can create their drop drown list.

To create a drop-down list, first, select the cell.

Then choose the data validation option and the List option in the Allow button.

From the Source input box, enter the named range for the list source, which is preceded with an equal sign. Press Enter key.

Dependent Drop-down List

From the above image the source name is displaying automatically when the particular range is selected.

Dependent Drop-down List

The above image shows the drop-down menu displaying the item of the selected range.

The pros are the user can use this range name as a single source for many data validation lists. The user can edit the named range, which will reflect in the drop-down list that uses the content.

If the range name is moved to another location in the spreadsheet, it acts as a good source for drop-down lists that use it as a source for list items.

The cons are that first need to set the range name, but if many dropdowns in the spreadsheet are using the same source, it acts as an overhead.

Use a Table for List Items

Tables are used to add new data to the table. Typing the latest data below the table will add the new data to the table. The new entries in the table will add to the list below as a list item source.

Step 1: Select the data for the table, including the header.

Dependent Drop-down List

Step 2: Go to Insert Tab and click the Table button in the Tables group of the ribbon.

Step 3: A dialogue box appears, where the range is selected to create the table. Press the OK button after selecting the content. Check whether the header option is checked.

Dependent Drop-down List

STEP 4: A table is created for the required data as shown below. This table accepts the new data if added.

Dependent Drop-down List

Multi-Level Dependent Drop-down List

“If more than one dependent drop-down list present, it is called Multi-level Dependent drop down list.”

 One list depends upon one or more main list .The value in the list changes depends upon the value in the other list. For large sets of data Multi-Level Dependent Drop-down list is created.

How to create a Multi-Level Dependent Drop-down List?

To create a Multi Dependent Dropdown List following steps are followed.

STEP 1: Create the spreadsheet entries that need to appear in the drop-down list. The first column indicates the primary source, while the other three indicate the dependent drop-down list.

Dependent Drop-down List

STEP 2: Create a named Range for all entries by selecting Formula bar> Name Manager in Defined Names. A dialog box appears, in that click New. Select the required name and range.

Dependent Drop-down List

STEP 3: Similarly create the named range for all the fields as shown below.

Dependent Drop-down List

Step 4: Create the first drop-down list by selecting Data> Data Validation. Choose List and type the source name from named ranges.

Dependent Drop-down List

STEP 4: Create a Dependent Drop Down list using the formula =INDIRECT (D9), where D9 is the main list.

Dependent Drop-down List

The dependent list varies upon the value in the first range.

STEP 5: To create Multi dependent drop-down list, start a third data as shown below. Under the BA category, Tamil and English are added.

Dependent Drop-down List

STEP 6: The multi-dependent drop-down list is created from the below images. By choosing under Arts>BA>TAMIL. It is made using the formula =INDIRECT (E9), where E9 is the main list of F9.

Dependent Drop-down List

How to add color to the dropdown list?

Colour plays a vital role in the Excel drop-down list. Adding color to the drop-down list cells is a more straightforward task, and it is done by adding conditional formatting rules.

Dependent Drop-down List

STEP 1: Create data in a spreadsheet, create a dropdown list using data validation, and select the specified range.

STEP 2: A drop-down list is created, as shown in the above image.

STEP 3:  Select the cell where the drop-down list is present. Then choose Home>Styles Group > Conditional Formatting.

Dependent Drop-down List

STEP 4: Choose Highlight Cell Rules>More Rules. A format rule dialogue box will appear.

STEP 5: In the new formatting Rule dialogue box, select "Format cell that contains", and under the division, choose “Specific text” in the first drop-down list "containing" displays in a default manner and select the required cell in the third dialogue box.

Dependent Drop-down List

STEP 6: In the fill option, choose the required colour and click ok.

Dependent Drop-down List

STEP 7: Finally, the cell appears as the user's choice of color

.

Dependent Drop-down List

Features of Drop-down list

  • The spreadsheet looks more efficient by providing the spreadsheet
  • Data entry is quicker and more accurate when we opt for a drop-down list.
  • It limits the data entries in the cell.
  • When the cell is selected, the drop-down list appears, and the user can choose the Data easily.

Related Topics

Unique Values in Excel

The Unique function in Excel filters the list of unique values from the given data like range or array. The data presented is either number, text, date, time etc. This...

3 minutes read.

How to Make Use of the F-Test in Excel

Intro to F-Test in Microsoft Excel F-Test is primarily considered to be the essential tool of statistical in Microsoft Excel that, in turn, is used to do the hypothesis test with...

7 minutes read.

How to remove duplicate values from excel?

Remove duplicate values from excel Duplicate values occur when the same date or set of values is repeated in your Excel sheet. While working with Excel sheets many a time, the...

5 minutes read.

Excel EXACT() Function

The EXACT() function in excel checks whether the specified values (texts, numbers) are exactly the same or not. It returns a Boolean value TRUE if the compared values are same, else it...

1 minute read.

Shortcut Keys in Excel

Shortcut Keys in Excel Shortcut keys in Excel are used to simplify the work and save time by pressing a few keys.  These keys are used for navigating and working with Excel spreadsheets quickly and easily. Basic Selection:...

9 minutes read.

Purpose of Randomize in Excel

Excel spreadsheets are used on a large scale for business and personal usage. It is used to store data, perform multiple calculations, make assumptions based on charts and graphs etc....

7 minutes read.

Excel LARGE() Function

The LARGE() function in excel returns the k-th largest value in a data set. Syntax LARGE (Array, kth small number from the list) Parameter Array (required)- This parameter represents the list of numbers from which nth...

1 minute read.

Excel COUNTA() Function

Excel COUNTA() Function The COUNTA() function counts the number of cells in a range that are not empty. Syntax COUNTA([value1], [value [2], ...) Parameter value1(required)- This parameter represents the first cell in the range. value2, …(optional)- It represents...

1 minute read.

Application Interface and Key Components

The essential key components of Excel are as follows: Ribbon TabQuick Access ToolbarFormula BarActive CellColumnsRows Name BoxSheet TabsZoom ControlStatus Bar Ribbon Tab: The ribbon includes tabs labeled Home, Insert, Page Layout, Formulas, Data, Review,...

3 minutes read.

Data Analysis in Excel

Data Analysis in Excel Data analysis is a powerful tool that helps the users to make better decisions by comparing different information. Microsoft Excel extends its credibility to enforce the data analysis tool...

6 minutes read.

Excel IFNA Function

Excel IFNA Function The IFNA in Excel is used to remove the #N/A type of errors in excel values cells with our choice of value. IFNA function is from Excel 2013 onwards, so it...

1 minute read.

Row Difference in Excel

Microsoft Excel is used for multiple purposes in various organizations. It is a combination of numeric values, alphabets etc. To calculate data, the user organizes the data according to their...

5 minutes read.

Text to columns in Excel

Microsoft Excel is widely used in startups to large companies. The data are entered in required rows and columns, and sometimes the data entered in one cell needs to enter...

4 minutes read.

Excel COUNTIFS() Function

Excel COUNTIFS() Function The COUNTIFS() function in excel is used to count the numbers within a range that meet the supplied criteria.  Syntax COUNTIFS (range1, criteria1, [range2], [criteria2], ...) Parameter Range1 (required)- This parameter represents...

1 minute read.

How to Alphabetize in Excel?

Alphabetize in Excel One of the reasons for Excel's widest popularity is its ability to swiftly and effortlessly sort data. Excel facilitates easy methods that alphabetically sort the lists of strings...

5 minutes read.

Trendline in Excel

A Trendline is a line imposed on a graph to predict the direction of the data. It connects the series of data together to showcase the data best fit. The...

3 minutes read.

Excel DAYS() Function

The DAYS() function in excel returns the number of days that exist between two dates. Syntax DAYS (end_date, start_date) Parameter end_date (required)- This parameter represents the end date. start_date (required)- This parameter represents the start date. Category Date...

1 minute read.

Square Root Function in Excel

The concept of Mathematical calculations includes a large number of numbers and calculations are based on the numbers present in the data. Likewise, Square Root is a function used to...

3 minutes read.

Solver in Excel

What is Solver? Microsoft Excel facilitates an add-in programming tool known as Solver that uses operational research techniques to find the optimal solutions for objective problems. This tool operates with a group of...

5 minutes read.

Error Bar in Microsoft Excel

Error Bar is considered the essential term used in Microsoft Excel. It is defined as the graphical representation of the respective data used to denote the errors. The Error bars can...

7 minutes read.