Vous êtes sur le site Web historique de la documentation de 4D. Les documentations sont progressivement déplacées vers developer.4d.com

Accueil

 
4D v19
LOOKUP

LOOKUP 


 

LOOKUP ( toFind , intervalToSearch , returnInterval ) 
Paramètre Type   Description
toFind  RefCell, Texte, Numérique, Booléen in Value to find
intervalToSearch  RefCell in Cell range to search
returnInterval  RefCell in Cell range to find corresponding value

The LOOKUP function searches for the value toFind in the intervalToSearch cell range and returns the corresponding value used in the returnInterval range.

toFind must contain the reference of a cell that actually contains the value to find.

intervalToSearch must be sorted in ascending order since LOOKUP uses the first value higher or equal to the value set as toFind.

If toFind cannot be found, it matches the largest value in intervalToSearch that is less than or equal to toFind.

Exemple  

"3", located in the A8 cell, is the value to find. B1:B6 is the interval to search. C1:C6 is the return interval. The B3 cell contains the value to find. The corresponding value in the return interval is in the C3 cell, that is, "697".



Voir aussi  

FINDCELL
LOOKUP

 
PROPRIÉTÉS 

Produit : 4D
Thème : Formules 4D View Pro
Nom intl. : LOOKUP

 
PAGE CONTENTS 
 
HISTORIQUE 

 
UTILISATION DE L'ARTICLE

4D View Pro ( 4D v19)