How to Extract Data Based on a Drop Down List Selection in Excel

To get a better visualization and comparison, we may need to extract some specific data based on certain criteria. In this article, we will show you how to extract data based on a drop-down list selection in Excel.


How to Extract Data Based on a Drop Down List Selection in Excel: Easy Steps

In the image below, a sample data set is provided to accomplish the tutorial to show how to extract data from the drop-down list. We will use Data Validation to make a drop-down list. Later on, we will use the FILTER function, to filter the extracted data.

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 Selection in Excel

  • Select the Table.

Extract Data Based on a Drop Down List Selection in Excel

  • Click on the Insert.

Extract Data Based on a Drop Down List Selection in Excel

  • Click on the Table Design, and give a name (Sales) to it.

Extract Data Based on a Drop Down List Selection in Excel


Step 2: Extract the Unique Data Based on a Drop Down List Selection in Excel

=UNIQUE(Sales[Branch])

Extract Data Based on a Drop Down List Selection in Excel

  • Therefore, you will get the unique values for the Branch.

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 Selection in Excel

  • To create a Data Validation list, click on Data.
  • Then, click on the Data Validation.

Extract Data Based on a Drop Down List Selection in Excel

  • Select the List from the Allow.
  • Press Enter.

Extract Data Based on a Drop Down List Selection in Excel

  • In the source box, select the List.
  • Finally, press Enter.

Extract Data Based on a Drop Down List Selection in Excel

  • As a result, you will see that, 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, type “Nothing Found”.
=FILTER(Sales,Sales[Branch] = H4,"Nothing Found")

Extract Data Based on a Drop Down List Selection in Excel

  • Now, select any option (Texas), to extract all the related value.

Extract Data Based on a Drop Down List Selection in Excel

  • Therefore, you will find all the values regarding ‘Texas’.

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

  • To insert another criterion, make a unique list with another column (Products). Type the formula in a cell.
=UNIQUE(Sales[Products])

Sample Data

  • Therefore, another unique list will be created for the ‘Products‘ column.

Sample Data

  • Make another Data Validation drop down list with selecting the cell values.
  • Then, press Enter.

Sample Data


Step 6: For Multiple Criteria Extract Data Based on a Drop Down Selection List in Excel

  • After creating another drop-down list, it will show like the image below.

Sample Data

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

Sample Data

  • Select any two options from the two drop down list.

Sample Data

  • As a result, you will get the value of the rows, satisfied both the 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 while you are reading this article.


Conclusion

Finally, I hope you now know how to convert text to date using Excel VBA. All of these tactics should be performed while your data is being educated and practiced. Look over the practice book and put what you’ve learned to use. Because of your generous support, we are motivated to continue delivering initiatives like these.

Please do not hesitate to contact us if you have any questions. Please let us know what you think in the comments area below.

Stay with us and keep learning.


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