I am trying to get a count of people in a specific area at specific times of the day. I have 15 minute time slot columns and a check in and check out time. I'm trying to get the 15 minute time slots to enter a one(1) if the person is in the time slot between the specific in and out times. And a zero(0) if the person is not. See the example below. I realize there are 59 seconds in the start/end times. I tried doing something with a calculation of how long the person was in the area but wasn't successful.
So the first example of someone coming in at 10:39 and leaving at 11:22 has a 1 in cols E, F, G and H
Any help or thoughts are appreciated.
Thanks in advance.
