Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count the number of times a cell value is within a specific range

I am looking for a formula that will count the number of times a specific
task (in column J) occurs within a given time range (in column E).

Example, how many times does "A" occur between 0800 hrs. and 0900 hrs.

I also need a second formula that sorts the above for each employee.

The times are currently being inputed as a number 0800, 0812, etc and not
actually military times.

Thanks for any assistance I may get.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count the number of times a cell value is within a specific ra

That did not help.

Let me further explain what I am trying to accomplish. I am a crime scene
investigator. Investigators take various calls, such as assaults. The
receive the calls at various times throught the day. I am trying to count
the number of times the entire unit responded to an assault call between 0800
hrs. and 0900 hrs.

I then want to count the number of times an individual investigator took the
same call between 0800 hrs. and 0900 hrs.

There are 26 different types of calles we respond to through out the day.
The types of calls are in column J. The times I am wanting to use in the
counting criteria are in column E.

Everett

"Don Guillett" wrote:

try using sumproduct
=sumproduct((rngAcriteria)*(rngA<criteria))

--
Don Guillett
SalesAid Software

"Everett" wrote in message
...
I am looking for a formula that will count the number of times a specific
task (in column J) occurs within a given time range (in column E).

Example, how many times does "A" occur between 0800 hrs. and 0900 hrs.

I also need a second formula that sorts the above for each employee.

The times are currently being inputed as a number 0800, 0812, etc and not
actually military times.

Thanks for any assistance I may get.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count the number of times a cell value is within a specific ra

This may also help

Problem 1:
Column E Column J
0923 Assault
0945 ADW
1159 Assault
0901 Assault

How many "Assault" calls were there between 0900 and 1000?

Problem2:
Column B Column E Column J
Bill 0923 Assault
Jim 0945 ADW
Bill 1159 Assault
Adam 0901 Assault

How many "Assault" calls did Bill take between 0900 hrs. and 1000 hrs.?

"Don Guillett" wrote:

try using sumproduct
=sumproduct((rngAcriteria)*(rngA<criteria))

--
Don Guillett
SalesAid Software

"Everett" wrote in message
...
I am looking for a formula that will count the number of times a specific
task (in column J) occurs within a given time range (in column E).

Example, how many times does "A" occur between 0800 hrs. and 0900 hrs.

I also need a second formula that sorts the above for each employee.

The times are currently being inputed as a number 0800, 0812, etc and not
actually military times.

Thanks for any assistance I may get.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Count the number of times a cell value is within a specific ra

Don has already given you an answer:

Problem 1:
Column E Column J
0923 Assault
0945 ADW
1159 Assault
0901 Assault

How many "Assault" calls were there between 0900 and 1000?


=SUMPRODUCT((J1:J4="Assault")*(E1:E4900)*(E1:E4<1 000))

Problem2:
Column B Column E Column J
Bill 0923 Assault
Jim 0945 ADW
Bill 1159 Assault
Adam 0901 Assault

How many "Assault" calls did Bill take between 0900 hrs. and 1000 hrs.?


=SUMPRODUCT((B1:B4="Bill")*(E1:E4900)*(E1:E4<1000 )*(J1:J4="Assault"))


--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Everett" wrote in message
...
This may also help

Problem 1:
Column E Column J
0923 Assault
0945 ADW
1159 Assault
0901 Assault

How many "Assault" calls were there between 0900 and 1000?

Problem2:
Column B Column E Column J
Bill 0923 Assault
Jim 0945 ADW
Bill 1159 Assault
Adam 0901 Assault

How many "Assault" calls did Bill take between 0900 hrs. and 1000 hrs.?

"Don Guillett" wrote:

try using sumproduct
=sumproduct((rngAcriteria)*(rngA<criteria))

--
Don Guillett
SalesAid Software

"Everett" wrote in message
...
I am looking for a formula that will count the number of times a
specific
task (in column J) occurs within a given time range (in column E).

Example, how many times does "A" occur between 0800 hrs. and 0900 hrs.

I also need a second formula that sorts the above for each employee.

The times are currently being inputed as a number 0800, 0812, etc and
not
actually military times.

Thanks for any assistance I may get.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I count the number of times a letter is used in a cell? jsrawlings Excel Discussion (Misc queries) 5 June 28th 06 02:02 AM
Count Specific word in specific range [email protected] Excel Worksheet Functions 2 May 16th 06 10:30 AM
how to format only a specific character or number in each cell withina range of cells Colleen Excel Worksheet Functions 1 September 12th 05 05:44 PM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 07:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"