Hi
I have one data set containing a list of arrival datetimes and departure datetimes for customers. I am looking to create a separate table containing a column of times, by minute (00:00, 00:01 ... 23:59), as well a count of all occurrences of that time where it falls between the arrival and departure time, with the view of calculating the number of customers in the store at any given time. The problem I am having is that people can arrive at, for example, 23:00 and leave after midnight. Therefore, if the date is removed, the departure time can be less than the arrival time, which means I can't use a simple COUNTIFS formula (I think). I did figure out a long-winded array formula to calculate it, but am looking for something more efficient and simple, given the data set is fairly large, if anyone has any suggestions?
Thanks in advance.
I have one data set containing a list of arrival datetimes and departure datetimes for customers. I am looking to create a separate table containing a column of times, by minute (00:00, 00:01 ... 23:59), as well a count of all occurrences of that time where it falls between the arrival and departure time, with the view of calculating the number of customers in the store at any given time. The problem I am having is that people can arrive at, for example, 23:00 and leave after midnight. Therefore, if the date is removed, the departure time can be less than the arrival time, which means I can't use a simple COUNTIFS formula (I think). I did figure out a long-winded array formula to calculate it, but am looking for something more efficient and simple, given the data set is fairly large, if anyone has any suggestions?
Thanks in advance.