daanackerman
New Member
Hi Friends,
I have two different tables (matrices) consisting of a stop to stop demand matrix for 30 stops (in the top table, for example, the demand between station 2 and 6 is 18passengers) and another providing the VARYING distances between these stops (in the bottom table the distance between stop 2 and 6 is 1.69km). I would like to compile a summary of the data in these matrices and wondered whether a sort of a "frequency table" can be compiled or whether index/match/sum formula should be used to arrive at the result I need. The result must be a table summarising the various distances between the stops and the number of passengers traveling these distances as summarised in the "Result table" as set out below
RESULT TABLE
DISTANCE PASSENGERS
0.34 0
X Y
X Y
X Y
X Y
1.69 18
1.85 23
Distance (X above) is a list of all the distances between stops in table 2
Passengers (Y above) are the total number of passengers in table 1 traveling the distance in table 2 (there might be more than one combination of stations with the same distance between them and this is why I need the sum of these passengers).
Can anybody assist in sorting out this problem.
Regards
Dan
I have two different tables (matrices) consisting of a stop to stop demand matrix for 30 stops (in the top table, for example, the demand between station 2 and 6 is 18passengers) and another providing the VARYING distances between these stops (in the bottom table the distance between stop 2 and 6 is 1.69km). I would like to compile a summary of the data in these matrices and wondered whether a sort of a "frequency table" can be compiled or whether index/match/sum formula should be used to arrive at the result I need. The result must be a table summarising the various distances between the stops and the number of passengers traveling these distances as summarised in the "Result table" as set out below
RESULT TABLE
DISTANCE PASSENGERS
0.34 0
X Y
X Y
X Y
X Y
1.69 18
1.85 23
Distance (X above) is a list of all the distances between stops in table 2
Passengers (Y above) are the total number of passengers in table 1 traveling the distance in table 2 (there might be more than one combination of stations with the same distance between them and this is why I need the sum of these passengers).
Can anybody assist in sorting out this problem.
Regards
Dan