r/excel • u/How-D-Partner • Oct 30 '25
Waiting on OP Dynamic Grouping Based Off of Different List
Is there a way for me to have an excel sheet dynamically change if a different list changes?
I have a list of instructors and their assigned students (Instructor List), but it changes periodically and I would like the Main Data Set to update if there is a change to instructor-student assignment and also keep various quantitative information (flight hours) that is tied to that student. Going in every time and copy/pasting my way is too time consuming.


6
Upvotes
•
u/AutoModerator Oct 30 '25
/u/How-D-Partner - 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.
3
u/LentilRice 1 Oct 30 '25
Instead of the horizontal format you currently have (Instructor in row 1, Students underneath), it’s best to make it vertical like this:
Step 1: Instructor List Sheet (InstructorList)
Instructor Student
John A Jane A
John A June B
John A Jine C
John A Jone D
Paul S Phil A
Paul S Phal B
And so on.
Step 2: Main Data Sheet
Student. Instructor. Flight Hours
Jane A. (auto-fill). 120
June B. (auto-fill). 90
Jine C. (auto-fill). 110
And so on.
Step 3: Formula (for Instructor column)
Paste this into the first “Instructor” cell (for example, B2) and drag down:
=XLOOKUP(A2, InstructorList!B:B, InstructorList!A:A, "")
2
u/GregHullender 195 Oct 30 '25
See how this works for you. Change the range of
inputto match your data. Be sure it includes the header row.There's probably a much less heavy-weight way to do this, but this is what immediately came to mind.
1
u/Decronym Oct 30 '25 edited Nov 02 '25
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.
[Thread #46008 for this sub, first seen 30th Oct 2025, 21:11] [FAQ] [Full list] ^[Contact] [Source code]