Ubah array menjadi satu kolom
=TOCOL(array, ignore, scan_by_column)
| Parameter | Deskripsi |
|---|---|
array |
The array to transform. |
ignore |
Setting to ignore blanks and errors. |
scan_by_column |
Scan array by column. TRUE = by column, FALSE = by row (default). |
By default, the TOCOL function transforms a two-dimensional array into a single column, working through the array one row at a time. In the example be
=TOCOL(B4:D5)
The ignore argument in TOCOL can be set to ignore blanks and/or errors like this:
=TOCOL(array) // default
=TOCOL(array,1) // ignore blanks
=TOCOL(array,2) // ignore errors
=TOCOL(array,3) // ignore blanks and errors
By default, TOCOL will read values "by row" from left to right. To read values instead by column, set scan_by_column to TRUE or 1. The worksheet below
=TOCOL(B4:D5,,TRUE)