BYCOL

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

Notitiepictogram

Voer de formule in als een matrixformule. Tip: voer de formule in met de toetsen Ctrl+Shift+Enter.


Syntaxis

=BYCOL(Array; Lambda)

Array: the source array.

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

Voorbeelden

Voorbeeld

De volgende gegevens zullen als voorbeeld worden gebruikt

 

A

B

C

1

Wiskunde

Natuurkunde

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 =BYCOL(A2:C13;LAMBDA(class;AVERAGE(class))) return the array

41.9090909090909

59.7

44.7


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

Technische informatie

Tippictogram

This function is available since LibreOfficeDev 27.2.


Deze functie maakt GEEN deel uit van de standaard Open Document Format for Office Applications (OpenDocument) Versie 1.3. Deel 4: Herberekende formule (OpenFormula)-indeling. De naamruimte is

COM.MICROSOFT.BYCOL

Help ons, alstublieft!

Help ons, alstublieft!