find the connecting flights based on criteria

Status
Not open for further replies.

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?

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
AA100Arrival04:5505:40SunWinter
AA100Arrival04:5505:40MonTueThuSatWinter
AA100Arrival04:5505:40WedFriSunWinter
AA100Arrival04:5505:40MonTueThuSatWinter
AA100Arrival04:5505:40MonTueThuSatWinter
AA101Departure12:5512:10MonWedFriSunWinter
AA101Departure12:5512:10TueThuSatWinter
AA101Departure12:5512:10MonWedFriSunWinter
AA101Departure12:5512:10MonWedFriSunWinter

<tbody>
</tbody>
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Status
Not open for further replies.

Forum statistics

Threads
1,214,827
Messages
6,121,812
Members
449,048
Latest member
greyangel23

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