Search TeachExcel.com
TeachExcel.com
TE
Teach Excel MS Office Tutorials Excel Consulting Services Excel Forum
Excel Video Tutorials Excel Tips Free Excel Macros Excel Help Resources Contact TeachExcel
Video Tutorials
  • Free Macros
  • Excel Help Directory
  • Excel 2007 Resources
  • Keyboard Shortcuts
  • Excel Forum
  • Contact/About

Tutorials: Lookup & Search Functions in Excel



Featured Tutorial
Dynamically Update Drop-Dowm Menus in Excel
Featured Macro
Delete Empty Rows in Excel

Excel Lookup/Search Tip 6 - Vlookup with a Drop Down Menu and Data Validation

Video | Similar Helpful Excel Resources

Bookmark and Share

Learn how to use the VLOOKUP function in Excel in conjunction with a data validation drop down menu in order to create more logical and easy to use Excel spreadsheets. This allows you to use a drop down menu to supply the lookup value to the vlookup function in Excel instead of having to type the lookup value by hand. This reduces the amount of errors when searching a database and increases efficiency in Excel.
   Topics Covered
VLOOKUP() function in Excel.
Data Validation in Excel.
Drop Down Menus in Excel.
Search tables with lookup functions and formulas.
   Difficulty:         Intermediate
   Video:               Yes



Got a Question? Ask it Here in the Forum.



Similar Helpful Excel Resources

Data Validation / Drop Down Menu For An Excel Sheet From A Database - Excel

View Content
Hi All,

Firstly, A Happy New Year & thanks in advance for looking at this post.

I am actually looking to set up a drop down in an Excel sheet from a database (sql server)

Can you explain me in detail how I can do that please.

I have a list of names in the Column "Name" in a table "Staff" & Server "BT6531" which is the database. We are using SQL Server.
I am designing an excel sheet "StaffInfo.xls" in which a cell "K2" should pick up all the Values of "Name" & give them as a drop-down list for a user to select one.

Can you explain me how to do this please.

Ps. This list is dynamic & the table gets updated on regular basis.

Data Validation For Drop Down Menu? - Excel

View Content
I am doing an internship in Germany, and I have this crazy project with Excel. I am not very familiar with all the equations. Could somebody give me a few tips on how to go about this problem:

I want to select a company name and a type of container from a drop down menu, and have the information show up on a different sheet assigned for that specific company for the right size container. It involves quantities.

I will attach what I have sofar.
Thank you for the help, hint, or a link to a similar problem.

Ty
Ladungstraeger(1).xlsx

Ladungstraeger(2).xls

Data Validation / Drop Down Menu From A Database - Excel

View Content
Hi All,

Firstly, A Happy New Year & thanks in advance for looking at this post.

I am actually looking to set up a drop down in an Excel sheet from a database (sql server)

Can you explain me in detail how I can do that please.

I have a list of names in the Column "Name" in a table "Staff" & Server "BT6531" which is the database. We are using SQL Server.
I am designing an excel sheet "StaffInfo.xls" in which a cell "K2" should pick up all the Values of "Name" & give them as a drop-down list for a user to select one.

Can you explain me how to do this please.

Ps. This list is dynamic & the table gets updated on regular basis.

Data Validation/drop Menu With Hyperlinks? - Excel

View Content
Hello Everyone... I need some serious help as I need to put together a report for work.


What I want to do is this:


Create a drop menu. The options within the drop menu to be links (either to another Excel worksheet within the same workbook, or a WORD document).


I know how to create a drop menu, that is simple, but am not sure how to do the hyperlink aspect.


It seems when I actually insert>hyperlink onto the actual text of the drop menu (on the other sheet where i created the drop menu data), the hyperlink is not active in the actual drop menu itself.

Can somebody please help me?

Run By Selecting A Drop-down Menu From Data Validation - Excel

View Content
I was wondering if it was possible to run a macro as soon as something is selected from a drop down menu?

Data Validation / Drop Down Menu With Paste Special - Excel

View Content
Hi There!
I know how to use the copy and paste special to copy a formula from one row down many rows in that same column.

When I do this the formula will automatically change by 1 number
{such as =IF(ISBLANK(C5),"",VLOOKUP($C5,Sheet1!$B$3:D4891,3,FALSE)) then when I click on copy and pasted special each following row will change by one number ---- to =IF(ISBLANK(C6),"",VLOOKUP($C6,Sheet1!$B$3:D4892,3,FALSE))

Can this also be done if the row you want to copy and paste is a row with data validation / a drop down menu?
I simply tried using the same process for a row that has data validation the row with the validation has for the source =INDIRECT($B$5)

Is there a way to copy this down about 20 rows and have the ($B$5) change in each row by one number {such as ($B$6 THEN $B$7, ETC...)
Or do I just have to do the whole data validation process for each row?

Thanks!

Data Validation Drop-down Menu Blank Entry - Excel

View Content
I assign "names" equipment for worksheet1 COLUMN 'B' that contain

A B
1
2 primary
3 secondary
4 tool
5 gauge
6 cutter
7
8
9
10
11
12
...


For worksheet2 I assign cell b2 as data validation

Allow -> list
Source = equipment
Ignore blank -> check


However, after I copy the data validation to the rest of the row, something
weird happen

From cell b3 onward, clicking on the drop-down show the last blank cell
first, instead of showing the 1st value "primary".
The next cell b4, however doesnt have the 1st value "primary"
Cell b5 doesnt have 1st and 2nd value, and so on so forth,






Data Validation List With Unique Values (drop Down Menu) - Excel

View Content
I have a column of numbers which contains numerous repeated entries and blank cells. The list is free to expand as people can continually add to the list. The list can only expand to a finite number of rows, say 150.

Is it possible to use a bit of VB code to extract only unique entries and non-blanks from this list and copy it to another area so that this "new_list" can be named and used as data validation for a drop down menu.

I would like it to be automated so the length of the new_list created is recognised by the data validation so that there are not numerous blanks at the bottom of the drop-down menu as may be the case if numerous duplicate entries and blanks are removed.

I would be extremely greatful for any assistance.

PS I have looked at many related threads and although many solutions closely approach the one I require there are no direct matches. I am not a seasoned professional when it comes to excel so if I have failed to explain my situation using the correct terminology then please feel free to ask for further explanation.

Thanks in advance for any assistance offered!!

How To Prevent Clearing A Cell Containing A Drop Down Menu (data Validation)? - Excel

View Content
Hello everyone.

I have an spreadsheet with a number of formulas that are, among other things, influenced by the values selected from a number of drop-down menus. Through the data validation option I can prevent users from entering an incorrect value (e.g.: entering "D" when the drop-down menu only shows "A", "B" and "C"). However, since that cell has be unlocked for it to be editable, I cannot prevent the user from clearing the cell (deleting its content), which makes many other key cells in the spreadsheet go "N/A".

How can I prevent the cell from being cleared?

Thanks.

Changing Data With Drop Down Menu... Vlookup? - Excel

View Content
HI, I have recently worked with a chain of hotels, asking their customers how they rate each hotel. I have all the data and would like to present it in excel. I'd like to present it so that at the top of the spreadsheet is a drop down menu of all the hotel locations, and when clicked on, the data appears in the blank table below. I've done something like this before years ago but can't remember for the life of me. I'm fairly sure it has something to do with Vlookup.
Thanks in advance.

Contact | Privacy Policy | Disclaimer
Copyright© 2012 TeachExcel.com