Good afternoon people.
I have a bit of a weird formula im trying to work out.
From my thoughts its a 3 level count if
First it is looking on Sheet 1 for the staff members name in Column C
Then It is looking for the type of Certificate used for personal leave in Column F.
the 3rd query it needs to count is it must count only for Certs in the staff members current Year of employeement.
this is what i have so far
=SUMPRODUCT(--(Sheet1!$C$5:$C$6000=$B3)*--(Sheet1!$F$5:$F$6000=D$2))
this checks the staff members name and what cert type, but not the date. Im useless with the Sumproduct function
EG of what i am after
Staff member one has had 3 days off as"No Certificate" since he was employeed.
Start date 01/04/07.
The roll over date where all numbers zero again is 01/04/08 and so on each year
they have had 3 sick days this year
Sick Date 1) 01/06/08
Sick Date 2) 09/09/08
Sick Date 3) 10/10/08
These three dates all fall in the last 12 months of there employeement
so the answer should be 3
If todays current date was 01/04/09, then the answer should roll back to zero
Thanks
Warren
Bookmarks