Excel Tutorial

Excel Tutorial Shortcut Keys in Excel Formatting in Excel Notes in Excel Formats in Excel Cells and Ranges in Excel Excel Function and Formulas Conditional Formatting in Excel Data Validation in Excel Charts in Excel Excel Ribbon Toolbar Basics of Excel Spell Check in Excel Data Analysis in Excel AutoFill in Excel Goal Seek in Excel Solver in Excel Pivots Table in Excel Go-To Special function in Excel Blank cells in Excel Count Cells with Text in Excel Date and Time in Excel-VBA Dependent Drop-down List in Excel Operators in Excel Dependent Combo box in Excel VBA Error Bar in Microsoft Excel Excel Axes Excel File using Password Excel Unique Values Frequency Distribution in Excel Gauge Chart in Excel Histogram in Excel Sum Every Nth Row in Microsoft Excel SumIF Formula in Microsoft Excel Multiplication in Excel Unique Values in Excel Trendline in Excel Excel Themes Copying formula in Excel Check Marks in Excel Calculating the Last Day of the Month in Excel Calculating Age in Excel Insert Row in Excel

Functions

Excel MAX() Function Excel INT() Function Excel MOD() Function Excel ROUND() Function Excel ROUNDUP() Function Excel AVERAGE() Function Excel COUNT() Function Excel COUNTA() Function Excel COUNTBLANK() Function Excel MIN() Function Excel EDATE() Function Excel EOMONTH() Function Excel HOUR() Function Excel MINUTE() Function Excel SECOND() Function Excel TIME() Function Excel WORKDAY() Function Excel WORKDAY.INTL() Function Excel DAYS() Function Excel WEEKNUM() Function Excel WEEKDAY() Function Excel SMALL() Function Excel LARGE() Function Excel LEFT() Function Excel RIGHT() Function Excel MID() Function Excel FIND() Function Excel SEARCH() Function Excel EXACT() Function Excel SUBSTITUTE() Function Excel TEXT() Function Excel VALUE() Function Excel AND() Function Excel OR() Function Excel IFERROR() Function Excel IF() Function Excel Nested IF’s Function Excel IFNA() Function Excel COUNTIFS() Function Excel VLOOKUP() Function Excel HLOOKUP() Function Excel INDEX() Function Excel MATCH() Function Excel OFFSET () Function Averageif Function in Excel

How To

How to import Microsoft Access data into the Microsoft Excel How to use TODAY function in Excel How to Alphabetize in Excel How to remove duplicate values from excel How to lock cells in Excel How to create drop down in excel How to Delete Row in Microsoft Excel How to Highlight Duplicates Words in the Microsoft Excel How to print titles in Excel How to make use of the Wildcard in Excel How to Make Use of the F-Test in Excel How to make use of the Excel Autofit in Excel How to generate random numbers in Excel How to apply Advanced Filter in Excel How to use Index and Match in Excel

Misc

Absolute Value in Excel Adding Column in Excel Converting Units in Excel Count Characters in Excel Custom Sort Order in Excel Decimals in Excel Division in Excel Locate Maximum Values in Excel Nearest Multiple in Excel Paste Options in Excel Quarter Dates in Excel Row Difference in Excel Separate Strings in Excel Reverse List in Excel Array Formula in Excel What if Analysis Data Table in Excel Excel Shortcut Keys What is a spreadsheet in Excel?

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.