- Excel basics (1)
- Creating formulae (5)
- Formatting worksheets (9)
- Basic printing (8)
- Charts (10)
- Absolute references (9)
- Range names (13)
- Conditional formulae (17)
- Conditional formatting (7)
- Basic tables (6)
- Formatting numbers and dates (3)
- Working with dates (1)
- Data validation (6)
- Protection (1)
- Advanced IFs (6)
- Lookup functions (14)
- Advanced lookup functions (9)
- Text functions (1)
- Advanced charts (4)
- Multiple worksheets (1)
- Advanced tables (2)
- Pivot tables (3)
- Advanced pivot tables (3)
- Scenarios (2)
- Data tables (2)
- Array formulae (2)
- Building models (2)
- Masking (2)
- Cashflow calculations (1)
- Investment appraisal (1)
Excel | Advanced lookup functions exercise | Flights - MATCH and INDEX functions
This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
You can learn how to do this exercise if you attend one of more of the courses listed below!
You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.
Open the file contained within the folder name shown above.
We want to look up flight times from the flights timetable:
This time we will use the =INDEX lookup formula 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:
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:
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:
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.