Calculate Average Waiting Time

shoggy

Registered User.
Local time
Today, 21:05
Joined
Jan 15, 2007
Messages
11
Hi,

I need to calculate an average waiting time for patients waiting to be seen in an A&E dept between two dates.

I have calculated the total waiting time for each patient with the following formula

Total Waiting Time: Format([Time Arrived]-1-[Time Left Department],"Short Time").

Any help much Appreciated
 
Just take away the format and make a group by query...
 
How do you plan to calculate where the A&E wait is going over midnight?

Col
 
I've got it work across midnight with with the following

Total Waiting Time: Format([Time Arrived]-1-[Time Left Department],"Short Time")
 
Yes thats good. I never tested it and know the midnight thing can catch people out sometimes.

Col
 
I still can't get the average time to work in my query. Could anyone give an example please??:( :(
 
AverageWait: Avg([Time Arrived]-1-[Time Left Department])
 
I keep getting a negative figure back when I run this
 
You said that that was working???

Perhaps if you remove the -1??
 
I haven't said that it was working, I said that I can calculate the total waiting time for each person, but not the average waiting time for everyone.
 

Users who are viewing this thread

Back
Top Bottom