r/excel • u/HymntoThoth • 9d ago
solved Creating a Drop Down List Whose Options Change Depending on a Variable in Another Cell
Excel neophyte here, hoping to learn to right terms I need to look up.
The Problem
We have a new batch of student employees that come in every year. Each has unique schedule with hours they want to work, hours they can work, and hours the can't work. I need to build a weekly department schedule with this information, and doing so by hand is tedious, gives me a headache, and way too prone to human error.
My "Solution"
Essentially, I want to build a template workbook where I can enter the availability information I get from my student workers for each day of the week, then have an week overview table with a drop down list that only shows the names of students that are available for that day in that time slot.
Where I'm Stuck
So far I've been able to build a book that takes the individual schedule information the employees give to me, then places that information into tables for each day of the week so I can compare who is available and when for that day.
Now I need to find a way to create a drop down list that, for instance, checks the 8AM column on the Sunday table and gives me the names of the employees who have that hour set as Preferred or Available.
I know that Excel can handle IF/THEN statements, but I'm not sure how to apply that to a drop down list, or how to direct Excel to associate the data in the 8AM column in the Sunday table with the list of employee names. I've looked into cascading and dynamic cascading drop down menus but each of those seem to rely on building static tables that I would need to redo by hand each year.
Is there a function or terminology I'm missing for what I'm attempting? (Most likely.) Am I missing something obvious. (Almost certainly.) Could I have already made several schedules with the time I've spent trying to figure this out? (Yes, but I'm too invested to quit now.)
•
u/AutoModerator 9d ago
/u/HymntoThoth - Your post was submitted successfully.
Solution Verifiedto close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/Decronym 9d ago edited 4d ago
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.
Beep-boop, I am a helper bot. Please do not verify me as a solution.
5 acronyms in this thread; the most compressed thread commented on today has 19 acronyms.
[Thread #49747 for this sub, first seen 25th Nov 2026, 20:24] [FAQ] [Full list] ^[Contact] [Source code]
6
u/Dangerous_Cup3607 1 9d ago
Data, Data Validation, Setting, Allow, List, Source, select the target column such as =student!$A:$A.
Then you will have a dynamic drop-down based on the distinct values found in the student data.
2
u/CorndoggerYYC 162 9d ago
Do you have the FILTER function?
2
u/Suchiko 2 9d ago
So dropdowns link to a range (which can be a whole column if you want). The trick is to make sure the text in that separate range changes based on your variable.
1
u/Potential_Chart_8648 1 7d ago
Welcome to legacy features that don't work well with modern and dynamic excel.
I end up with "List" sheets that build the lists then use named ranges DV_LISTA = A1#
1
u/Standard_Curve_5874 7d ago
If you have a table for every weekday, name every table the name of the day; in every table, you have all the student employees in the first column called "employee". In the remaining columns, you have the hours: 8 a.m., 9 a.m., etc. In each of these columns you write the status of each employee.
If you correctly created the data as tables (mark the area and press Ctrl + T), you can just click on the filter buttons in every hour column and filter for the statuses you want to see. Then you have it. Remove filters when you have to change the wishes of the employees.
-4
u/bigfatfurrytexan 9d ago
You use an indirect function but that is a slow function to calculate so he sparing
-5
u/python_flutter 8d ago
AI. If only you could prompt an AI to tell you how to do and solve this...
28
u/[deleted] 9d ago
[removed] — view removed comment
1
u/[deleted] 9d ago edited 9d ago
[removed] — view removed comment