Using MATCH and INDEX to lookup flight times by destination and weekday

Description

Open the file contained within the folder name shown above.

Don't use plagiarized sources. Get Your Custom Assignment on
Using MATCH and INDEX to lookup flight times by destination and weekday
From as Little as $13/Page

We want to look up flight times from the flights timetable:

We will use the =INDEX lookup function with a nested =MATCH.

When we select the departure airport in cell K3 and the travel day in cell K4, we want Excel to look up and display the correct flight time in cell K9:

Time for some range names first!

Set up the following range names:

Range name

Cell(s)

Airport

K3

Flight_Day

K4

Airport_Pos_Num

K6

Timetable

B4:H19

Week_days

B3:H3

In cell K9 start off with an =INDEX formula that finds the flight time for a flight from Dover (position number 8) on a Wednesday (position number 3). So the formula would be:

=INDEX(timetable,8,3)

We can now use an =MATCH in cells K6 and K7 to find the position numbers for the airport and day of the week. Change the airport to Leeds and the day to Fri:

Use your range names in the =MATCH formulae in cells K6 and K7.

Now change your =INDEX formula in cell K9 to refer to the =MATCH formulae in cells K6 and K7.

Check this new formula works by changing the airport to Birmingham and the flight day to Sun:

Almost finished!

Now it is time to put everything together in one formula in merged cell K11:

Change the airport and flight day to check that your new nested formula is working.

Use Save As… to save the file in your own new Excel work folder.