AntBlabby8
Board Regular
- Joined
- Apr 18, 2002
- Messages
- 200
I have a table of data for hours worked, beginning time and ending time. Many overlap. I need to create a table that counts the number of people at work, at any given hour of the day, in one hour intervals, e.g. 9am-10am, noon-1pm, 10pm-11pm, etc. I thought I could add columns across the raw data, with each column header representing one hour segment. But I'd need to have a formula for each individual that looks at the range of the hours worked (e.g., 8:00am-Noon, Noon-8pm, etc.) and then to lookup a a time at the top of the column fell within the range of their start and finish time and says True or false. This is really a thorny one, and I'm going to have to do it every week for 1800 people!!! Help!
Name | Start Time | End Time | 12:01am-1:00am | 1:01am-2:00am | 2:01am-3:00am | 3:01am-4:00am | 4:01am-5:00am | 5:01am-6:00am | 6:01am-7:00am | 7:01am-8:00am | 8:01am-9:00am | 9:01am-10:00am | 10:01am-11:00am |
Amy | 11:00:00 AM | 7:30:00 PM | |||||||||||
Bill | 6:00:00 AM | 2:30:00 PM | |||||||||||
Cathy | 9:00:00 AM | 7:30:00 PM | |||||||||||
Donald | 5:00:00 AM | 2:00:00 PM | |||||||||||
Edward | 5:00:00 AM | 4:00:00 PM | |||||||||||
Frank | 5:00:00 AM | 9:00:00 AM | |||||||||||
George | 5:00:00 AM | 4:00:00 PM | |||||||||||
Harold | 12:30:00 AM | 8:00:00 AM | |||||||||||
Isaac | 1:00:00 PM | 9:00:00 PM | |||||||||||
Jim | 2:00:00 PM | 10:00:00 PM | |||||||||||
Kimberly | 8:00:00 AM | 4:00:00 PM | |||||||||||
Lawrence | 2:00:00 PM | 10:00:00 PM | |||||||||||
Martha | 11:30:00 AM | 10:30:00 PM |