Hi, I have a demand matrix with 33 origin zones and 33 destination zones. The data in the table reflects the number of trips from an origin (rows) and a destination (columns).
My 33 zone system is too complex, so I'll be simplifying it into a 24-zone system. This means some of the old zones will be grouped together to form new, bigger zones.
I have created a reference table which specifies which of the old 33-zones belong to each of the new 24 zones.
I want to create a new demand matrix for the new 24-zone system which summarises the movements between (new) zones.
If a new zone is not composed of old zones, its cells in the demand matrix should be blank.
Can anyone suggest a formula that will work for this?
I've provided an example Excel file and a practical example below.
The new 'Zone 10' is made up of the old '35205', '91004' and '91005' zones. The new 'Zone 8' is made up of the old '33311' and '91016' zones.
Cell (J49) in the new matrix would tell me how many movements there are from Zone 10 to Zone 8, so this would have to be the sum of all those origin -> destination combinations:
35205->33311
35205->91016
91004->33311
91004->91016
91005->33311
91005->91016
Any help would be hugely appreciated. Thanks!
Bookmarks