LibreOffice SymbolLibreOffice Symbol

Støtt oss!

MAP

Resulterer i ei matrise der kvar celle vert rekna ut ved å bruka ein formel på dei tilsvarande cellene i éi eller fleire inndatamatriser.

Merknadsikon

Skriv inn formelen som ein matriseformel. Tips: skriv inn formelen med tastane Ctrl + Shift + Enter.


Syntaks

=MAP(Matrise1[; Matrise2[;…]; Formel)

Matrise1 [; Matrise2 [;...]: Matrisene som gjev argumenta til formelen.

Formula: An expression defined by a LAMBDA function or similar, which processes the data from the provided array(s). If multiple arrays are supplied, their corresponding cells are passed as arguments to the formula or function. The formula or function must accept as many parameters as there are arrays. It must be the final argument of the MAP function.

Merknadsikon

If the arrays have different dimensions, the MAP function returns an array of size M × N, where M is the maximum number of rows across all arrays, and N is the maximum number of columns. Any extra cells in the resulting array that are not processed by the formula are filled with #N/A.


Eksempel

Eksempel

Dataa nedanfor vert brukte som eksempel

 

A

B

C

1

Matematikk

Fysikk

Biologi

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 =MAP(A2:C13;LAMBDA(var;var*3)) returns an array of same dimensions where each element of the source array is multiplied by 3.

Teknisk informasjon

Tipsikon

Denne funksjonen har vore tilgjengeleg sidan LibreOfficeDev 27.2.


Denne funksjonen er IKKJE ein del av standarden Open Document Format for Office-program (OpenDocument) versjon 1.4. Del 4: Omrekna formel (OpenFormula) Format. Namnerommet er

COM.MICROSOFT.MAP