Knowledge · IT · Data · DX

Key Excel Functions · XLOOKUP and VLOOKUP

Excel Lookup Functions (XLOOKUP, VLOOKUP, INDEX/MATCH)

📂IT · Data · DX⏱2-min read📊Beginner🔗6 related

What are core Excel lookup functions?

In one line
Excel lookup functions find a value in another table using a key such as an employee ID. VLOOKUP (Vertical Lookup), INDEX/MATCH, and XLOOKUP do the same job in different ways.
⚡ Summary in 3 lines
  • A lookup function links two tables through one key value
  • XLOOKUP is convenient but may not be available in every version
  • Most errors come from the state of the key value, not the function

Learning lookup functions does not mean memorizing syntax. Most Excel work for HR and training managers is linking two tables through a single key value: attaching training completion records using the employee ID from the HR roster, filling in department and job grade on an attendee list, or pulling evaluation grades into a salary-contract table. Copy and paste by eye, and at a scale of 300 people a few rows will inevitably be off. Lookup functions are a tool for accuracy more than for speed.

VLOOKUP takes the form =VLOOKUP(lookup value, table range, column number, 0) and searches the leftmost column of the table and returns a value from the nth column to the right. If the last argument isn’t set to 0 (FALSE), it runs an approximate match and returns a similar value. If you insert a column in the middle of the table, the column number shifts and returns the wrong value. INDEX/MATCH takes the form =INDEX(return column, MATCH(lookup value, lookup column, 0)) and specifies the lookup column and the return column separately, so it can look up to the left and holds up when columns are inserted.

XLOOKUP takes the form =XLOOKUP(lookup value, lookup range, return range, value to show if not found). Exact match is the default, there is no direction restriction, and you set the not-found message inside the function. However, it works only in Microsoft 365 and relatively recent versions, so first check the Excel version of the person receiving the file. Opened in an older version, the formulas turn into errors. If you exchange files with several companies, INDEX/MATCH is the safest common denominator.

In practice, the most common failure is not the function but the state of the key value. If an employee ID is stored as a number in one table and as text in the other, or a name has a trailing space, any function returns 'not found.' If you use names as the key, the lookup returns only the first person among people with the same name, with no error shown. Use a unique value such as an employee ID as the key, and get in the habit of checking the error count and total row count of the result against the source. That matters more than which function you choose.

Courses that cover this term · AI & DX
Recommended courses · Recommended instructors · Quick quote
🧮 Mini quote · Based on instructor fees
About KRW 1.2 million (≈ US$900)2-hour talk · up to 20 people · Korean
Get a quote for these requirements →
💡 In plain English
It is like having Excel read a number off the attendance sheet, find the same number on the grade sheet, and copy over that score for you.
Why it matters in practice
Year-end training tallies and compiling the list of employees up for salary contracts both come down to linking a roster with a results table. One row thrown off by manual pasting undermines trust in the entire report.
Comparing three Excel lookup functions
CategoryVLOOKUPINDEX/MATCHXLOOKUP
Basic form=VLOOKUP(lookup value, table range, column number, 0)=INDEX(return column, MATCH(lookup value, lookup column, 0))=XLOOKUP(lookup value, lookup range, return range)
Lookup directionOnly to the right of the lookup columnEither directionEither direction
Default match modeApproximate match (enter 0 for an exact match)Specify exact match with 0 in MATCHExact match
When a column is insertedColumn numbers can shift and break the resultLow impactLow impact
When no match is foundShows an error (must be wrapped in IFERROR)Shows an error (must be wrapped in IFERROR)Custom text set via the fourth argument
Supported versionsNearly all versionsNearly all versionsMicrosoft 365 and other recent versions
Origin and sources

VLOOKUP has been used since the early days of spreadsheets, and the INDEX and MATCH combination became a common workaround for its limits. Microsoft added XLOOKUP later to fix the pain points of both, so it may be unavailable depending on your Excel version.

Source · Microsoft Excel function help (XLOOKUP, VLOOKUP, INDEX, MATCH)
An example

Consider a hypothetical case. The training team at Company A, a food manufacturer with 680 employees, had to merge the HR roster with 2,300 LMS completion records ahead of the year-end training report. The previous year, an assistant manager spent two days copying and pasting, and after the report went out, the completion rates for 3 departments turned out to be wrong.

  1. A training team associate looked up departments by name from the completion records, and all 11 employees who shared a name were filled in with the first person’s department. The team lead said, "Let’s redo it by employee ID instead of name."
  2. When we switched to employee IDs, 140 records came back as 'not found.' The IDs downloaded from the LMS were stored as text, and after converting them to numbers, the errors dropped to 6.
  3. The remaining 6 were employees who left during the year. The assistant manager entered "Confirm resignation" as the fourth argument of XLOOKUP so that a reason would appear instead of a blank cell.
  4. After the file was sent to an affiliate’s HR team, the reply came back: "All the formulas show errors." Their copy of Excel was an older version, so the assistant manager rebuilt the formulas with INDEX/MATCH and sent it again.
  5. The team lead had a check cell placed at the top of the sheet that compares the lookup result count against the source count. After confirming that all 2,300 records matched on both sides, the team passed the file on for the report.
  6. Compilation time dropped from two days to 3 hours, and post-report correction requests went from 3 to 0. The same file was reused as-is for the next quarter’s results.
Related terms
Training linked to this term
📚Using Google SheetsNanum Consulting corporate training · On-site/OnlineSee course →
Need in-house training on this topic?
Get a curriculum and quote tailored to your needs right away.
Ask About Training
Last updated 14 Oct 2026 · Reviewed by John Kim

FAQ

XLOOKUP is enough for new files, but most inherited files contain VLOOKUP, so you need to be able to read it. At the very least, check whether the last argument is 0.
XLOOKUP is only included in Microsoft 365 and relatively recent versions. It depends on the version and license your company uses, so check with your internal IT department. If it isn’t available, the INDEX/MATCH combination can produce the same result.
Look at the key value before the formula. Check in order whether number and text formats are mixed, whether there are leading or trailing spaces, and whether the value you are looking for actually exists in the source. Most causes turn up here.
VLOOKUP and INDEX/MATCH work the same way in Google Sheets, and XLOOKUP is also supported. However, the behavior of some arguments and error displays may differ from Excel, so for files that move between Excel and Sheets, it’s safer to compare the results once after conversion.