I am trying to create a shift scheduling sheet. On one tab I have vacation requests and on another the schedule. I want the names of those people who have vacation to pull into a cell under that date in the schedule. I ideally these would also be only the vacation requests with "Approved" status.
So far I have:
=TEXTJOIN(";",TRUE,IF(AND(C2>=Vacation!$A2,C2<=Vacation!$B2),Vacation!$C$2:$C$32, ""),"")
This is pulling over all the names, and not filtering out the dates properly, though the dates filter properly, when not using the TEXTJOIN part of the formula.
You can see my example here: https://docs.google.com/spreadsheets/d/1ZPV_wqKAah-zCz2mdxciQnb0ORfdDWa_ABu1o4eua8A/edit?usp=sharing