BUSCARX

Busca un valor en una matriz y devuelve una referencia a una celda o intervalo de celdas.

XLOOKUP function is a modern and flexible replacement for older functions like VLOOKUP, HLOOKUP, and LOOKUP. XLOOKUP supports approximate and exact matching, wildcards (* ?) for partial matches, and lookups in vertical or horizontal ranges. XLOOKUP can perform a reverse search and offers a fast binary search option when working with large datasets.

Sintaxis

XLOOKUP(Lookup; Array; Return [; NotFound; MatchType; SearchMode ] )

Lookup: The value of any type to search for in Array. If omitted, XLOOKUP returns blank cells it finds in Array.

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

Return: is the reference of the array or range to return.

note

If Return is an array of values, the XLOOKUP function must be entered as an array formula.


NotFound: a text to return if the Lookup value is not found. If a valid match is not found, and NotFound is omitted, returns #N/A.

MatchType: Specify the match type:

SearchMode: Specify the search mode to use:

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

開ける


={XLOOKUP("New", A2:A4, B2:D4,"Missing")} returns the array {"Nouveau","Nuovo","新しい"}.

={XLOOKUP("Reload", A2:A4, B2:D4,"Missing")} returns the array {"Missing","Missing","Missing"}.

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.XLOOKUP