How to VLOOKUP with Dropdown List in Excel?

We often use VLOOKUP function to find proper value by certain conditions in excel. And we often create a dropdown list to filter value in excel. If you combine these two features together, it can help us solve a lot of search problems by some conditions, and it will bring us a lot of convenience. For example, we have two columns of data, one column lists the names and another one lists the sales, we want to choose a value from the Name dropdown list, and then show the corresponding sales value in the adjacent cell will, in this case we need to use VLOOKUP function. In this article we will use above case to illustrate how can we use the combination of  VLOOKUP and dropdown list.

We have a table of Name and Sales, see below screenshot:

VLOOKUP with Dropdown List 1

And in column E, create a dropdown list of Names, when you select a name from dropdown list, the relative sales will be displayed in adjacent cell. See example below:

VLOOKUP with Dropdown List 2

So, if we want implement this feature, we need to use VLOOKUP function in F2 in this case. Please see steps below.

Combine VLOOKUP and Dropdown List in Excel


Step 1: Create a dropdown list for Name column. In E2, click Data->Data Validation to load Data Validation window.

VLOOKUP with Dropdown List 3

Step 2: In Data Validation window, enter Settings tab, select List under Arrow field, enter =$A$2:$A$7 in Source field, then click OK.

VLOOKUP with Dropdown List 4

Step 3: Verify that Dropdown list is created properly.

VLOOKUP with Dropdown List 5

Step 4: In F2 enter the formula =VLOOKUP(E2,$A$2:$B$7,2,FALSE).

In above formula, E2 is the value we filtered from the dropdown list; $A$2:$B$7 is the absolute range for search E2.

Step 5: In E2 select a name from dropdown list to verify if above formula works normally.

VLOOKUP with Dropdown List 6

From the test result we can find that it takes effective for cell F2.

Related Functions


  • Excel VLOOKUP function
    The Excel VLOOKUP function lookup a value in the first column of the table and return the value in the same row based on index_num position.The syntax of the VLOOKUP function is as below:= VLOOKUP (lookup_value, table_array, column_index_num,[range_lookup])….

 

Related Posts

VBA Macro For VLOOKUP From Another Sheet
vba macro for vlookup from another sheet1

In the previous post, you should know that how to fix or remove the #N/A error when using VLOOKUP formula to lookup value from another sheet. And this post will show you how to use VBA code to vlookup data ...

VLOOKUP From Another Sheet Not Working
vlookup from another sheet not working3

In the previous post, you should know that how to fix or remove the #N/A error when using VLOOKUP formula to lookup value from another sheet. And this post will show you reasons why your VLOOKUP formula is not working ...

Fix #N/A Error For VLOOKUP From Another Sheet
vlookup from anther sheet not working1

This post will show you how to fix the #N/A error why it occurs when you extract values from another sheet using VLOOKUP function in Excel 2016,2013,2010 or other Excel versions. How can you correct a #N/A error in VLOOKUP ...

Get Employee Information by VLOOKUP

VLOOKUP is one of the key functions among all lookup & reference functions in Excel. Today, in this article, we will show you the way to apply VLOOKUP to retrieve employee information. I hope this article will help you in ...

VLOOKUP with Two Lookup Tables

VLOOKUP is one of the key functions among all lookup & reference functions in Excel. Today we will show you the application of VLOOKUP function when there are two lookup tables. EXAMPLE Table1 and table2 record the rates of Y2020 ...

VLOOKUP with Multiple Lookup Values

VLOOKUP is one of the key functions among all lookup & reference functions in Excel. It can scan and retrieve data from a static or dynamic table based on your lookup value. It can perform approximate match or exact match ...

VLOOKUP Data by Date

VLOOKUP is one of the key functions among all lookup & reference functions in Excel. It can scan and retrieve data from a static or dynamic table based on your lookup value. It can perform approximate match or exact match ...

VLOOKUP – Retrieve Data from Another Workbook
VLOOKUP - Retrieve Data from Another Workbook 1

VLOOKUP is one of the key functions among all lookup & reference functions in Excel. It can scan and retrieve data from a static or dynamic table based on your lookup value. It can perform approximate match or exact match ...

VLOOKUP – Retrieve Data from Another Worksheet
VLOOKUP - Retrieve Data from Another Worksheet 3

VLOOKUP is one of the key functions among all lookup & reference functions in Excel. It can scan and retrieve data from a static or dynamic table based on your lookup value. It can perform approximate match or exact match ...

Case Sensitive Lookup with SUMPRODUCT and EXACT

Today, we will show you how to use SUMPRODUCT and EXACT to perform a case sensitive exact match. In this article, we provide a simple example to calculate bonus for employees whose names are case-sensitive. If you meet similar scenarios ...

Sidebar