Solved

# Excel, Validation, VLOOKUP

Posted on 2015-01-14
164 Views
Using Data Validation to prevent invalid data from being entered into a cell.  Validation criteria is to allow only data from a List.

Values for the list are contained in a separate worksheet in the same workbook.  Is it possible to create a list of valid items using VLOOKUP?

VLOOKUP looks for a value in the leftmost column of a table, and then returns a value in the same row from a column that I specify.  It doesn't produce a list.
0
Question by:clock1
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 3
• 3
• 3

LVL 7

Expert Comment

ID: 40550004
Not entirely clear on what's giving you trouble, but check out this article:  http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_17079-Creating-an-Efficient-Dashboard-in-Excel.html

It dives into using VLOOKUP across multiple sheets within a workbook.  Hope it helps!
0

LVL 12

Expert Comment

ID: 40550013
could you elaborate more about the problem
because you can select value range for list validation from other sheets in the workbook
0

Author Comment

ID: 40550086
Sheet 1 contains 3 entries in cells A1:A3.  Want list validation for B1:B3.  So, B1 list contains 2 items Onions, Turnips.  User can only pick from these 2 items as entries in B1.

Sheet1:
Col A       Col B
Red
Green
Blue

Sheet2:
Col A      Col B
Green    Apples
Green    Potatoes
Red        Onions
Red        Turnips
0

LVL 7

Expert Comment

ID: 40550095
0

Author Comment

ID: 40550116
Reviewed the link and not making the connection using pivot tables.

My need is to control what the user chooses to enter in the cell.  Not to retrieve data.

Am I missing the point?
0

LVL 7

Expert Comment

ID: 40550134
Well, once you've done a pivot table to identify those specific results with the inputs, you can use that to be the name for a dropdown list.
0

LVL 12

Expert Comment

ID: 40550209
I have done similar thing, as I recall  using indirect function without pivot tables , sorry it is after midnight in my local time, I will get back to you after few hours
0

LVL 12

Accepted Solution

FarWest earned 500 total points
ID: 40550837
attached is the solution,
but you need to add a column for the look up list that needs to be filled with ranges that belongs to column A,

good luck
Book1Lookup.xlsx
0

Author Closing Comment

ID: 40552644
Thanks.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
###### Suggested Courses
Course of the Month5 days, 15 hours left to enroll