FLATTEN
Collapses one or more ranges into a single column.
- Excel: No equivalent
- Google Sheets: Not checked yet
- Returns: Array
Examples
=FLATTEN(A1:B2) | A | B | |
|---|---|---|
| 1 | 10 | 2 |
| 2 | 20 | 4 |
Result 10
Syntax
FLATTEN(range) range- range required
Related
ARRAY_CONSTRAINTruncates a range to at most the given rows and columns. ARRAYFORMULAEvaluates an expression across a range (this engine already spills, so it is a pass-through for sheets compatibility). ARRAYTOTEXTConverts array to text representation. BYCOLApplies lambda to each column of array. BYROWApplies lambda to each row of array. CHOOSECOLSReturns the specified columns from an array.