How the two functions work together
MATCH("SKU-103";D2:D6;0) locates the key within the five-row SKU vector and returns a relative position. INDEX(E2:E6;position) takes the value at the same offset in the label vector. Both vectors must cover the same rows.
The final 0 in MATCH requests exact comparison. Gnumeric’s manual states that an omitted matching type defaults to an approximate mode. This is a particularly useful portability check because the displayed result may look reasonable even when it is wrong.
Why keep this older pattern around?
INDEX+MATCH is a practical fallback when XLOOKUP is absent from the installed edition or incompatible with the save format. It also handles reverse lookups without rearranging columns. That makes it a good target for an upgrade test suite.
If the search value has duplicates, the first-matching-row behaviour matters. If there is no match, a separate error handler may be needed. The test workbook includes an additional IFERROR(VLOOKUP(...)) case to demonstrate the missing-value path in LibreOffice.
WPS and Collabora: scope before migration
WPS’s INDEX MATCH lesson demonstrates composition and reverse lookup. Its MATCH lesson explicitly uses 0 for exact matching. The INDEX argument lesson identifies row and column positions; the comparison uses column 1 because E2:E6 is one column wide. These desktop-oriented lessons do not establish a particular operating system, numeric build, current free-edition entitlement or cross-client parity.
Collabora desktop help, labelled 26.04 when checked on October 24, 2026 (America/Toronto), documents a first-match position for MATCH type 0. Wildcard/regular-expression options still matter for pattern-like keys. Online, mobile and native desktop execution remain unverified here.
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 asEpsilon. 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
103and D4 to text103(enter'103to preserve text). Alpha and Gamma now identify different source rows. Test numeric103and 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.
Diagnose the position before the return
For the unchanged fixture, evaluate MATCH on its own: the independently expected position is 3, relative to D2:D6, not worksheet row 4. INDEX then selects the third cell in E2:E6, which contains Gamma. If the position is correct but the label is wrong, check that both ranges begin on the same source row and have the same length. An offset such as D2:D6 paired with E3:E7 can silently select the wrong label.
A first-match policy is not a last-match policy. If duplicate identifiers represent revisions, decide which revision is wanted before migrating; this formula does not deliberately select the newest record. Compare the exact VLOOKUP case when the return column is to the right.
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.