Hi everyone! I am currently working on a project where I need to identify how much a given employee has accrued vacation based on the hours worked that fall after their accrual start date from a YTD hours list. For example if an employee starts on 1/1/23, they are eligible to begin accruing vacation time 6mo after employment (in this instance it would be 7/1/23). I have two sets of data I'm working with. 1 set is the Employee information with their Accrual Start Date, and the other set of information is their YTD Hours Worked by pay period.
Is it possible to write a formula using SUMIF that says, "From the list of hours worked, sum all of the hours only if the accrual start date is after the check date"?
Operationally I'm trying to write in B2:
1) Use A2 to check the Check Date list.
2) If A2 is before the Check Date, SUMIF
The reason I'm having so much trouble is because if there is an employee who's accrual starts say 3/1/23, the sumif will give me all the hours from 1/24/23 to 12/29/23, however I'm only looking for the hours from 3/1/23 (their accrual start date) to 12/29/23. I hope this makes sense and thank you in advanced for the help!
Screenshot 2024-01-03 184706.png
Bookmarks