When it's not there

Exercise 10 of 11 Premium

Look up the name of employee E110. That ID doesn't exist, so return "Not found" instead of an error.

Checking your plan…

staff-list.xlsx

ABCDE
1IDNameDepartmentSalaryStart date
2
3
4
5
6
7
8

About lookups in Excel

Lookups are the most asked-about formulas in Excel job tests. Practice finding a value in a staff list with XLOOKUP and VLOOKUP, use INDEX and MATCH together, chain two lookups, and handle values that aren't there.

GuideHow to Use XLOOKUP in Excel→

Functions you can use here

  • XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])
  • VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
  • INDEX(array, row_num, [column_num])
  • MATCH(lookup_value, lookup_array, [match_type])