You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/arrays.md
+6-13Lines changed: 6 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Arrays
1
+
# Array formulas
2
2
3
-
Use arrays to perform an operation (or call a function) on multiple cells at a time.
3
+
Use array formulas to perform an operation (or call a function) on multiple cells at a time.
4
4
5
5
## About arrays
6
6
@@ -14,9 +14,9 @@ An array is inherently a two-dimensional object.
14
14
15
15
`1`x`1` arrays are treated as single, zero-dimensional values (**scalars**).
16
16
17
-
## Enabling the array arithmetic mode
17
+
## Array arithmetic mode
18
18
19
-
To use arrays in HyperFormula, you need to enable the **array arithmetic mode**.
19
+
To use array formulas in HyperFormula, you need to enable the **array arithmetic mode**.
20
20
21
21
You can enable the array arithmetic mode:
22
22
*[Locally](#enabling-the-array-arithmetic-mode-locally) (for an individual function or operation)
@@ -135,16 +135,9 @@ When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is enabled
135
135
136
136
When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is disabled, and you pass an array to a [scalar](#about-arrays) function, the array is reduced to 1 element (usually the array's top-left value).
137
137
138
-
When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is disabled, and you operate on a range of width`1`, the behavior depends on your formula's location:
138
+
When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is disabled, and you operate on a range of width/height equal to `1`, the behavior depends on your array formula's location:
139
139
140
-
| Your formula's location | Behavior |
140
+
| Your array formula's location | Behavior |
141
141
| :--- | :--- |
142
142
| In the same row as as one of the range's elements | Only that particular element is taken. |
143
-
| Any other cell |`#VALUE!` error |
144
-
145
-
When the [array arithmetic mode](#enabling-the-array-arithmetic-mode) is disabled, and you operate on a range of height `1`, the behavior depends on your formula's location:
146
-
147
-
| Your formula's location | Behavior |
148
-
| :--- | :--- |
149
-
| In the same column as as one of the range's elements | Only that particular element is taken. |
0 commit comments