- 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 | Lookup functions exercise | Music Exam - Exact match and HLOOKUP
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 Excel to search through the pupils in this sheet:
We need to use an =HLOOKUP to complete the exam dates first.
Use the horizontal lookup table in cells H4:N5 to find the date for each exam by first creating a range name for the lookup table:
Excel will match on the centre name to find each date.
Create an =HLOOKUP formula in cells E4:E23 to find the exam date for each pupil.
We then want Excel to find a match for the pupil name in cell B26 and complete cells B27:B31 with the correct exam details for that pupil:
Excel will find an exact match in column A for the pupil name.
First create a range name for all the data in your main spreadsheet table (A4:F23).
Also create a range name for cell B26 where you will keep changing the pupil name.
In cell B27 create an exact match lookup formula to return the instrument name from column B (the 2nd column in your lookup table).
Remember - exact match lookup formulae have an extra variable:
=VLOOKUP(Cell to lookup, Table range, Column ref, FALSE)
Copy the formula down to cells B28:B31 and then edit each formula by changing the column reference to return the correct pupil exam data.
Change the pupil name in cell B26 to Petunia L Fox to check that all your formulae work.
Use Save As... to save the file in your own new Excel work folder.