XMATCH

Searches for a value in an array or range of cells and returns the relative position of the item.

Sintaxi

XMATCH(Lookup; Array [; MatchType; SearchMode ] )

Lookup: The value of any type to search for in Array.

Array: is the reference of the array or range to search.

MatchType: Specify the match type:

SearchMode: Specify the search mode to use:

note

XMATCH outperforms function MATCH as it allows searches according to the search mode.


Exemples

La taula següent conté un glossari per a traductors:

A

B

C

D

1

Anglès

Francès

Italià

Japonès

2

New

Nouveau

Nuovo

新しい

3

Save

Enregistrer

Salva

保存

4

Open

Ouvrir

Apri

開ける


=XMATCH("Save", A2:A4, 0, 1) returns 2, the second line of the A2:A4 range.

Informació tècnica

tip

Aquesta funció és disponible des de la versió 24.8 del LibreOfficeDev.


This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.XMATCH