Count appointments per each team member per time frame

jsterra

New Member
Joined
Jan 23, 2019
Messages
1
Hi all, please help:

I work in a hospital. Front office team answers the phone and books doctor appointments for customers. Our system registers the time and date of the appointment and who booked it. I want to count how many appointments were booked by each team member, per time frame.

On the data I have:

  • Column D: Team member names
  • Column I: Date
  • Column J: Time

I am able to count the total appointments booked per time frame e.g. 8:30-9:00 using:
=COUNTIFS($J$2:$J$1048576;">=8:30";$J$2:$J$1048576;"<=9:00")

I am able to count the total appointments booked per team member. To achieve this I added column L where every cell is number 1 and then for e.g. Monica it is: =+SUMIFS($L$2:$L$1048576;$D$2:$D$1048576;"Mónica Gil")

Now how can I count how many appointments were booked by Monica at time frame 8:30-9:00? Any suggestions?

I’ve tried mixing the formulas in a bunch of ways but I only get zeros or errors… Please help.

Thank you very much in advance.
J
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi,

Just make your life a lot easier ... by inserting a Pivot Table ...

Hope this will help
 
Upvote 0
Try adding two more conditions to the SUMIFS: ;$J$2:$J$1048576;">=08:30";$J$2:$J$1048576;"<=09:00")
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top