Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kippercat
 
Posts: n/a
Default i need help with the "count" function

hi, i am trying to create a second sheet in my workbook that counts the
number of people in my excel staff rota that work between 07:00 to 08:00 and
08:00 to 09:00 and so on, basicaly a head count for every hour of the day,
any ideas???

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Put the start time in A, end time in B, and then use

=SUMPRODUCT(--(Sheet1!$A|$1:$A$1000A1),--(Sheet1!$A$1:$A$1000<=B1))

and copy down for all the time slots

--

HTH

RP
(remove nothere from the email address if mailing direct)


"kippercat" wrote in message
...
hi, i am trying to create a second sheet in my workbook that counts the
number of people in my excel staff rota that work between 07:00 to 08:00

and
08:00 to 09:00 and so on, basicaly a head count for every hour of the day,
any ideas???



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
Can I count in an array based on a function? HokieLawrence Excel Worksheet Functions 2 February 12th 05 03:05 AM
PivotTable Macro Reverts to Count Function LTofsrud Excel Worksheet Functions 4 February 8th 05 09:41 PM
COUNT function and errors within it - Need some expert knowledge stu eade Excel Discussion (Misc queries) 2 February 1st 05 01:07 AM
How can I use count function in excel where I have several criter. Princess V Excel Worksheet Functions 14 November 3rd 04 10:18 PM
Sum and Count Function Daniell Excel Worksheet Functions 0 November 2nd 04 12:03 AM


All times are GMT +1. The time now is 05:19 PM.

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"