Solved

Excel -  Data validation from a subset?

Posted on 2016-09-16
4
44 Views
Last Modified: 2016-09-16
Hi all,

I've got a simple sheet here:

screen
On a different sheet, I need this to happen:

In cell A1, If I choose either "Apple" or "Orange", I need a data validation type drop-down in cell B1 that only shows the type of that fruit.

So for example, if i choose "Apple" in cell A1, I can only choose in cell B1: "Granny Smith", "Red Delicious", or "Fuji".

Thanks in advance.
0
Comment
Question by:Go-Bruins
  • 3
4 Comments
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 41802292
You're looking for a conditional drop list that uses data validation.  To make it work, you'll need to create dynamic range names that will select the dependent data.

This EE question has both a link to an online article and an example solution that I provided that demonstrates it.
https://www.experts-exchange.com/questions/28498440/Picking-from-a-conditional-drop-down-list.html

-Glenn
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 500 total points
ID: 41802306
I've made a version of my example workbook from the previous EE question with your data as a guide.  

It does require a separate table for each input cell.  There is a dynamic range name called "TypeList" that will select the correct fruit types based on the value in cell B1 on the "Inputs" sheet.

Regards,
-Glenn
EE-Pick-from-dropdown2.xlsx
0
 

Author Closing Comment

by:Go-Bruins
ID: 41802448
Worked beautifully. Thank you.
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 41802451
You're welcome.  Dynamic range names are very useful.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question