Contact

Lookups Β· cross-software comparison

VLOOKUP exact-match portability

Why VLOOKUP can return the wrong result when the final approximate-match argument is omitted, with exact-match syntax for documented spreadsheet tools.

Task

Look up SKU-103 in D2:E6 and return the second column (label).

Expected output

Gamma

Compatibility trap: On many engines the omitted last argument means approximate matching; an unsorted lookup column can silently return the wrong item.

One shared five-row test dataset

The same source rows make results easier to compare. Use the CSV in any supported spreadsheet application; the ODS workbook also includes LibreOffice formula tests.

Shared formula comparison fixture (columns A through F)
Region (A)Status (B)Amount (C)SKU (D)Label (E)Units (F)
NorthOpen125SKU-101Alpha2
SouthClosed80SKU-102Beta1
NorthOpen75SKU-103Gamma3
NorthClosed50SKU-104Delta4
SouthOpen200SKU-105Epsilon1

Formula syntax and feature differences

β€œDocumented” rows cite official product help, but were not run in the destination software. A formula shown here is a migration candidate, not a guarantee of identical behaviour or file interoperability.

Formulas can be selected and copied manually. Copy buttons become available when JavaScript is ready.

LibreOffice Calc

Native tested

Version: Verified in Calc 25.2.3.2.

Arguments: VLOOKUP(search; range; index; sorted)

=VLOOKUP("SKU-103";D2:E6;2;0)

0/FALSE requests exact match. The default is not a portable substitute for exact mode.

Official documentation β†—

PlanMaker

Alternative

Version: PlanMaker 2026.

Arguments: VLOOKUP(lookup;table;column;sorted)

=VLOOKUP("SKU-103";D2:E6;2;FALSE)

Exact VLOOKUP is a practical fallback when XLOOKUP is unnecessary. The exact syntax in PlanMaker was not separately executed.

Official documentation β†—

Apple Numbers

Alternative

Arguments: XLOOKUP instead of VLOOKUP

=XLOOKUP("SKU-103",D2:D6,E2:E6,"Not found")

Use Numbers’ documented XLOOKUP for exact matching; VLOOKUP behaviour was not separately verified in this patch.

Official documentation β†—

Microsoft Excel

Documented

Version: Classic Excel versions.

Arguments: VLOOKUP(search_value, table_array, col_index_num, [range_lookup])

=VLOOKUP("SKU-103",D2:E6,2,FALSE)

Use FALSE explicitly for exact matching.

Important: Vendor help checked; example not executed in this program.

Official documentation β†—

Google Sheets

Documented

Version: Documented in Google Sheets online function help; original introduction and exact release/build not established.

Arguments: VLOOKUP(search_value, table_array, col_index_num, [range_lookup])

=VLOOKUP("SKU-103",D2:E6,2,FALSE)

Use FALSE explicitly for exact matching.

Important: Vendor help checked; example not executed in this program.

Official documentation β†—

WPS Spreadsheet

Documented

Version: WPS Academy desktop-oriented documentation; numeric build, operating system and edition not established.

Arguments: VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)

=VLOOKUP("SKU-103",D2:E6,2,FALSE)

The WPS desktop walkthrough specifies FALSE for exact matching.

Alternative: Run the migration controls below in your exact permitted installation before relying on this pattern.

Important: Documentation checked 2026-10-24 (America/Toronto), not native execution. Gamma is independently modeled. Free-edition entitlement, other clients, blank-return rendering and text/number coercion remain unverified.

Official documentation β†—

Collabora Office Calc

Documented

Version: Collabora desktop help labelled 26.04 at the latest URL; exact installed build not established.

Arguments: VLOOKUP(Lookup; Array; Index [; SortedRangeLookup])

=VLOOKUP("SKU-103";D2:E6;2;FALSE)

Desktop help specifies FALSE/0 for exact search and #N/A when absent.

Alternative: Run the migration controls below in your exact permitted installation before relying on this pattern.

Important: Documentation checked 2026-10-24 (America/Toronto), not native execution. Online/mobile parity, free entitlement and other releases remain unverified. Pattern matching depends on calculation options; Gamma is independently modeled.

