View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Beginner Beginner is offline
external usenet poster
 
Posts: 12
Default Count formula help!!

Thanks to everyone for your assistance and quick response. I could use all of
these samples for my formula problem.

Hope you have a Happy New Year!!


"Billy Liddel" wrote:

Hi

say the layout is:

A_Time 10 - 11:00am
2
Member Id Arrive time Leave Time Time Stayed
1 10:30 11:00 00:30
2 11:46 12:15 00:29
3 10:49 12:00 01:11
4 11:35 12:45 01:10

the Arrive times are in column B from row 4 to 400

In B2 copy or type:
=COUNTIF(B4:B400,"=10:00")-COUNTIF($B$4:B400,"=11:00")
you will need to format the result as general.

To show a cumulative total in say column E copy this into E4
=IF(B411/24,"",COUNTIF($B$4:B4,"=10:00")-COUNTIF($B$4:B4,"=11:00"))

Time stayed in d4 is just b4-c4

Copy all the formulas down

Regards
Peter
"Beginner" wrote:

I need to count the number of occurences between the hours of the day. For
example:
Time arrived
#of Members
Member1 - 10:30 7:00
Formula
Member2 - 11:46 10:00
Formula inserted
Member3 - 10:49 11:00
and so forth
Member4 - 11:35

How can I write a formula to count the number of members that arrive at
10:00 -11:00?

Any or all help is appreciated!!!
Thanks