Hey folks,
I have a bit of an issue I'm struggling with that could possibly be simple I'm not sure. What I have is a sample dataset as seen below that contains leave for dummy individuals. What I am trying to do is based on the Leave_Date column is get a count of how many consecutive days a person if off for.
Below is a sample of the data albeit cleaned up to look nice.
Hopefully that makes sense