Hi, I have a spreadsheet with arrival times and discharge times for thousands of patient attendances. Using the arrival time and discharge time I am looking to calculate the number of people in the department by hour so the patient numbers at 00, 01, 02 etc through to 23. For example if a patient arrived at 01:10 and was discharged at 05:20 they would be in the department at 01, 02, 03, 04, 05. Is there an easy way to calculate this for each of the 24 hours?