Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel MMULT Function
  • How to use Excel ROW Function
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to get relative row numbers in a range in Excel
  • Create hyperlink with VLOOKUP in Excel

Data Analysis Examples

  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How to create a Histogram in Excel
  • Get column name from index in Excel Table
  • Excel Bar Chart
  • How to calculate average last N values in a table in Excel

Data Validation Examples

  • Excel Data validation must not contain
  • Excel Data validation date in next 30 days
  • Excel Data validation specific characters only
  • Excel Data validation whole percentage only
  • Excel Data validation allow weekday only

How to Create Dependent Drop-down Lists in Excel

by

This example describes how to create dependent drop-down lists in Excel.

Here’s what we are trying to achieve:

The user selects Pizza from a drop-down list.

As a result, a second drop-down list contains the Pizza items.


To create these dependent drop-down lists, execute the following steps.

1. On the second sheet, create the following named ranges.

Name Range Address
Food A1:A3
Pizza B1:B4
Pancakes C1:C2
Chinese D1:D3

2. On the first sheet, select cell B1.

3. On the Data tab, in the Data Tools group, click Data Validation.

The ‘Data Validation’ dialog box appears.

4. In the Allow box, click List.

5. Click in the Source box and type =Food.


6. Click OK.

Result:

7. Next, select cell E1.

8. In the Allow box, click List.

9. Click in the Source box and type =INDIRECT($B$1).

10. Click OK.

Result:

Explanation: the INDIRECT function returns the reference specified by a text string. For example, the user selects Chinese from the first drop-down list. =INDIRECT($B$1) returns the Chinese reference. As a result, the second drop-down lists contains the Chinese items.

Post navigation

Previous Post:

Set Print Area in Excel

Next Post:

Prevent invalid Product Codes or ID Numbers in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • Complete List of Excel Text Functions References and Examples
  • NUMBERVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Remove last characters from right in a cell in Excel
  • Remove text by position in a cell in Excel
  • How to Capitalize first letter in a sentence in Excel
  • Count holidays between two dates in Excel
  • Calculate number of hours between two times in Excel
  • How to get number of days, weeks, months or years between two dates in Excel
  • Display Date is same month in Excel
  • Get first day of previous month in Excel
  • TBILLYIELD function: Description, Usage, Syntax, Examples and Explanation
  • PRICEDISC function: Description, Usage, Syntax, Examples and Explanation
  • CUMPRINC function: Description, Usage, Syntax, Examples and Explanation
  • COUPDAYS function: Description, Usage, Syntax, Examples and Explanation
  • XNPV function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles