hope the title wasn't too confusing.
this is my project:
I'm trying to figure out how to get the names on the right (NICK-GL) to stack on top of each other at the bottom, when one of the mon-fri boxes has one of the correlating names in it, i.e., when Nick is is displayed in F3, NICK-GL appears in F21. The names on the right will change from week to week. I'd like them to automatically bump to the top of the list at the bottom, but stay in the order they are on the Name list.
If you already couldn't tell, I'm a beginner.
I found this formula on stackoverflow, but I don't know how to implement it into my sheet.
=LET(datal,E74:E83,datar,T74:T82,dell,"/",delr,"-",
dl,FILTER(datal,LEN(datal),""),
IFNA(XLOOKUP(TEXTBEFORE(dl,dell),
TEXTBEFORE(datar,delr),datar),dl))
If someone could also explain to me what each part of that means, I would tremendously appreciate it.