# TOCOL

## Content

This function returns the array in a single column.

## Syntax

`=TOCOL(array, [ignore], [scan\_by\_column])`

## Arguments

The function has the following arguments:

| Argument | Description |
| -------- | ----------- |
| *array* | The array or reference to return as a column. |
| *ignore* | [Optional] Whether to ignore certain types of values. By default, no values are ignored. Specify one of the following:<ul><li>**0**    Keep all values (default)</li><li>**1**    Ignore blanks</li><li>**2**    Ignore errors</li><li>**3**    Ignore blanks and errors</li></ul> |
| *scan\_by\_column* | [Optional] Scan the array by column. By default, the array is scanned by row. Scanning determines whether the values are ordered by row or by column. |

## Data Types

<span style="color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: -0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">The function returns an array, the type of each value in the array depends on the parameter.</span>

## Examples

![image.png](https://gcdocumentsitekrblob.blob.core.windows.net/document-site-files/images/8d606653-16a0-474d-b9dc-e2b4d01c2446/image.fc4992.png)