How to Extract Data Based on a Drop Down List in Excel – 6 Steps

This is the sample dataset.

Extract Data Based on a Drop Down List Selection in Excel

Step 1 – Create a Table to Extract Data Based on a Drop Down List in Excel

  • Select the Table.

Extract Data Based on a Drop Down List Selection in Excel

  • Click Insert.

Extract Data Based on a Drop Down List Selection in Excel

  • Click Table Design, and name it (Sales).

Extract Data Based on a Drop Down List Selection in Excel


Step 2 – Extract Unique Data Based on a Drop Down List Selection

=UNIQUE(Sales[Branch])

Extract Data Based on a Drop Down List Selection in Excel

This is the output.

Extract Data Based on a Drop Down List Selection in Excel

Read More: How to Create a Drop Down List with Unique Values in Excel


Step 3 – Insert a Data Validation List to Find Data Based on a Drop Down List in Excel

  • To create a Data Validation list, click Data.
  • Click Data Validation.

Extract Data Based on a Drop Down List Selection in Excel

  • Select List in Allow.
  • Press Enter.

Extract Data Based on a Drop Down List Selection in Excel

  • In the source box, select List.
  • Press Enter.

Extract Data Based on a Drop Down List Selection in Excel

The Data Validation drop down list is created.

Extract Data Based on a Drop Down List Selection in Excel

Read More: Creating a Drop Down Filter to Extract Data Based on Selection in Excel


Step 4 – Apply the FILTER Function to Extract Data Based on a Drop Down List Selection in Excel

=FILTER(Sales

Extract Data Based on a Drop Down List Selection in Excel

  • In the Include argument, add the Branch.
  • Use the following formula.
=FILTER(Sales,Sales[Branch] = H4
  • H4 is the cell of the drop-down selection box.

Extract Data Based on a Drop Down List Selection in Excel

  • In the ‘if empty’ argument, enter “Nothing Found”.
=FILTER(Sales,Sales[Branch] = H4,"Nothing Found")

Extract Data Based on a Drop Down List Selection in Excel

  • Select any option (Texas), to extract all related value.

Extract Data Based on a Drop Down List Selection in Excel

This is the output.

Sample Data

Notes. The FILTER function is only available in Microsoft 365.

Read More: Create Excel Filter Using Drop-Down List Based on Cell Value


Step 5 – Insert Another Criterion to Extract Data Based on a Drop Down List Selection

  • Create a unique list with another column (Products). Enter the formula.
=UNIQUE(Sales[Products])

Sample Data

Another unique list will be created for the ‘Products‘ column.

Sample Data

  • Create another Data Validation drop down list by selecting the cell values.
  • Press Enter.

Sample Data


Step 6 –  Extract Data Based on a Drop Down Selection List with Multiple Criteria

  • After creating another drop-down list, this is the output.

Sample Data

  • Enter the following formula to apply both the criteria.
=FILTER(Sales,(Sales[Branch] = H4)*(Sales[Products]=H6),"Nothing Found")

Sample Data

  • Select two options from the two drop down lists.

Sample Data

You will get the value of rows that meet both criteria.

Sample Data

Read More: How to Create Dependent Drop Down List with Multiple Words in Excel


Download Practice Workbook

Download this practice workbook to exercise.


Related Articles


<< Go Back to Excel Drop-Down List | Data Validation in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Bhubon Costa
Bhubon Costa

Bhubon Costa, B.Sc. in Naval Architecture & Marine Engineering from Bangladesh University of Engineering & Technology, has worked with the ExcelDemy since 2021. Currently, he has been working as a reviewer. Notably, he has written over 90 articles and led several VBA content development teams. He has a great passion for the fields of data analytics and data science. His areas of expertise include Excel VBA, Power Query, Pivot Table, Power BI, MySQL, PostgreSQL, machine learning, and Python... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo