find the connecting flights based on criteria

guilherme88

New Member
Joined
Aug 1, 2018
Messages
16
Hi all,

I have been struggling with the following for a number of days now.

I want to be able to retrieve the flights that can be connected with Y flight.
Basically..

I have Flight nr AA0001 "Y" and based on a departure and arrival list and the minimum connecting time, i want to see which "X" flights give enought time to connect with AA0001. I have tried index&sumproduct and index&match&countif but nothing seems to work.

Is anybody able to help me?

Thanks

Gui
 

Some videos you may like

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

guilherme88

New Member
Joined
Aug 1, 2018
Messages
16
See below some data, which might be able to explain better what i mean..
The issue is that the data repeats itself depending on the day of the season which could be 10march, 03august, 02sep or any other date. I want to retrieve the possible connection options so for the case below, if i have a flight departing at 05:45 the flight AA100 would connect with. but if i have a flight leaving at 05:20 AA100 would not connect with it.

Please help :)

FLIGHT NR ARR/DEP ACTUAL TIME CONNECTION TIME DAYS OF WEEK SEASON
AA 100 Arrival04:5505:40SunWinter
AA 100 Arrival04:5505:40MonTueThuSatWinter
AA 100 Arrival04:5505:40WedFriSunWinter
AA 100 Arrival04:5505:40MonTueThuSatWinter
AA 100 Arrival04:5505:40MonTueThuSatWinter
AA 101 Departure12:5512:10MonWedFriSunWinter
AA 101 Departure12:5512:10TueThuSatWinter
AA 101 Departure12:5512:10MonWedFriSunWinter
AA 101 Departure12:5512:10MonWedFriSunWinter

<colgroup><col><col><col><col span="2"><col span="8"></colgroup><tbody>
</tbody>
 

nemmi69

Active Member
Joined
Mar 15, 2012
Messages
457
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Are you doing this in VBa or formulas?
 

nemmi69

Active Member
Joined
Mar 15, 2012
Messages
457
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Sorry I am no 'guru' with the standard sheets. Suspect it would require using MATCH and INDEX
 

Watch MrExcel Video

Forum statistics

Threads
1,109,072
Messages
5,526,619
Members
409,713
Latest member
roman9980

This Week's Hot Topics

Top