Skip to main content

TOCOL function

The TOCOL function is one of the lookup and reference functions. It is used to return the array as one column.

Syntax​

TOCOL (array, [ignore], [scan_by_column])

The TOCOL function has the following arguments:

ArgumentDescription
arrayThe array or reference to return as a column.
ignoreIs used to set whether to ignore certain types of values. Defaults to ignoring no values. The following values are used: 0 to keep all values (default); 1 to ignore blanks; 2 to ignore errors; 3 to ignore blanks and errors.
scan_by_columnIs used to scan the array by column. By default, array scanning is conducted by row. Scanning determines whether the values are arranged in rows or columns. A logical value (TRUE or FALSE).

Notes​

If scan_by_column is omitted or FALSE, the array is scanned by row. If it is TRUE, the array is scanned by column.

Please note that this is an array formula. To learn more, please read the Insert array formulas article.

How to apply the TOCOL function.

Examples​

The figure below displays the result returned by the TOCOL function.

TOCOL Function