Sequencing or Rotation in Excel

sherifhanna82

New Member
Joined
Feb 26, 2011
Messages
4
Greetings All,

I have been assigned a task at my work and I am having trouble executing it with Excel. Here's the scenario:

Let's say we have 5 gates at an airport belonging to one airline. The gates are broken into 2 zones, with 1 supervisor for each zone. Zone 1 has gates 1-3 and zone 2 has gates 4-5. The idea is to distribute the flight activity amongst both zones in sequence of their departure and arrival times, while ensuring that there aren't multiple flights in 1 zone while the other has no flight activity. Since all 5 gates will have flights parked at them first thing in the morning (called originators), the departure time of each of those flights will set the sequence/rank of that gate for the next round of flights. Meaning that the gate that had the first flight leave should get the first flight that arrives in the next wave/round of flights and the gate that had the second flight departure should get the second arrival in the next wave/round, etc.

Example:

Here's the line-up for the first five flights in the morning (Round 1):
Gate 1: Flight departs at 6:00
Gate 2: Flight departs at 6:10
Gate 3: Flight departs at 6:10
Gate 4: Flight departs at 6:20
Gate 5: Flight departs at 6:30


Next wave/round of flights (Round 2):
Flight 1: Arrives at 7:00 departs at 7:30
Flight 2: Arrives at 6:55 departs at 7:35
Flight 3: Arrives at 7:10 departs at 7:40
Flight 4: Arrives at 6:50 departs at 7:45
Flight 5: Arrives at 7:20 departs at 8:00

If I use only the departure times for the above example, gate 1 would get flight 1 in the 2nd round and gate 2 would get flight 2. However, that's not the best utilization of gates, because the flights don't have equal ground time and the first departure in any round doesn't always mean that it was the first arrival. So, for the above example, giving gate 1 flight 1 and gate 2 flight 2 would give gate 1, 1 hour between flights while giving gate 2 45 minutes, but if we consider the arrival time of the flights in round two and the departure times in round 1 gate 1 would get flight 2 and gate 2 would get flight 1 giving gate 1 55 minutes and gate 2 50 minutes.

The challenge I am having is getting Excel to become dynamic enough to consider the gate sequence in one round of departures and assign its next flight based on that same sequence, but in the order of arrival of next wave/round of flights. The number of gates is 5 to make things simple, but my task is to build an Excel sheet/tool that can work for any number of gates and/or zones.

The data below is from the excel sheet in which we receive our schedules. The gate assignment of each flight can go in any cell on the corresponding row of its flight number. I understand that this is an elaborate task, but I would greatly appreciate any assistance as I have come to a dead end trying to get this to work.

Thank you and Happy Holidays Season,

S.
From In FltArr TimeRteEqptTurn Dep TimeOut Flt ToDOW
33573W06:00180BWIMon
33673W06:101159MDW BUFMon
8373306:10640HOU ABQMon
33773W07:05238DENMon
33873W07:10697PHX SMF BUR LAS SEAMon
103507:5543173W3008:20568AUSMon
102707:50227333008:303566SDF BWIMon
163708:4018673G3509:10299ORF BWI LIT HOU ECPMon
DAL HOU162810:45267333511:201628BWI MCO MCI PHX ABQMon
EWR MDW197211:0037573W3011:301972LAS DEN HOU MAFMon
PHL MCO50111:2528873W3011:55501SFO SNA PHX AUSMon
PVD BWI ORF15511:3544673W3012:05155LAX SMFMon
BUF BWI16611:4019673W4012:20166MDW DSMMon
DEN MDW17212:4022073W3013:10172ORF BWI BUF LAS SNAMon
AUS65713:3524873W3014:05657SDF MDW OMAMon
BWI MCO SDF4214:10257333014:4042HOU DAL LBBMon
SFO84414:1547673W3014:45844MCO MDW IADMon
PHX70315:0531773W3015:35703MDW PDX SMFMon
DEN20415:3537673W3516:10204BWI ISP MCOMon
SAN PHX LAS228017:0545773W3517:404017PHX LAS BURMon
RDU STL MCI BWI315417:3544873W3518:103154DENMon
ELP SAT HOU JAX ORF366217:5037373W3018:203662LASMon
MDW STL TUL DAL HOU2918:00547333018:3029BWI CLEMon
MHT MDW101718:4020773W3519:151017AUS DALMon
BUR PHX29519:0526173W3019:35295MDW DTWMon
LAX134620:0520973W3520:401346HOUMon
SAN SMF LAS MDW SDF61120:4046173W3521:15611ORFMon
HOU DAL MCI MDW FLL AUS163621:2522773W3021:551636SDFMon
MDW396123:1547973WMon
RNO LAS BWI374523:2044073WMon
BWI MSY DAL HOU5123:30100733Mon
BUR PHX LAS26323:5028773WMon
DEN76000:4544873WMon

<TBODY>
</TBODY><COLGROUP><COL><COL span=7><COL><COL></COLGROUP>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,214,635
Messages
6,120,660
Members
448,975
Latest member
sweeberry

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top