J
JICDB
I have a table that contains hundreds of records listing bus route numbers
and the start time of each trip. What I want to do is look up a route number
in one column and because that route number is found in that column anywhere
from once to 60 times, return the smallest number in the time column for that
route. Example"
Route Time
521 0630
521 0735
521 0920
521 1015
521 1120
521 1215
521 1324
521 1420
521 1610
521 1905
521 2000
522 0530
522 0613
etc.
I want the lookup table to help isolate the operating time of the route
extracting the start time of 0630 because it is the smallest time for route
521 and 2000 for the last time the bus picks up passengers because it is the
largest time in the time column for route 521. Is this possible?
and the start time of each trip. What I want to do is look up a route number
in one column and because that route number is found in that column anywhere
from once to 60 times, return the smallest number in the time column for that
route. Example"
Route Time
521 0630
521 0735
521 0920
521 1015
521 1120
521 1215
521 1324
521 1420
521 1610
521 1905
521 2000
522 0530
522 0613
etc.
I want the lookup table to help isolate the operating time of the route
extracting the start time of 0630 because it is the smallest time for route
521 and 2000 for the last time the bus picks up passengers because it is the
largest time in the time column for route 521. Is this possible?