Something like below?
=SUM(IF(IFERROR(LEFT('22Jan_18Feb_PC'!$H$7:$H$35,5)*1<=Summary!A18,0)*IFERROR(RIGHT('22Jan_18Feb_PC'!$H$7:$H$35,5)*1,0)>A18,1,0))
___________________________________________________________
Problem 2
If staff A arrives for work on 28th Jan at 11:30am till 9:30pm we will consider him as rounded off to the next whole number which is 12:00pm as listed below and off shift at 9:00pm
Then comes another staff working from 8:30pm till 1:00am
Always upload data that represents your actual data and set up.
What does midnight shift indicate (Ex: 20:00-06:00)? Mar 1st going into Mar 2nd?
Your current data setup is not conducive to analysis. I'd suggest restructuring your data to flat table format to make subsequent analysis and reporting much easier.
Whats the date range for the report? (Typically, I report on work hours etc on bi-weekly basis. Based on Pay Period)
- Based on pay period month to month basis as this ties in with the profit and loss statement on payroll related expenses
2. What do you define as productivity?
- number of staffs work
- number of hours worked for casual workers and part timers
- Number of staffs worked on a weekdays and weekends
- Number of staffs worked on a weekdays and weekends based on hours
- After which we will divide by the number of covers served
3. Do you consider skill set differences by position? Or just number staffed?
- Just number staffed
- I uploaded another file which will provide a better picture.
Thanks for sharing
Also, version of Excel with license SKU. That will dictate what sort of tools are available at your disposal.
- Too bad my company does not invest in this and I'm not using Microsoft office pro version