Count a time a call is made

gmazza76

Well-known Member
Joined
Mar 19, 2011
Messages
769
Office Version
  1. 365
Platform
  1. Windows
Good Afternoon

I have a spreadsheet with 2 tabs on "Calls Inbound" where the data is stored and "Calls Inbound Overview" where I have an overview.

I am trying to count how many times a call is taken between set times and I am having no look.

The date ("A") and time ("B") are in "Calls Inbound", but I am having trouble trying to get a countif to work. D18 is the time from and E18 is the time to. In the formula below I am trying to see how many calls were entered onto my spreadsheet between 08:00 - 09:00 so on an hourly rate. I will include the date at a later time, but I cant get it to count anything.

My time format is set as 00:00:00

Code:
=COUNTIFS('Calls Inbound'!A2:A42,">="&D18,'Calls Inbound'!A2:A42,"<"&E18)

Any help appreciated
Thanks in advance
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hello,

Alternative formula:

=SUMPRODUCT(--('Calls Inbound'!$A$2:$A$42=C18),--('Calls Inbound'!$B$2:$B$42>=D18),--('Calls Inbound'!$B$2:$B$42 < E18))

If you continue with dates and times in rows 19 onwards, just copy the formula down.

For just times try

=SUMPRODUCT(--('Calls Inbound'!$B$2:$B$42>=D18),--('Calls Inbound'!$B$2:$B$42 < E18))

(You will need to remove the spaces

I tried =COUNTIFS('Calls Inbound'!$B$2:$B$42,">="&D18,'Calls Inbound'!$B$2:$B$42,"<"&E18) and got the same result, so it may be something to do with your cell formatting.

Actually, your formula is looking at the dates column, isn't it?
 
Last edited:
Upvote 0
What format on the time should I be using?
Thanks for the reply
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

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