XLOOKUP and VLOOKUP answer the same question — "find this value and return something from the same row" — but they behave differently when the data changes. XLOOKUP returns values from any column, defaults to exact match, and survives inserted columns; VLOOKUP still works everywhere, including spreadsheet versions that have never heard of XLOOKUP.
Quick answer: XLOOKUP for new formulas, VLOOKUP for files other people edit
Write XLOOKUP in any sheet you control, in Excel 365 or the current WPS Spreadsheet: it reads left to right, needs no column number, and returns a custom message instead of #N/A when a value is missing.
Keep VLOOKUP when the workbook is edited by people on Excel 2016 or older, when the formula has to open in a tool that does not support XLOOKUP, or when a fixed column index is part of a template other staff already understand.
If you are on an older version of either app, INDEX+MATCH gives the same left-lookup ability with VLOOKUP-era compatibility.
XLOOKUP vs VLOOKUP: the differences that change results
The syntax differences matter less than the defaults. Two of the four rows below are the reason a formula that "worked yesterday" returns a wrong number today.
| Behaviour | VLOOKUP | XLOOKUP | What it changes in practice |
|---|---|---|---|
| Direction | Searches the first column, returns from the right | Any direction: left, right, above, below | You can put the return column before the lookup column |
| Column reference | Column index number (3, 4, 5…) | Return array, referenced directly | Inserting a column no longer shifts the answer |
| Default match | Approximate, unless you type FALSE | Exact | VLOOKUP silently returns the nearest lower value on unsorted data |
| Missing value | Returns #N/A | Fourth argument sets the "not found" result | Dashboards stop showing error codes to clients |
| Syntax length | =VLOOKUP(value, range, col, FALSE) | =XLOOKUP(value, lookup_array, return_array) | The XLOOKUP version has one less argument to get wrong |

The XLOOKUP formula, argument by argument
For an employee table with IDs in A2:A200 and departments in C2:C200, the formula below returns the department for the ID typed in E2.
=XLOOKUP(E2, A2:A200, C2:C200, "Not found")
Lookup value (E2): what you are searching for — one cell, not a range.
Lookup array (A2:A200): the column that must contain the value; it does not have to be the leftmost column of the sheet.
Return array (C2:C200): the column you want back, and it must be the same height as the lookup array.
If not found ("Not found"): optional, and the reason dashboards look cleaner. Leave it out and you get #N/A.
Match mode and search mode: optional fifth and sixth arguments; leave them out for exact match, first-to-last.

How to use XLOOKUP in WPS Spreadsheet
WPS Spreadsheet runs XLOOKUP with Excel's syntax, so a formula written in one app opens and calculates in the other. The steps below use the same employee table.
Put the search value in its own cell, for example the ID in E2.
In the result cell, type
=XLOOKUP(E2, A2:A200, C2:C200, "Not found").Press Enter; the matched department appears. Drag the fill handle down to apply it to the rest of the column.
If the result is #NAME?, the version in use does not have XLOOKUP yet — update the app, or switch the formula to INDEX+MATCH, which works in every version.

The official XLOOKUP how-to in WPS Sheets documents the same six arguments, including the search-mode options that let you match from the last row backwards.
What people mean by "WPS LOOKUP"
The phrase "WPS LOOKUP" causes confusion because WPS Spreadsheet actually contains three different lookup functions, and they are not interchangeable.
| Function | What it does | Compatibility | When to use it |
|---|---|---|---|
| LOOKUP | Vector or array form; returns the last match in an unsorted range | Same as Excel's legacy LOOKUP | Old templates that already use it; avoid for new work |
| VLOOKUP | Vertical search, column index, right-only return | Every version of Excel and WPS | Shared files, older versions, fixed layouts |
| XLOOKUP | Any direction, exact match by default, custom not-found value | Excel 365/2021 and current WPS Spreadsheet | New formulas you control |
So when someone compares "WPS LOOKUP" with "Excel VLOOKUP", they are usually comparing WPS's legacy LOOKUP with VLOOKUP — a comparison that flatters VLOOKUP, because LOOKUP requires sorted data and returns the last match. The fair comparison is XLOOKUP against VLOOKUP, and in WPS Spreadsheet both are available with identical syntax, which means the choice is about the file's audience rather than the app.
When VLOOKUP is still the right call
VLOOKUP is not obsolete; it is the safer choice in four specific situations, and each one is about other people rather than about you.
Older Excel versions: Excel 2016 and earlier do not have XLOOKUP, so a shared workbook would show #NAME? on their machines.
Google Sheets cross-checks: Sheets supports both, but a template that must run in every tool is easier to audit with one function.
Fixed templates: if a monthly report is built from a template with a locked column index, rewriting it adds risk without adding accuracy.
Very small tables: with ten rows and no column inserts, the two functions return the same result and VLOOKUP is what reviewers already recognise.

Which function fits your lookup
Use this list when you already know the data layout and only need to pick a function.
Return a value from the left of the search column: XLOOKUP, or INDEX+MATCH on old versions.
Look up the closest match in a tax or tier table: VLOOKUP with TRUE, because approximate match is the point.
Look up an exact ID and show a dash when missing: XLOOKUP with the fourth argument set to "-".
Return several columns at once: XLOOKUP with a multi-column return array, which spills the results.
Search from the bottom up (last transaction): XLOOKUP with search mode -1; VLOOKUP cannot do this at all.

FAQs
What is the main difference between XLOOKUP and VLOOKUP?
XLOOKUP takes a lookup array and a return array directly, works in any direction, and defaults to exact match. VLOOKUP searches only the first column of a range, returns from a column you count manually, and defaults to approximate match unless you pass FALSE.
Does WPS Spreadsheet support XLOOKUP?
Yes, in the current version, with the same syntax as Excel. If a workbook shows #NAME? after opening, the installed build is older than XLOOKUP support; update the app or switch to INDEX+MATCH.
Can I replace VLOOKUP with XLOOKUP in existing files?
You can rewrite it in most cases, but keep VLOOKUP when the file is edited on Excel 2016 or earlier, or when the column index is part of a template other people maintain. Test one copy before replacing a formula used in a live report.
Why does VLOOKUP return #N/A when the value is clearly there?
Usually because the lookup value is text and the table stores numbers, or because of trailing spaces. Wrap the value in TRIM, check the cell format on both sides, and confirm the fourth argument is FALSE so the match is exact.
Is XLOOKUP faster than VLOOKUP on large tables?
It can be, because VLOOKUP reads every column up to the return column while XLOOKUP reads only the lookup and return arrays. On a few thousand rows the difference is not noticeable; on tens of thousands of rows it is.
If the next task is tidying the source data rather than looking it up, start from a clean layout — our guide to Excel spreadsheet templates and the inventory sheet examples both use lookup-ready tables. For statistical checks on the same data, see standard deviation in Excel, and get both apps from the WPS Office download page.




