WRAPROWS

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

note

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


Syntaks

=WRAPROWS(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

Kva som helst av dei valfrie innstillingane kan sløydast. Ei valfri innstillinga krev at alle dei føregåande skiljeteikna er til stades.


Eksempel

Consider the array A1:A15 below.

A

AAA

BBB

CCC

DDD

EEE

FFF

GGG

HHH

III

JJJ

KKK

LLL

MMM

NNN

OOO


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

AAA

BBB

CCC

DDD

EEE

FFF

GGG

HHH

III

JJJ

KKK

LLL

MMM

NNN

OOO

#N/A


Teknisk informasjon

tip

Denne funksjonen er tilgjengeleg sidan LibreOfficeDev 25.8.


Denne funksjonen er ikkje ein del av standarden Open Document Format for kontorprogram (OpenDocument) Versjon 1.3. del 4: Omrekna formel (OpenFormula)-format. Namnerommet er

COM.MICROSOFT.WRAPROWS