Hello, I am creating a Vacation tracker and trying to use a sumifs formula to calculate the number of days that a person has taken in a given year. The complexity is that the leave anniversaries on the start date of the employee rather than the start of the year. What I would like to do in the Vacation Days used in 2023 column is
sumif(Employee Name = Employee, Days Out, if the Vacation end date is within the last year of the anniversary date).
Sheet 1 - Leave Requests has the below columns
Employee / Supervisor / Type of Leave / Vacation Start / Vacation End / Days Out / Approved
Sheet 2 - Employee Information has the below columns
Employee / Supervisor / Date of Hire / Anniversary Date (2024) / Vacation Days Used in 2023 / Vacation Days Used in 2024 / Future Vacation Scheduled
Currently I am here but cant figure out adding the date part:
=SUMIFS({Leave Requests Days Out}, {Vacation Day Requests Employee Name}, [Employee Name]@row, {Leave Requests Approval}, "Approved")
Does anyone have any advice? Thank you all!