Z
Zb Kornecki
I would like to run a select query that groups the results by the number of
people already waiting. this could be done based on either 2 or 3 columns.
[arrival] (a D/T field), [depart] (a D/T field), and [Length_of Stay] in
minutes (a double data type field)
what I would like ideally is a calculated column that returns an number for
the total people waiting. I could then group or pivot table w/ this number.
In Excel I could do a sumproduct formula but my table out grew Excel. Is
there a way to do the same thing within access
A sample table
arrive,depart,LoS,#waiting
2100,2145,45,0
2110, 2150,40,1
2130,2150,20,2
2147,2155,8,2 (1st person left)
2150,2200,10,1(persons 1,2 & 3 left)
I hope this makes sense
Thank you
people already waiting. this could be done based on either 2 or 3 columns.
[arrival] (a D/T field), [depart] (a D/T field), and [Length_of Stay] in
minutes (a double data type field)
what I would like ideally is a calculated column that returns an number for
the total people waiting. I could then group or pivot table w/ this number.
In Excel I could do a sumproduct formula but my table out grew Excel. Is
there a way to do the same thing within access
A sample table
arrive,depart,LoS,#waiting
2100,2145,45,0
2110, 2150,40,1
2130,2150,20,2
2147,2155,8,2 (1st person left)
2150,2200,10,1(persons 1,2 & 3 left)
I hope this makes sense
Thank you