WRAPCOLS

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

Icono de nota

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


Sintaxis

=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.

Icono de nota

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


Ejemplos

Considere la matriz A1:A15 de más abajo.

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

#N/D

EEE

KKK

#N/D

FFF

LLL

#N/D


Información técnica

Icono de consejo

Esta función está disponible desde la versión 25.8 de LibreOffice.


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.WRAPCOLS

¡Necesitamos su ayuda!

¡Necesitamos su ayuda!