Official documentation β†—

What changes when you migrate?

For portability, writing FALSE or 0 is more important than shortening the formula by one argument.

Exact VLOOKUP still requires the key to be in the leftmost column of the selected block. Use XLOOKUP or INDEX+MATCH when the return column sits on the left.

Include an out-of-table missing-key test; a plausible-looking result from approximate mode can be more dangerous than an error.

Actual LibreOffice calculation evidence

The historical results report dated October 10, 2026 records calculation-engine checks in LibreOffice Calc 25.2.3.2 using headless UNO, not a GUI or workbook round-trip check. The published manifest provides the exact input formula, checked result, and whether the test validates a scalar result rather than array spill layout.

Test ID: vlookup. See calculation results (JSON).

The hidden final argument

Many spreadsheets accept VLOOKUP(key,table,return_column) but interpret the missing final argument as an approximate search. Approximate search can return a plausible-looking, incorrect row when keys are unsorted. The source SKU list is not an ordered numeric lookup table, so exact mode is the intended behaviour.

D2:E6 places the key in the leftmost column. The index 2 means return the second column of that two-column range, not the second column of the entire sheet. FALSE or 0 explicitly requests an exact match in the documented implementations here.

When VLOOKUP is the wrong tool

A return column to the left of the key is awkward with classic VLOOKUP. XLOOKUP and INDEX+MATCH avoid that limitation without rearranging the workbook. Gnumeric also has a fifth, product-specific as_index option; do not simply transfer that argument to another application.

Verify more than the happy path

Use a missing SKU and a duplicate SKU to confirm errors, fallback text and first-match handling. Never take β€œthe workbook opened successfully” as evidence that the formula still calculates to the right row.

WPS and Collabora: documentation-qualified scope

WPS’s desktop walkthrough uses FALSE as the final argument. It does not identify a numeric build or prove the entitlement of your installed free edition. The WPS comparison row is documentary evidence only, not a mobile, web or paid-edition parity claim.

Collabora’s desktop function help, labelled 26.04 when checked on October 24, 2026 (America/Toronto), documents exact mode and a missing-value error. Its wildcard/regular-expression settings can affect text searches. This is not Collabora Online or mobile testing. Check pattern settings when identifiers contain *, ? or other pattern characters; exact mode alone is not a universal promise of literal-text matching.

A small migration test, not a native pass

Start with the shared five-row fixture above. For SKU-103, the intended result is Gamma. Reset to the original fixture before each control below; do not combine mutations.

  • Missing key: search for SKU-999. There is no matching row. Record the actual error before adding any fallback, rather than hiding a broken reference with a broad error handler.
  • Duplicate key: change D6 to SKU-103, leaving E6 as Epsilon. A first-match policy selects Gamma at D4, not Epsilon at D6. Confirm which row the installed application actually selects.
  • Text versus number: change D2 to numeric 103 and D4 to text 103 (enter '103 to preserve text). Alpha and Gamma now identify different source rows. Test numeric 103 and text "103" separately; record whether the engine coerces types. Do not assume the strict-type reference model describes the application.
  • Blank return: clear E4, then test again with E4 containing ="". The key still exists in both trials. Record zero, empty text, blank appearance or error separately; none of these trials is a missing-key test.

These controls were checked with an independent row-selection model, not WPS or Collabora execution. The model identifies rows and distinguishes a cleared value from empty text; it cannot certify spreadsheet coercion, display formatting or imported-file recalculation. Native results and screenshots for these two products remain unavailable here.

For a left-side return column, compare the INDEX + MATCH fallback. Keep the key and return ranges aligned when switching patterns.

The October 24 editorial update covers only the WPS and Collabora documentary rows and these migration controls. Other software profiles retain their earlier evidence; the date is not a new native-test certification.

Evidence standard: Only LibreOffice rows labelled β€œNative tested” were run as executable fixtures. Other entries reflect vendor help or a separately labelled workaround. Dates and versions are shown when known. Last editorial research: 2026-10-24.

← Back to all comparisons