BYROW

Applies a lambda function to each row of an array. Returns a single-column array of the same number of rows of the source array.

Icône Remarque

Entrez la formule sous forme de formule matricielle. Astuce : entrez la formule à l'aide des touches Ctrl + Maj + Entrée.


Syntaxe

=BYROW(Array; Lambda)

Array: the source array.

Lambda: A function (LAMBDA or other) that will be called on each row of the array.

Exemples

Exemple

Les données suivantes vont être utilisées comme exemple

 

A

B

C

1

Mathématiques

Physique

Biologie

2

47

67

33

3

36

68

42

4

40

65

44

5

39

64

60

6

 

38

43

7

47

84

62

8

29

80

51

9

27

49

40

10

57

49

12

11

56

33

60

12

57

 

 

13

26

 

 


The formula =BYROW(A2:C13;LAMBDA(student;MAX(student))) return the array

67

68

65

64

43

84

80

49

57

60

57

26


The same results can be obtained using the formula =BYROW(A2:C13;MAX).

Informations techniques

Icône Astuce

This function is available since LibreOfficeDev 27.2.


Cette fonction ne fait PAS partie de la norme Open Document Format for Office Applications (OpenDocument) Version 1.3. Partie 4 : format de formule recalculée (OpenFormula). L'espace de noms est

COM.MICROSOFT.BYROW

Aidez-nous !

Aidez-nous !