XMATCH

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

Sintaxis

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.


Ejemplos

La tabla siguiente contiene un glosario para traductores:

A

B

C

D

1

Inglés

Francés

Italiano

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ón técnica

tip

Esta función está disponible desde la versión 24.8 de LibreOfficeDev.


Esta función no forma parte de la norma Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula). El espacio de nombres es

COM.MICROSOFT.XMATCH