11.7 Convert one-dimensional array to two-dimensional array

 

Here below is a data table:

imagepng

We want to convert the data to a 5-column & N-row table with header, in the order of horizontal arrangement first and then vertical arrangement. To achieve this, enter the formula in cell B2:

=spl("=?1.conj().group((#-1)\5)",A1:A26)

imagepng

Subtract 1 from serial number # to get the difference, and divide the difference by 5 to get the quotient. Grouping by this quotient can put every 5 numbers in a group.


esProc Desktop and Excel Processing
11.6 Put every N members in a group
11.8 Take adjacent data as grouping criteria