Link to home
Start Free TrialLog in
Avatar of clock1
clock1

asked on

Excel, Validation, VLOOKUP

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.
Avatar of Katie Pierce
Katie Pierce
Flag of United States of America image

Not entirely clear on what's giving you trouble, but check out this article:  https://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!
Avatar of FarWest
FarWest

could you elaborate more about the problem
because you can select value range for list validation from other sheets in the workbook
Avatar of clock1

ASKER

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
Avatar of clock1

ASKER

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?
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.
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
ASKER CERTIFIED SOLUTION
Avatar of FarWest
FarWest

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of clock1

ASKER

Thanks.