Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

i need a formula for a validation dropdown in Excel 2013

Posted on 2015-01-18
7
Medium Priority
?
81 Views
Last Modified: 2015-02-03
I need a formula that will read one cell and if the value is correct return the results to a validation dropdown.

EXAMPLE: =IF(StudentClass="1st Grade") It will list the StudentNames in the dropdown

The StudentClass and StudentNames are Named Areas on the spreadsheet
0
Comment
Question by:Mark Wood
[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
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 12

Expert Comment

by:James Elliott
ID: 40557353
Here's a great tutorial on exactly this requirement:

http://www.contextures.com/xlDataVal02.html
0
 
LVL 2

Author Comment

by:Mark Wood
ID: 40557810
I looked at that but I guess I am not getting it so let me explain a little more.

On sheet 1 I have a list of student with 2 named ranges. 1 is StudentName and the other is StudentClass.
On Sheet 2 I have a form to track attendance where I want to be able to have a dropdown that will display only the StudentNames where StudentClass = Nursery.

I will create attendance pages for each class so that sheet 3 for example would have a dropdown list where it would have a dropdown list that will display only the StudentNames where StudentClass = 1st Grade.

and so on.
0
 
LVL 12

Accepted Solution

by:
James Elliott earned 1000 total points
ID: 40557847
It would be best if you structured your first sheet into columns for each class. Like the example attached.

If you name your ranges the same as the column headers, then the formula for the second drop down is
 
=INDIRECT(TheRangeOfYourFirstDropDown)

Open in new window

ee.xlsx
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:Mark Wood
ID: 40558048
This is the file I am using. There will be a tab for each class.
Wednesday-Attendance.xlsx
0
 
LVL 2

Author Comment

by:Mark Wood
ID: 40575876
Can someone please help with this.

The first list is not a dropdown it is a named range called "StudentClass".

So IF(StudentClass=Nursery) the dropdown validation will list those names.
0
 
LVL 2

Author Comment

by:Mark Wood
ID: 40577458
this may require a vlookup as opposed to an if statement, I'm not sure.
0
 
LVL 2

Author Closing Comment

by:Mark Wood
ID: 40587922
I went about it a different way but thanks for the help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
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…

660 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