Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • How to calculate average last N values in a table in Excel
  • Use Data Form to input, edit and delete records in Excel
  • How to sum a total in multiple Excel tables
  • How To Filter Data in Excel

References

  • How to get first column number in range in Excel
  • How to get relative row numbers in a range in Excel
  • Lookup entire row in Excel
  • Count unique text values with criteria
  • How to calculate two-way lookup VLOOKUP in Excel Table

Data Validations

  • Prevent invalid data entering in specific cells
  • How To Create Drop-down List in Excel
  • Excel Data validation must begin with
  • Excel Data validation no punctuation
  • Excel Data validation with conditional list

Excel Data validation with conditional list

by

How to create a drop-down and multiple dependent drop-down lists.in Excel

To allow a user to switch between two or more lists, you can use the IF function to test for a value and conditionally return a list of values based on the result.

Formula

=IF(A1="See full list",long_list,short_list)

Explanation

In the example shown above, the data validation applied to C4 is:

=IF(C4="See full list",long_list,short_list)

This allows a user to select a city from a short list of options by default, but also provides an easy way to view and select a city from a longer list of cities.

How this formula works

Data validation rules are triggered when a user adds or changes a cell value. This formula takes advantage of this behavior to provide a clever way for the user to switch between a short list of cities and a longer list of cities.

In this formula, the IF function is configured to test the value in cell C4. When C4 is empty or contains any value except “See full list”, the user sees a short list of cities, provided in the named range short_list (E6:E13):

If the value in C4 is “See full list”, the user sees the long list of cities, provided in the named range long_list (G6:G35):

The named ranges used in the formula are not required, but they make the formula a lot easier to read and understand. If you are new to named ranges, this page provides a good overview.

Dependent dropdown lists

Expanding on the example above, you can create multiple dependent dropdown lists. For example, a user selects an item type of “fruit”, so they next see a list of fruits to select. If they first select “vegetable” they then see a list of vegetables.

 

 

 

Post navigation

Previous Post:

COSH function: Description, Usage, Syntax, Examples and Explanation

Next Post:

Excel Data validation require unique number

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

Logical Functions

  • How to use Excel AND Function
  • Invoice status with nested if in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • Not Equal To ‘<>‘ operator in Excel

Date Time

  • Get last day of month in Excel
  • How to calculate months between dates in Excel
  • Basic timesheet formula with breaks in Excel
  • Calculate series of dates by workdays in Excel
  • Convert Unix time stamp to Excel date

Grouping

  • Running count group by n size in Excel
  • Calculate conditional mode with criteria in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel
  • Categorize text with keywords in Excel

General

  • Basic error trapping example in Excel
  • How to count total number of cells in a rectangular range in Excel
  • How to get random value from list or table in Excel
  • How to calculate project complete percentage in Excel
  • Creating and Opening an existing file in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning