Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9704

Join names in single cell based on whether a date is between start and end date

$
0
0

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


Viewing all articles
Browse latest Browse all 9704

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>