GRyGe‖

774mk‖TOCOL

xQCwR‖Transforms an array or range into a single column.

note

iZ2w7‖Enter the formula as an array formula. Hint: enter formula using keys Ctrl + Shift + Enter.


ebLBc‖Syntax

h3Kr2‖TOCOL(Array [; Ignore [; By_column]])

DzGBX‖Array: the array or range to return as a single column.

FCSvz‖Ignore: (optional) Whether to ignore certain types of values. By default, no values are ignored. Specify one of the following:

GDiV2‖0: Keep all values (default)

ySDuV‖1: Ignore blank cells

qsJVZ‖2: Ignore cells with errors

pEBgh‖3: Ignore both blank cells and error cells

U9F33‖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.

note

s37P8‖Any of the optional arguments can be omitted. An optional argument requires all preceding separators to be present.


GAZG2‖Examples

KAvDE‖Consider the array A1:E3 below:

 

A

B

C

D

E

1

AAA

BBB

CCC

DDD

EEE

2

FFF

 

 

III

JJJ

3

KKK

LLL

MMM

NNN

OOO


ffBcv‖The formula {=TOCOL(A1:E3)} returns the column

AAA

BBB

CCC

DDD

EEE

FFF

 

 

III

JJJ

KKK

LLL

MMM

NNN

OOO


4Mfz9‖The formula =TOCOL(A1:E3;1) returns the column below without the blank cells.

AAA

BBB

CCC

DDD

EEE

FFF

III

JJJ

KKK

LLL

MMM

NNN

OOO


RfRPP‖The formula =TOCOL(A1:E3;1;TRUE()) returns the column below without the blank cells, scanned by columns.

AAA

FFF

KKK

BBB

LLL

CCC

MMM

DDD

III

NNN

EEE

JJJ

OOO


XAFa7‖Technical information

tip

QgTYx‖This function is available since LibreOfficeDev 25.8.


2C7vt‖This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.TOCOL