=WRAPCOLS(vector, wrap_count, [pad_with])
=WRAPCOLS(C2:J2,4)
This formula wraps the range C2:J2 into columns that each contain the value 4. This means that the values of each cell in the range C2:J2 will be split into four columns, and each column will contain the same value as the original cells in the range.
=WRAPCOLS(B3:B14,4)
This wraps the range B3:B14 into four columns that each contain values. This means that the values of each cell in the range B3:B14 will be split into four columns, and each column will contain different values from the original cells in the range.
=WRAPCOLS(B3:B12,4,"x")
This formula wraps the range B3:B12 into columns that each contain 4 values, and pads each column with "x". This means that the values of each cell in the range B3:B12 will be split into four columns, and each column will contain four values, with any empty cells in the original range filled with the character "x".
The WRAPCOLS function divides a row or column of values into an array and returns the result. It requires three arguments: vector, wrap_count, and pad_with. WRAPCOLS will return an error if the vector is not a one-dimensional array.