If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Average start time - using filter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-30-08, 05:54
akhlaq768 akhlaq768 is offline
Registered User
 
Join Date: Oct 2007
Posts: 127
Average start time - using filter

I need to work out the average start time for the field labelled ‘Time Porter Sent’ by theatre (Theatre Code)

On a single day each theatre would have a number of operations. I need to work out the start time for the first operation and use that to work out the average by theatre.

Can I filter it by the field labelled ‘Type’ – this field tells you if it was a All Day, AM or PM session. If I don’t filter for this field then my result will not be right.

Can this be done in excel or do I have to do it in Access.
Attached Files
File Type: zip Avg_StartTime.zip (84.8 KB, 34 views)
Reply With Quote
  #2 (permalink)  
Old 10-31-08, 10:33
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Location: Surrey, UK
Posts: 448
Hi

I don't know if this is what you had in mind, but I've copied some fields onto a new sheet and used the Data-->Subtotal command to get the average for each break in date.
Attached Files
File Type: zip Avg_StartTime.zip (144.3 KB, 52 views)
Reply With Quote
  #3 (permalink)  
Old 11-05-08, 11:55
akhlaq768 akhlaq768 is offline
Registered User
 
Join Date: Oct 2007
Posts: 127
hi mate, thanks for that, just wondering you created that sheets. with all the plus (+) and minus (-)???

I just need to view it by Theatre and the average time for 'Time Porter Sent'
Reply With Quote
  #4 (permalink)  
Old 11-05-08, 13:53
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Location: Surrey, UK
Posts: 448
I'm not sure what you're asking now. The sheet that I added uses standard Excel functionality to calculate totals of numeric values at each break in one or more labels that apply to the values.
In this case, every time there's a change in either date or theatre, the average of "Time Porter Sent" is calculated and displayed underneath the values that it summarises. Thus, on 2nd June for theatre AT10, the average time that the porter was sent is 11:31:45.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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