I need to be able to count cases/patients located in a certain place and show the count that were there each hour of each day of the month. I've started this work but I'm stuck. First off I have a false on the G5 cell that should be true. To complicate this further they want to be able to see a months worth of data.
So I have a Date of each individual case, an individual case number, and the time the patient entered and exited the location. This is an example of the data set.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Case #[/TD]
[TD]In PACU[/TD]
[TD]Out of PACU[/TD]
[/TR]
[TR]
[TD]5/1/2018[/TD]
[TD]982526[/TD]
[TD]10:13:00[/TD]
[TD]11:23:27[/TD]
[/TR]
[TR]
[TD]5/1/2018[/TD]
[TD]983425[/TD]
[TD]14:03:07[/TD]
[TD]15:03:19[/TD]
[/TR]
[TR]
[TD]5/2/2018[/TD]
[TD]1004804[/TD]
[TD]12:28:55[/TD]
[TD]12:56:08[/TD]
[/TR]
[TR]
[TD]5/3/2018[/TD]
[TD]956819[/TD]
[TD]12:37:57[/TD]
[TD]13:02:51[/TD]
[/TR]
</tbody>[/TABLE]
They want to track the counts in hour segments so I set up a hour count for
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]982526[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7:00:00 AM[/TD]
[TD]=AND(E2>=$C2,$D2>E2) this should show true or false[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8:00:00 AM[/TD]
[TD]=AND(E3>=$C2,$D2>E3)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9:00:00 AM[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The first tab on this sheet would show how they want the data to display.
[TABLE="width: 500"]
<tbody>[TR]
[TD]May[/TD]
[TD]5/1/2018[/TD]
[TD]5/2/2018[/TD]
[TD]5/3/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7:00:00 AM[/TD]
[TD]5[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8:00:00 AM[/TD]
[TD]2[/TD]
[TD]7[/TD]
[TD]6[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I only filled in the example data here for the first few days but of course it would be displayed across the grid. This has quickly maxed out my experience. Is this even possible? Since I can't attach the sheets here I tried to recreate some data examples.
This is my first post so any help would be appreciated.
Thanks in advance for the help.
Debra
So I have a Date of each individual case, an individual case number, and the time the patient entered and exited the location. This is an example of the data set.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Case #[/TD]
[TD]In PACU[/TD]
[TD]Out of PACU[/TD]
[/TR]
[TR]
[TD]5/1/2018[/TD]
[TD]982526[/TD]
[TD]10:13:00[/TD]
[TD]11:23:27[/TD]
[/TR]
[TR]
[TD]5/1/2018[/TD]
[TD]983425[/TD]
[TD]14:03:07[/TD]
[TD]15:03:19[/TD]
[/TR]
[TR]
[TD]5/2/2018[/TD]
[TD]1004804[/TD]
[TD]12:28:55[/TD]
[TD]12:56:08[/TD]
[/TR]
[TR]
[TD]5/3/2018[/TD]
[TD]956819[/TD]
[TD]12:37:57[/TD]
[TD]13:02:51[/TD]
[/TR]
</tbody>[/TABLE]
They want to track the counts in hour segments so I set up a hour count for
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]982526[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7:00:00 AM[/TD]
[TD]=AND(E2>=$C2,$D2>E2) this should show true or false[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8:00:00 AM[/TD]
[TD]=AND(E3>=$C2,$D2>E3)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9:00:00 AM[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The first tab on this sheet would show how they want the data to display.
[TABLE="width: 500"]
<tbody>[TR]
[TD]May[/TD]
[TD]5/1/2018[/TD]
[TD]5/2/2018[/TD]
[TD]5/3/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7:00:00 AM[/TD]
[TD]5[/TD]
[TD]5[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8:00:00 AM[/TD]
[TD]2[/TD]
[TD]7[/TD]
[TD]6[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I only filled in the example data here for the first few days but of course it would be displayed across the grid. This has quickly maxed out my experience. Is this even possible? Since I can't attach the sheets here I tried to recreate some data examples.
This is my first post so any help would be appreciated.
Thanks in advance for the help.
Debra