Solved

i need a formula for a validation dropdown in Excel 2013

Posted on 2015-01-18
7
74 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 500 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

634 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