Hi There,
I have looked through the community and have found very similar queries but not the exact solution I am looking for, hoping you may be able to help and apologies if this has been answered before.
My business example is this: I have "Employee 1" and the start date for the period (column
. I also have the end date (column E).

On another input I then have a list of the dates they took leave (not necessarily all falling into the period so a simple first and last cross tab tool won't work).

What I want to achieve is in column C bring in the next date they took leave from that list AFTER the start date.
Similarly in column D I want to bring in the last date they took leave BEFORE their end date.
I hope I have explained this well and thanks in advance for any suggestions!