• Home
  • WRAPCOLS Function

WRAPCOLS Function

The WRAPCOLS function is one of the lookup and reference functions. It is used to wrap a row or column vector by columns after a specified number of values.

Syntax

WRAPCOLS(vector, wrap_count, [pad_with])

The WRAPCOLS function has the following arguments:

ArgumentDescription
vectorIs used to set the vector or reference to wrap.
wrap_countIs used to set the maximum number of values for each column.
pad_withIs used to set the value with which to pad. Defaults to #N/A.
Notes

Please note that this is an array formula. To learn more, please read the Insert array formulas article.

How to apply the WRAPCOLS function.

Examples

The figure below displays the result returned by the WRAPCOLS function. It wraps the row in range A1:F1 to an array in range A3:C5 by columns.

WRAPCOLS Function

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags