Contact

PlanMaker XMATCH Function: Find a relative position with explicit match and search modes

Lookup and Reference Intermediate SoftMaker PlanMaker

Use documented PlanMaker 2026 XMATCH exact defaults, reverse searches, wildcard mode and sorted binary-search requirements.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: =XMATCH("Ash",A2:A5) returns the position of the first exact match by default. If the range contains Ash, Birch, Ash, Cedar, the independent result is 1; =XMATCH("Ash",A2:A5,0,-1) instead finds the last matching Ash at position 3.

This guide follows the PlanMaker 2026 documentation. The examples are independently reasoned lookup controls, not 2026 native execution results.

Syntax and exact-match default

=XMATCH(Crit, Range [, MatchMode] [, SearchMode])

Crit is the requested value or a cell containing it. Range must be one row or one column. The function returns a position within that range, not the absolute worksheet row number or the matched value itself. The help states that text matching is case-insensitive.

MatchMode defaults to 0, an exact match. This is an important difference from the older MATCH default described by the vendor; do not carry an omitted-mode approximate lookup into XMATCH without reconsidering its meaning.

MatchMode Meaning
0 Exact match
-1 Exact match, otherwise next smaller value
1 Exact match, otherwise next larger value
2 Wildcard matching using documented *, ? and ~ characters
SearchMode Direction or algorithm
1, default Search from the start of the range
-1 Search from the end
2 Binary search; ascending sorted data required
-2 Binary search; descending sorted data required

MatchMode and SearchMode are separate choices. A negative SearchMode does not itself ask for the next smaller value.

Reproduce first and last duplicate positions

Enter Ash, Birch, Ash and Cedar in A2:A5. Then compare:

Formula Independent result
=XMATCH("Ash",A2:A5) 1
=XMATCH("Ash",A2:A5,0,-1) 3
=XMATCH("ash",A2:A5) 1
=XMATCH("B*",A2:A5,2) 2

The result 3 means the third element of A2:A5, which is worksheet cell A4. It does not mean worksheet row 3. The lowercase criterion demonstrates the documented case-insensitive comparison. The prefix wildcard selects Birch in this simple list; wildcard mode is explicit rather than assumed for every literal string.

Enter 10,20,30,40 in B2:B5. For criterion 25:

  • =XMATCH(25,B2:B5,-1) returns position 2, the location of next smaller value 20.
  • =XMATCH(25,B2:B5,1) returns position 3, the location of next larger value 30.
  • =XMATCH(30,B2:B5,0,2) returns position 3 using correctly ascending binary-search input.

Enter 40,30,20,10 in C2:C5. =XMATCH(30,C2:C5,0,-2) returns position 2 under the descending binary-search contract.

Binary search requires the stated sort order. An incorrect result on unsorted data must not be interpreted as a meaningful nearest match merely because the function returns a number. This guide does not assume stable duplicate selection within binary-search modes beyond the stated documentation.

Practical use: use the position deliberately

A position can select a corresponding value from an aligned result range through INDEX. If a label range and value range are kept in the same order, XMATCH locates the label and INDEX reads the value at that relative position. The position by itself is not a count of all matching records.

The official help includes a sorted sales-threshold example, but interpreting a returned position as a count depends on the chosen sort order, inclusion rule and duplicate handling. Do not generalize that shortcut to arbitrary unsorted data. Keep the matched value visible beside its position when auditing an approximate lookup.

Reverse search can locate the last matching entry in a list, but it is only the most recent record if the list is actually ordered chronologically. A search direction does not validate timestamps or record quality.

Missing matches and version evidence

For exact mode with no match, the English help prints the error token #NV. Without native 2026 execution, this guide does not substitute a guessed English-locale token or claim that every environment displays the same spelling. Invalid modes, mixed-type approximate ordering and every wildcard-escape boundary are not exhaustively established here.

SoftMaker explicitly names XMATCH in its June 9, 2026 public-beta announcement and July 14, 2026 NX release announcement. These affirm support in the announced releases, without proving the first internal implementation or every earlier edition’s behavior. The function page’s Excel 2021 note concerns Excel compatibility, not PlanMaker’s introduction date.

Separate FreeOffice 2024 import observation

On October 18, 2026, an XLSX containing =XMATCH("Ash",A2:A5) was imported into FreeOffice PlanMaker 2024 rev F1238.1005, saved as PMDX and reopened. The saved result cache was #NAME?, while the reopened live cell displayed #NULL!. The formula expression remained in PlanMaker-specific storage; the differing error displays belong to distinct stages.

This limited import/save/reopen result did not demonstrate a successful calculation. It is not a direct-entry parser test, proof of absence from every 2024 edition, or evidence about 2026 execution. The mathematical examples above remain explicitly scoped to the documented 2026 contract. No 2024 screenshot is used to illustrate a 2026 result.

Evidence and edition scope

Official PlanMaker 2026 function reference, checked October 18, 2026. This establishes documented support in that manual. The examples above are independent calculations or explicitly bounded documentation-based expectations; no PlanMaker 2026 native execution, screenshot or proprietary implementation inspection is claimed.

The dated announcements above are affirmative release evidence, not a claim about the earliest internal build. Absence from an older function catalogue alone does not prove runtime absence. Do not assume that installed FreeOffice 2024 implements the documented 2026 contract. Current documentation contains no retirement declaration for this function. Examples use commas; the help also shows semicolon syntax, so use the separators required by your locale.