WRAPCOLS

Converts a single row or column into multiple columns (a 2-dimensional array) by specifying the number of values in each column.

note

Geben Sie die Formel als Matrixformel ein. Hinweis: Schließen Sie die Formel mit [Umschalt+Strg+Eingabetaste] ab.


Syntax

=WRAPCOLS(Range; Wrap_count [; Pad_with])

Range: the range to wrap.

Wrap_count: the maximum number of values in each column.

Pad_with: (optional) a specified value to pad if there are insufficient number of values. By default, it returns #N/A to fill in the cells.

note

Alle optionalen Argumente können weggelassen werden. Ein optionales Argument erfordert, dass alle vorangehenden Trennzeichen vorhanden sind.


Beispiele

Consider the array A1:A15 below.

A

AAA

BBB

CCC

DDD

EEE

FFF

GGG

HHH

III

JJJ

KKK

LLL

MMM

NNN

OOO


The formula {=WRAPCOLS(A1:A15;6)} returns the array below. The missing values are replaced by #N/A.

AAA

GGG

MMM

BBB

HHH

NNN

CCC

III

OOO

DDD

JJJ

#NV

EEE

KKK

#NV

FFF

LLL

#NV


Technische Information

tip

Diese Funktion ist seit LibreOfficeDev 25.8 verfügbar.


Diese Funktion ist NICHT Bestandteil des Standards Open Document-Format für Office-Anwendungen (OpenDocument) Version 1.3. Teil 4: Format für neu berechnete Formeln (OpenFormula). Der Namensraum ist

COM.MICROSOFT.WRAPCOLS